Bagikan melalui


Metode ICustomAction2ResultCallback::ReportResult

Mengembalikan hasil RegisterCustomAction operasi atau UnregisterCustomAction yang diminta oleh antarmuka IPmCustomActions2 .

Sintaks

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

Parameter

hrStatus
Yang HRESULT berisi status operasi Status dan Kontrol Run-Time.

pbResponse
Penunjuk ke BYTE buffer yang menerima hasil operasi Status dan Kontrol Run-Time.

cbResponse
Penunjuk ke DWORD buffer yang menerima ukuran data yang diacu oleh pbResponse.

Tampilkan Nilai

Sebuah HRESULT. Nilai yang mungkin termasuk, tetapi tidak terbatas pada, yang ada dalam tabel berikut.

Nilai Deskripsi
S_OK Menunjukkan bahwa operasi berhasil.

Persyaratan

Jenis Deskripsi
Klien - IIS 7.0 di Windows Vista
- IIS 7.5 di Windows 7
- IIS 8.0 di Windows 8
- IIS 10.0 pada Windows 10
Server - IIS 7.0 di Windows Server 2008
- IIS 7.5 di Windows Server 2008 R2
- IIS 8.0 di Windows Server 2012
- IIS 8.5 di Windows Server 2012 R2
- IIS 10.0 di Windows Server 2016
Produk - 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
Header Wpframework.h

Lihat juga

Antarmuka ICustomAction2ResultCallback