WsFreeMessage function
Releases the memory resource associated with a Message object.
Syntax
void WINAPI WsFreeMessage(
_In_ WS_MESSAGE* message
);
Parameters
- message [in]
-
A pointer to the Message object to release. The pointer must reference a valid WS_MESSAGE object returned by WsCreateMessage or WsCreateMessageForChannel and the referenced value may not be NULL.
Return value
This function does not return a value.
Security
A message should not be freed while it is involved in I/O operations. This can lead to memory corruption or an access violation.
Requirements
|
Minimum supported client | Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server | Windows Server 2008 R2 [desktop apps | Windows Store apps] |
|
Header |
|
|
Library |
|
|
DLL |
|
Community Additions
ADD
Show: