Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
The PeerCollabParseContact function parses a Unicode string buffer containing contact XML data into a PEER_CONTACT data structure.
Syntax
NOT_BUILD_WINDOWS_DEPRECATE HRESULT PeerCollabParseContact(
[in] PCWSTR pwzContactData,
[out] PPEER_CONTACT *ppContact
);
Parameters
[in] pwzContactData
Pointer to zero-terminated Unicode string buffer that contains XML contact data as returned by functions like PeerCollabQueryContactData or PeerCollabExportContact.
[out] ppContact
Pointer to the address of a PEER_CONTACT structure that contain the peer contact information parsed from pwzContactData. Free the memory allocated by calling PeerFreeData.
Return value
Returns S_OK if the function succeeds. Otherwise, the function returns one of the following values.
| Return code | Description |
|---|---|
|
There is not enough memory to support this operation. |
|
One of the arguments is invalid. |
|
The Windows Peer infrastructure is not initialized. Calling the relevant initialization function is required. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | None supported |
| Target Platform | Windows |
| Header | p2p.h |
| Library | P2P.lib |
| DLL | P2P.dll |