Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

WebServices.h

Library

WebServices.lib

DLL

WebServices.dll

 

 

Community Additions

Show:
© 2017 Microsoft