PeerDistClientCompleteContentInformation function

The PeerDistClientCompleteContentInformation function completes the process of adding the content information.

Syntax


DWORD WINAPI PeerDistClientCompleteContentInformation(
  _In_  PEERDIST_INSTANCE_HANDLE hPeerDist,
  _In_  PEERDIST_CONTENT_HANDLE hContentHandle,
  _In_  LPOVERLAPPED lpOverlapped
);

Parameters

hPeerDist [in]

A PEERDIST_INSTANCE_HANDLE returned by PeerDistStartup.

hContentHandle [in]

A PEERDIST_CONTENT_HANDLE returned by PeerDistClientOpenContent.

lpOverlapped [in]

Pointer to an OVERLAPPED structure.

Return value

If the function succeeds, the return value is ERROR_IO_PENDING. Otherwise, the function may return one of the following values:

Return codeDescription
ERROR_INVALID_PARAMETER

One or more parameters are invalid.

ERROR_INVALID_HANDLE

The hPeerDist handle is invalid.

ERROR_ACCESS_DISABLED_BY_POLICY

The feature is disabled by Group Policy.

PEERDIST_ERROR_SERVICE_UNAVAILABLE

The service is unavailable.

 

Remarks

Upon completion of this function, a client can call PeerDistClientStreamRead or PeerDistClientBlockRead to retrieve the data from the Peer Distribution system.

Requirements

Minimum supported client

Windows 7 Professional [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

PeerDist.h

Library

PeerDist.lib

DLL

PeerDist.dll

See also

PeerDistStartup
PeerDistClientOpenContent
PeerDistClientAddContentInformation

 

 

Community Additions

ADD
Show:
© 2014 Microsoft