MprInfoCreate function (mprapi.h)
The MprInfoCreate function creates a new information header.
Syntax
DWORD MprInfoCreate(
[in] DWORD dwVersion,
[out] LPVOID *lplpNewHeader
);
Parameters
[in] dwVersion
Specifies the version of the information header structure to be created. The only value currently supported is RTR_INFO_BLOCK_VERSION, as declared in Mprapi.h.
[out] lplpNewHeader
Pointer to the allocated and initialized 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 |