CloseClusterNetwork function

Closes a network handle. The PCLUSAPI_CLOSE_CLUSTER_NETWORK type defines a pointer to this function.

Syntax


BOOL WINAPI CloseClusterNetwork(
  _In_ HNETWORK hNetwork
);

typedef BOOL (WINAPI *PCLUSAPI_CLOSE_CLUSTER_NETWORK)(
    _In_ HNETWORK hNetwork
);

Parameters

hNetwork [in]

Handle to the network to close.

Return value

TRUE

The operation was successful.

FALSE

The operation was not successful; call the function GetLastError for more information.

Examples

See Using Object Handles.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 Enterprise, Windows Server 2008 Datacenter

Header

ClusAPI.h

Library

ClusAPI.lib

DLL

ClusAPI.dll

See also

OpenClusterNetwork

 

 

Show: