PeerPnrpEndResolve function (p2p.h)
The PeerPnrpEndResolve function closes the handle for an asynchronous PNRP resolution operation initiated with a previous call to PeerPnrpStartResolve.
Syntax
NOT_BUILD_WINDOWS_DEPRECATE HRESULT PeerPnrpEndResolve(
[in] HRESOLUTION hResolve
);
Parameters
[in] hResolve
The handle to the asynchronous peer name resolution operation returned by a previous call to PeerPnrpStartResolve.
Return value
If the function call succeeds, the return value is S_OK. Otherwise, it returns one of the following values.
Return code | Description |
---|---|
|
One of the parameters is not valid. |
|
There is not enough memory to perform the specified operation. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP with SP2 [desktop apps only],Windows XP with SP1 with the Advanced Networking Pack for Windows XP |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | p2p.h |
Library | P2P.lib |
DLL | P2P.dll |