擷取HDIAGNOSTIC_REPORT_DATA句柄所指向之資源中的錯誤報告數目(大小)。
語法
HRESULT DdqGetDiagnosticReportCount(
HDIAGNOSTIC_REPORT hReport,
UINT32 *reportCount
);
參數
hReport
類型:包含錯誤報告集之資源的 HANDLE 控制碼。
reportCount
類型: UINT32* 錯誤報告數目的指標。
返回值
類型: HRESULT 成功完成時傳回S_OK。
需求
| Requirement | 價值觀 |
|---|---|
| 最低支援的用戶端 | Windows 10 版本 2004 (10.0;內部版本 19041) |
| 支援的最低伺服器 | Windows Server 2004 版 (10.0;內部版本 19041) |
| Header | diagnosticdataquery.h |
| Library | DiagnosticDataQuery.Lib |