MprInfoDuplicate function (mprapi.h)

The MprInfoDuplicate function duplicates an existing information header.

Syntax

DWORD MprInfoDuplicate(
  LPVOID lpHeader,
  LPVOID *lplpNewHeader
);

Parameters

lpHeader

Pointer to the information header to duplicate.

lplpNewHeader

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

Return value

If the function succeeds, the return value is NO_ERROR.

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

Value Description
ERROR_INVALID_PARAMETER
The lplpNewHeader parameter 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 that corresponds to the returned error code.
 
 

Requirements

   
Minimum supported client None supported
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header mprapi.h
Library Mprapi.lib
DLL Mprapi.dll

See also

FormatMessage

MprInfo Functions and Information Headers

MprInfoCreate