MprInfoDelete function (mprapi.h)

The MprInfoDelete function deletes an information header created using MprInfoCreate, or retrieved by MprInfoBlockAdd, MprInfoBlockRemove, or MprInfoBlockSet.

Syntax

DWORD MprInfoDelete(
  [in] LPVOID lpHeader
);

Parameters

[in] lpHeader

Pointer to the header to be deallocated.

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 lpHeader parameter is NULL.
Other
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

See also

FormatMessage

MprInfoBlockAdd

MprInfoBlockRemove

MprInfoBlockSet