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 PeerDistServerCloseContentInformation function closes the handle opened by PeerDistServerOpenContentInformation.
Syntax
DWORD PeerDistServerCloseContentInformation(
[in] PEERDIST_INSTANCE_HANDLE hPeerDist,
[in] PEERDIST_CONTENTINFO_HANDLE hContentInfo
);
Parameters
[in] hPeerDist
The PEERDIST_INSTANCE_HANDLE returned by PeerDistStartup.
[in] hContentInfo
The handle returned by PeerDistServerOpenContentInformation.
Return value
If the function succeeds, the return value is ERROR_SUCCESS. Otherwise, the function may return one of the following values:
| Return code | Description |
|---|---|
|
The provided hPeerDist or hContentInfo handles are invalid. |
|
The feature is disabled by Group Policy. |
Remarks
The PeerDistServerCloseContentInformation closes the PEERDIST_CONTENTINFO_HANDLE. Additionally, calling PeerDistServerCloseContentInformation will cancel any pending operations associated with the PEERDIST_CONTENTINFO_HANDLE.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 7 Professional [desktop apps only] |
| Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
| Target Platform | Windows |
| Header | peerdist.h |
| Library | PeerDist.lib |
| DLL | PeerDist.dll |