Funzione OpenClusterNetInterface (clusapi.h)
Apre un handle a un'interfaccia di rete. Il tipo PCLUSAPI_OPEN_CLUSTER_NET_INTERFACE definisce un puntatore a questa funzione.
Sintassi
HNETINTERFACE OpenClusterNetInterface(
[in] HCLUSTER hCluster,
[in] LPCWSTR lpszInterfaceName
);
Parametri
[in] hCluster
Gestire in un cluster.
[in] lpszInterfaceName
Puntatore a una stringa Unicode con terminazione Null contenente il nome dell'interfaccia di rete da aprire.
Valore restituito
Se l'operazione ha avuto esito positivo, OpenClusterNetInterface restituisce un handle aperto all'interfaccia di rete specificata.
Codice restituito | Descrizione |
---|---|
|
L'operazione non è riuscita. Per altre informazioni sull'errore, chiamare la funzione GetLastError. |
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 |