PeerFreeData function (p2p.h)

The PeerFreeData function deallocates a block of data and returns it to the memory pool. Use the PeerFreeData function to free data that the Peer Identity Manager, Peer Grouping, and Peer Collaboration APIs return.

Syntax

NOT_BUILD_WINDOWS_DEPRECATE VOID PeerFreeData(
  [in] LPCVOID pvData
);

Parameters

[in] pvData

Pointer to a block of data to be deallocated. This parameter must reference a valid block of memory.

Return value

There are no return values.

Remarks

Do not use this function to release memory that the Peer Graphing API returns. Use PeerGraphFreeData for memory that the Peer Graphing API returns.

Requirements

Requirement Value
Minimum supported client Windows XP with SP2 [desktop apps only],Windows XP with SP1 with the Advanced Networking Pack forWindows XP
Minimum supported server None supported
Target Platform Windows
Header p2p.h
Library P2P.lib
DLL P2P.dll

See also

Grouping API Functions

Identity Manager Functions