MprInfoDuplicate function (mprapi.h)
The MprInfoDuplicate function duplicates an existing information header.
Syntax
DWORD MprInfoDuplicate(
[in] LPVOID lpHeader,
[out] LPVOID *lplpNewHeader
);
Parameters
[in] lpHeader
Pointer to the information header to duplicate.
[out] 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 |
---|---|
|
The lplpNewHeader parameter is NULL. |
|
The requested memory allocation could not be completed. |
|
The call failed. Use FormatMessage to retrieve the error message that corresponds to the returned error code. |
Requirements
Requirement | Value |
---|---|
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 |