Funzione OpenClusterNetwork (clusapi.h)
Apre una connessione a una rete e restituisce un handle. Il tipo PCLUSAPI_OPEN_CLUSTER_NETWORK definisce un puntatore a questa funzione.
Sintassi
HNETWORK OpenClusterNetwork(
[in] HCLUSTER hCluster,
[in] LPCWSTR lpszNetworkName
);
Parametri
[in] hCluster
Gestire in un cluster.
[in] lpszNetworkName
Puntatore al nome di una rete esistente.
Valore restituito
Codice restituito | Descrizione |
---|---|
|
L'operazione non ha avuto esito positivo. Per altre informazioni sull'errore, chiamare la funzione GetLastError. |
Se l'operazione ha esito positivo, OpenClusterNetwork restituisce un handle di rete.
Requisiti
Requisito | Valore |
---|---|
Client minimo supportato | Nessuno supportato |
Server minimo supportato | Windows Server 2008 Enterprise, Windows Server 2008 Datacenter |
Piattaforma di destinazione | Windows |
Intestazione | clusapi.h |
Libreria | ClusAPI.lib |
DLL | ClusAPI.dll |