MprInfoDelete

[This is preliminary documentation and subject to change.]

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

DWORD MprInfoDelete(
  LPVOID lpInfoBlock    // pointer to header to delete
);
 

Parameters

lpInfoBlock
Pointer to the header to be deallocated.

Return Values

If the function succeeds, the return value is NO_ERROR.

If the function fails the return value will be one of the following values.

Value Description
ERROR_INVALID_PARAMETER The lpInfoBlock is NULL.
Other The call failed. Use FormatMessage to retrieve the error message corresponding to the returned error code.

See Also

MprInfoBlockAdd, MprInfoBlockRemove, MprInfoBlockSet, FormatMessage