Export (0) Print
Expand All

PeerDistClientGetInformationByHandle function

The PeerDistClientGetInformationByHandle function retrieves additional information from the Peer Distribution service for a specific content handle.

Syntax


DWORD WINAPI PeerDistClientGetInformationByHandle(
  _In_   PEERDIST_INSTANCE_HANDLE hPeerDist,
  _In_   PEERDIST_CONTENT_HANDLE hContentHandle,
  _In_   PEERDIST_CLIENT_INFO_BY_HANDLE_CLASS PeerDistClientInfoClass,
  DWORD dwBufferSize,
  _Out_  LPVOID lpInformation
);

Parameters

hPeerDist [in]

A PEERDIST_INSTANCE_HANDLE returned by the PeerDistStartup function.

hContentHandle [in]

A PEERDIST_CONTENT_HANDLE returned by the PeerDistClientOpenContent function.

PeerDistClientInfoClass [in]

A value from the PEERDIST_CLIENT_INFO_BY_HANDLE_CLASS enumeration that indicates the information to retrieve.

dwBufferSize

The size, in bytes, of the buffer for the lpInformation parameter.

lpInformation [out]

A buffer for the returned information. The format of this information depends on the value of the PeerDistClientInfoClass parameter.

Return value

If the function succeeds, the return value is ERROR_SUCCESS.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Peerdist.h

Library

PeerDist.lib

DLL

PeerDist.dll

See also

PEERDIST_CLIENT_INFO_BY_HANDLE_CLASS
PeerDistClientOpenContent
PeerDistStartup

 

 

Community Additions

ADD
Show:
© 2014 Microsoft