Función PeerDistClientCompleteContentInformation (peerdist.h)

La función PeerDistClientCompleteContentInformation completa el proceso de agregar la información de contenido.

Sintaxis

DWORD PeerDistClientCompleteContentInformation(
  [in] PEERDIST_INSTANCE_HANDLE hPeerDist,
  [in] PEERDIST_CONTENT_HANDLE  hContentHandle,
  [in] LPOVERLAPPED             lpOverlapped
);

Parámetros

[in] hPeerDist

Una PEERDIST_INSTANCE_HANDLE devuelta por PeerDistStartup.

[in] hContentHandle

Un PEERDIST_CONTENT_HANDLE devuelto por PeerDistClientOpenContent.

[in] lpOverlapped

Puntero a una estructura SUPERPUESTA .

Valor devuelto

Si la función se ejecuta correctamente, el valor devuelto es ERROR_IO_PENDING. De lo contrario, es posible que la función devuelva uno de los siguientes valores:

Código devuelto Descripción
ERROR_INVALID_PARAMETER
Uno o varios parámetros no son válidos.
ERROR_INVALID_HANDLE
El identificador hPeerDist no es válido.
ERROR_ACCESS_DISABLED_BY_POLICY
La característica está deshabilitada por directiva de grupo.
PEERDIST_ERROR_SERVICE_UNAVAILABLE
El servicio no está disponible.

Comentarios

Al finalizar esta función, un cliente puede llamar a PeerDistClientStreamRead o PeerDistClientBlockRead para recuperar los datos del sistema de distribución del mismo nivel.

Requisitos

Requisito Value
Cliente mínimo compatible Windows 7 Professional [solo aplicaciones de escritorio]
Servidor mínimo compatible Windows Server 2008 R2 [solo aplicaciones de escritorio]
Plataforma de destino Windows
Encabezado peerdist.h
Library PeerDist.lib
Archivo DLL PeerDist.dll

Consulte también

PeerDistClientAddContentInformation

PeerDistClientOpenContent

PeerDistStartup