Condividi tramite


Metodo ICustomAction2ResultCallback::ReportResult

Restituisce i risultati di un'operazione RegisterCustomAction o UnregisterCustomAction richiesta dall'interfaccia IPmCustomActions2 .

Sintassi

virtual HRESULT ReportResult(  
   IN HRESULT hrStatus,  
   IN PBYTE pbResponse,  
   IN DWORD cbResponse  
) = 0;  

Parametri

hrStatus
Oggetto HRESULT contenente lo stato dell'operazione di Run-Time stato e controllo.

pbResponse
Puntatore a un BYTE buffer che riceve i risultati dell'operazione di Run-Time Stato e controllo.

cbResponse
Puntatore a un DWORD buffer che riceve le dimensioni dei dati a pbResponsecui punta .

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 è riuscita.

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 ICustomAction2ResultCallback