Metodo ICustomActionResultCallback::ReportResult
Restituisce i risultati di un'operazione stato e controllo Run-Time richiesta dal metodo IPmCustomActions::RunCustomAction .
Sintassi
virtual HRESULT ReportResult(
IN HRESULT hrStatus,
IN PBYTE pbResponse,
IN DWORD cbResponse
) = 0;
Parametri
hrStatus
Oggetto HRESULT
contenente lo stato dell'operazione stato e controllo Run-Time.
pbResponse
Puntatore a un BYTE
buffer che riceve i risultati dell'operazione stato e controllo Run-Time.
cbResponse
Puntatore a pbResponse
un DWORD
buffer che riceve le dimensioni dei dati a cui 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 ha avuto esito positivo. |
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 ICustomActionResultCallback
Metodo IPmCustomActions::RunCustomAction