MprInfoDuplicate

[This is preliminary documentation and subject to change.]

The MprInfoDuplicate function duplicates an existing information header.

DWORD MprInfoDuplicate(
  LPVOID   lpInfoBlock,       // pointer to existing info header
  LPVOID * lplpNewInfoBlock   // pointer to pointer to duplicate
); 
 

Parameters

lpInfoBlock
Pointer to the information header to duplicate.
lplpNewInfoBlock
Pointer to a pointer variable. On successful return, this variable will pointer to the new (duplicate) information header.

Return Values

If the function succeeds, the return value is NO_ERROR.

If the function fails, the return value will be one of the following values.

Value Description
ERROR_INVALID_PARAMETER The lplpNewInfoBlock is NULL.
ERROR_NOT_ENOUGH_MEMORY The requested memory allocation could not be completed.
Other The call failed. Use FormatMessage to retrieve the error message corresponding to the returned error code.

See Also

FormatMessage, MprInfoCreate