MprInfoRemoveAll function (mprapi.h)
The MprInfoRemoveAll function removes all information blocks from the specified header.
Syntax
DWORD MprInfoRemoveAll(
[in] LPVOID lpHeader,
[out] LPVOID *lplpNewHeader
);
Parameters
[in] lpHeader
Pointer to the information header from which to remove all information blocks.
[out] lplpNewHeader
Pointer to a pointer variable. On successful return, this variable points to the information header with all information blocks removed.
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 |
---|---|
|
Either the lpHeader parameter is NULL or the lplpNewHeader parameter is NULL. |
|
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 |