[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
);
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. |