Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Fetches binary name and associated estimated total upload of Diagnostic Data Events volume in bytes for top N noisiest binaries based on total estimated upload size, where N is the value passed in for topNBinaries.
Syntax
HRESULT DdqGetDiagnosticRecordBinaryDistribution(
HDIAGNOSTIC_DATA_QUERY_SESSION hSession,
PCWSTR *producerNames,
UINT32 producerNameCount,
UINT32 topNBinaries,
DIAGNOSTIC_DATA_EVENT_BINARY_STATS **binaryStats,
UINT32 *statCount
);
Parameters
hSession
Type: HANDLE A handle to the current Diagnostic Data Query session.
producerNames
Type: PCWSTR* Pointer to the set of known producers names.
producerNameCount
Type: UINT32 Number of producer names
topNBinaries
Type: UINT32 The number of noisiest records to return
binaryStats
Type: DIAGNOSTIC_DATA_EVENT_BINARY_STATS This output parameter is the pointer to the list of top N noisiest DIAGNOSTIC_DATA_EVENT_BINARY_STATS items.
statCount
Type: UINT32 The number of items in binaryStats.
Return value
Type: HRESULT Returns S_OK on successful completion.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 2004 (10.0; Build 19041) |
Minimum supported server | Windows Server, version 2004 (10.0; Build 19041) |
Header | diagnosticdataquery.h |