Metodo IProtocolManager::GetPmInterface
Recupera un'interfaccia definita da una gestione protocolli.
Sintassi
virtual HRESULT GetPmInterface(
IN PM_INTERFACE_ID_ENUM PmInterfaceId,
OUT PVOID* ppInterface
) = 0;
Parametri
PmInterfaceId
ID dell'interfaccia da restituire.
ppInterface
Puntatore a un buffer che riceverà l'interfaccia PmInterfaceId
specificata dal parametro.
Valore restituito
Oggetto HRESULT
. I valori possibili includono, ma non sono limitati a, quelli indicati nella tabella seguente.
Valore | Descrizione |
---|---|
S_OK | Indica che l'operazione ha avuto esito positivo. |
Commenti
Per selezionare l'interfaccia da recuperare, scegliere l'ID dell'interfaccia specifico dall'enumerazione PM_INTERFACE_ID_ENUM . Se una gestione protocolli espone un'interfaccia non definita da PM_INTERFACE_ID_ENUM
, usare il metodo IProtocolManager::GetCustomInterface .
Requisiti
Tipo | Descrizione |
---|---|
Client | - IIS 7.0 in Windows Vista - IIS 7.5 in Windows 7 - IIS 8.0 in Windows 8 - IIS 10.0 in Windows 10 |
Server | - IIS 7.0 in Windows Server 2008 - IIS 7.5 in Windows Server 2008 R2 - IIS 8.0 in Windows Server 2012 - IIS 8.5 in Windows Server 2012 R2 - IIS 10.0 in Windows Server 2016 |
Prodotto | - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0 - IIS Express 7,5, IIS Express 8.0, IIS Express 10.0 |
Intestazione | Wpframework.h |
Vedere anche
Interfaccia IProtocolManager
Metodo IProtocolManager::GetCustomInterface
Metodo IProtocolManager::Shutdown