EN
Данное содержимое не доступно на вашем языке, используйте версию на английском языке.

PeerDistGetStatusEx function

The PeerDistGetStatusEx function returns the current status and capabilities of the Peer Distribution service.

Syntax


DWORD WINAPI PeerDistGetStatusEx(
  _In_     PEERDIST_INSTANCE_HANDLE hPeerDist,
  _Inout_  PEERDIST_STATUS_INFO *pPeerDistStatusInfo
);

Parameters

hPeerDist [in]

A PEERDIST_INSTANCE_HANDLE returned by PeerDistStartup.

pPeerDistStatusInfo [in, out]

A pointer to a PEERDIST_STATUS_INFO structure that contains the current status and capabilities of the Peer Distribution service.

Return value

If the function succeeds, the return value is ERROR_SUCCESS.

Remarks

A Group Policy change can result in the Peer Distribution service moving to an available, unavailable, or disabled state. Depending on the resultant state of this transition, the content, content information, or stream handles the caller has access to may no longer function. If this is the case, the caller must explicitly close the handles by calling the appropriate Peer Distribution API.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

PeerDist.h

See also

PEERDIST_STATUS
PEERDIST_STATUS_INFO

 

 

Добавления сообщества

ДОБАВИТЬ
Показ:
© 2014 Microsoft