| 1 |
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqCancelDiagnosticRecordOperation(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION) -> ::windows_sys::core::HRESULT); |
| 2 |
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqCloseSession(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION) -> ::windows_sys::core::HRESULT); |
| 3 |
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqCreateSession(accesslevel : DdqAccessLevel, hsession : *mut super:: HDIAGNOSTIC_DATA_QUERY_SESSION) -> ::windows_sys::core::HRESULT); |
| 4 |
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqExtractDiagnosticReport(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, reportstoretype : u32, reportkey : ::windows_sys::core::PCWSTR, destinationpath : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); |
| 5 |
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqFreeDiagnosticRecordLocaleTags(htagdescription : super:: HDIAGNOSTIC_EVENT_TAG_DESCRIPTION) -> ::windows_sys::core::HRESULT); |
| 6 |
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqFreeDiagnosticRecordPage(hrecord : super:: HDIAGNOSTIC_RECORD) -> ::windows_sys::core::HRESULT); |
| 7 |
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqFreeDiagnosticRecordProducerCategories(hcategorydescription : super:: HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION) -> ::windows_sys::core::HRESULT); |
| 8 |
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqFreeDiagnosticRecordProducers(hproducerdescription : super:: HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION) -> ::windows_sys::core::HRESULT); |
| 9 |
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqFreeDiagnosticReport(hreport : super:: HDIAGNOSTIC_REPORT) -> ::windows_sys::core::HRESULT); |
| 10 |
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticDataAccessLevelAllowed(accesslevel : *mut DdqAccessLevel) -> ::windows_sys::core::HRESULT); |
| 11 |
#[cfg(feature = "Win32_Foundation")] |
| 12 |
::windows_targets::link!("diagnosticdataquery.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DdqGetDiagnosticRecordAtIndex(hrecord : super:: HDIAGNOSTIC_RECORD, index : u32, record : *mut DIAGNOSTIC_DATA_RECORD) -> ::windows_sys::core::HRESULT); |
| 13 |
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordBinaryDistribution(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, producernames : *const ::windows_sys::core::PCWSTR, producernamecount : u32, topnbinaries : u32, binarystats : *mut *mut DIAGNOSTIC_DATA_EVENT_BINARY_STATS, statcount : *mut u32) -> ::windows_sys::core::HRESULT); |
| 14 |
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordCategoryAtIndex(hcategorydescription : super:: HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION, index : u32, categorydescription : *mut DIAGNOSTIC_DATA_EVENT_CATEGORY_DESCRIPTION) -> ::windows_sys::core::HRESULT); |
| 15 |
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordCategoryCount(hcategorydescription : super:: HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION, categorydescriptioncount : *mut u32) -> ::windows_sys::core::HRESULT); |
| 16 |
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordCount(hrecord : super:: HDIAGNOSTIC_RECORD, recordcount : *mut u32) -> ::windows_sys::core::HRESULT); |
| 17 |
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordLocaleTagAtIndex(htagdescription : super:: HDIAGNOSTIC_EVENT_TAG_DESCRIPTION, index : u32, tagdescription : *mut DIAGNOSTIC_DATA_EVENT_TAG_DESCRIPTION) -> ::windows_sys::core::HRESULT); |
| 18 |
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordLocaleTagCount(htagdescription : super:: HDIAGNOSTIC_EVENT_TAG_DESCRIPTION, tagdescriptioncount : *mut u32) -> ::windows_sys::core::HRESULT); |
| 19 |
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordLocaleTags(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, locale : ::windows_sys::core::PCWSTR, htagdescription : *mut super:: HDIAGNOSTIC_EVENT_TAG_DESCRIPTION) -> ::windows_sys::core::HRESULT); |
| 20 |
#[cfg(feature = "Win32_Foundation")] |
| 21 |
::windows_targets::link!("diagnosticdataquery.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DdqGetDiagnosticRecordPage(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, searchcriteria : *const DIAGNOSTIC_DATA_SEARCH_CRITERIA, offset : u32, pagerecordcount : u32, baserowid : i64, hrecord : *mut super:: HDIAGNOSTIC_RECORD) -> ::windows_sys::core::HRESULT); |
| 22 |
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordPayload(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, rowid : i64, payload : *mut ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); |
| 23 |
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordProducerAtIndex(hproducerdescription : super:: HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION, index : u32, producerdescription : *mut DIAGNOSTIC_DATA_EVENT_PRODUCER_DESCRIPTION) -> ::windows_sys::core::HRESULT); |
| 24 |
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordProducerCategories(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, producername : ::windows_sys::core::PCWSTR, hcategorydescription : *mut super:: HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION) -> ::windows_sys::core::HRESULT); |
| 25 |
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordProducerCount(hproducerdescription : super:: HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION, producerdescriptioncount : *mut u32) -> ::windows_sys::core::HRESULT); |
| 26 |
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordProducers(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, hproducerdescription : *mut super:: HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION) -> ::windows_sys::core::HRESULT); |
| 27 |
#[cfg(feature = "Win32_Foundation")] |
| 28 |
::windows_targets::link!("diagnosticdataquery.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DdqGetDiagnosticRecordStats(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, searchcriteria : *const DIAGNOSTIC_DATA_SEARCH_CRITERIA, recordcount : *mut u32, minrowid : *mut i64, maxrowid : *mut i64) -> ::windows_sys::core::HRESULT); |
| 29 |
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordSummary(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, producernames : *const ::windows_sys::core::PCWSTR, producernamecount : u32, generalstats : *mut DIAGNOSTIC_DATA_GENERAL_STATS) -> ::windows_sys::core::HRESULT); |
| 30 |
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordTagDistribution(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, producernames : *const ::windows_sys::core::PCWSTR, producernamecount : u32, tagstats : *mut *mut DIAGNOSTIC_DATA_EVENT_TAG_STATS, statcount : *mut u32) -> ::windows_sys::core::HRESULT); |
| 31 |
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticReport(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, reportstoretype : u32, hreport : *mut super:: HDIAGNOSTIC_REPORT) -> ::windows_sys::core::HRESULT); |
| 32 |
#[cfg(feature = "Win32_Foundation")] |
| 33 |
::windows_targets::link!("diagnosticdataquery.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DdqGetDiagnosticReportAtIndex(hreport : super:: HDIAGNOSTIC_REPORT, index : u32, report : *mut DIAGNOSTIC_REPORT_DATA) -> ::windows_sys::core::HRESULT); |
| 34 |
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticReportCount(hreport : super:: HDIAGNOSTIC_REPORT, reportcount : *mut u32) -> ::windows_sys::core::HRESULT); |
| 35 |
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticReportStoreReportCount(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, reportstoretype : u32, reportcount : *mut u32) -> ::windows_sys::core::HRESULT); |
| 36 |
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetSessionAccessLevel(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, accesslevel : *mut DdqAccessLevel) -> ::windows_sys::core::HRESULT); |
| 37 |
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetTranscriptConfiguration(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, currentconfig : *mut DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION) -> ::windows_sys::core::HRESULT); |
| 38 |
#[cfg(feature = "Win32_Foundation")] |
| 39 |
::windows_targets::link!("diagnosticdataquery.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DdqIsDiagnosticRecordSampledIn(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, providergroup : *const ::windows_sys::core::GUID, providerid : *const ::windows_sys::core::GUID, providername : ::windows_sys::core::PCWSTR, eventid : *const u32, eventname : ::windows_sys::core::PCWSTR, eventversion : *const u32, eventkeywords : *const u64, issampledin : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); |
| 40 |
::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqSetTranscriptConfiguration(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, desiredconfig : *const DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION) -> ::windows_sys::core::HRESULT); |
| 41 |
pub const AllUserData: DdqAccessLevel = 2i32; |
| 42 |
pub const CurrentUserData: DdqAccessLevel = 1i32; |
| 43 |
pub const NoData: DdqAccessLevel = 0i32; |
| 44 |
pub type DdqAccessLevel = i32; |
| 45 |
#[repr(C)] |
| 46 |
pub struct DIAGNOSTIC_DATA_EVENT_BINARY_STATS { |
| 47 |
pub moduleName: ::windows_sys::core::PWSTR, |
| 48 |
pub friendlyModuleName: ::windows_sys::core::PWSTR, |
| 49 |
pub eventCount: u32, |
| 50 |
pub uploadSizeBytes: u64, |
| 51 |
} |
| 52 |
impl ::core::marker::Copy for DIAGNOSTIC_DATA_EVENT_BINARY_STATS {} |
| 53 |
impl ::core::clone::Clone for DIAGNOSTIC_DATA_EVENT_BINARY_STATS { |
| 54 |
fn clone(&self) -> Self { |
| 55 |
*self |
| 56 |
} |
| 57 |
} |
| 58 |
#[repr(C)] |
| 59 |
pub struct DIAGNOSTIC_DATA_EVENT_CATEGORY_DESCRIPTION { |
| 60 |
pub id: i32, |
| 61 |
pub name: ::windows_sys::core::PWSTR, |
| 62 |
} |
| 63 |
impl ::core::marker::Copy for DIAGNOSTIC_DATA_EVENT_CATEGORY_DESCRIPTION {} |
| 64 |
impl ::core::clone::Clone for DIAGNOSTIC_DATA_EVENT_CATEGORY_DESCRIPTION { |
| 65 |
fn clone(&self) -> Self { |
| 66 |
*self |
| 67 |
} |
| 68 |
} |
| 69 |
#[repr(C)] |
| 70 |
pub struct DIAGNOSTIC_DATA_EVENT_PRODUCER_DESCRIPTION { |
| 71 |
pub name: ::windows_sys::core::PWSTR, |
| 72 |
} |
| 73 |
impl ::core::marker::Copy for DIAGNOSTIC_DATA_EVENT_PRODUCER_DESCRIPTION {} |
| 74 |
impl ::core::clone::Clone for DIAGNOSTIC_DATA_EVENT_PRODUCER_DESCRIPTION { |
| 75 |
fn clone(&self) -> Self { |
| 76 |
*self |
| 77 |
} |
| 78 |
} |
| 79 |
#[repr(C)] |
| 80 |
pub struct DIAGNOSTIC_DATA_EVENT_TAG_DESCRIPTION { |
| 81 |
pub privacyTag: i32, |
| 82 |
pub name: ::windows_sys::core::PWSTR, |
| 83 |
pub description: ::windows_sys::core::PWSTR, |
| 84 |
} |
| 85 |
impl ::core::marker::Copy for DIAGNOSTIC_DATA_EVENT_TAG_DESCRIPTION {} |
| 86 |
impl ::core::clone::Clone for DIAGNOSTIC_DATA_EVENT_TAG_DESCRIPTION { |
| 87 |
fn clone(&self) -> Self { |
| 88 |
*self |
| 89 |
} |
| 90 |
} |
| 91 |
#[repr(C)] |
| 92 |
pub struct DIAGNOSTIC_DATA_EVENT_TAG_STATS { |
| 93 |
pub privacyTag: i32, |
| 94 |
pub eventCount: u32, |
| 95 |
} |
| 96 |
impl ::core::marker::Copy for DIAGNOSTIC_DATA_EVENT_TAG_STATS {} |
| 97 |
impl ::core::clone::Clone for DIAGNOSTIC_DATA_EVENT_TAG_STATS { |
| 98 |
fn clone(&self) -> Self { |
| 99 |
*self |
| 100 |
} |
| 101 |
} |
| 102 |
#[repr(C)] |
| 103 |
pub struct DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION { |
| 104 |
pub hoursOfHistoryToKeep: u32, |
| 105 |
pub maxStoreMegabytes: u32, |
| 106 |
pub requestedMaxStoreMegabytes: u32, |
| 107 |
} |
| 108 |
impl ::core::marker::Copy for DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION {} |
| 109 |
impl ::core::clone::Clone for DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION { |
| 110 |
fn clone(&self) -> Self { |
| 111 |
*self |
| 112 |
} |
| 113 |
} |
| 114 |
#[repr(C)] |
| 115 |
pub struct DIAGNOSTIC_DATA_GENERAL_STATS { |
| 116 |
pub optInLevel: u32, |
| 117 |
pub transcriptSizeBytes: u64, |
| 118 |
pub oldestEventTimestamp: u64, |
| 119 |
pub totalEventCountLast24Hours: u32, |
| 120 |
pub averageDailyEvents: f32, |
| 121 |
} |
| 122 |
impl ::core::marker::Copy for DIAGNOSTIC_DATA_GENERAL_STATS {} |
| 123 |
impl ::core::clone::Clone for DIAGNOSTIC_DATA_GENERAL_STATS { |
| 124 |
fn clone(&self) -> Self { |
| 125 |
*self |
| 126 |
} |
| 127 |
} |
| 128 |
#[repr(C)] |
| 129 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 130 |
#[cfg(feature = "Win32_Foundation")] |
| 131 |
pub struct DIAGNOSTIC_DATA_RECORD { |
| 132 |
pub rowId: i64, |
| 133 |
pub timestamp: u64, |
| 134 |
pub eventKeywords: u64, |
| 135 |
pub fullEventName: ::windows_sys::core::PWSTR, |
| 136 |
pub providerGroupGuid: ::windows_sys::core::PWSTR, |
| 137 |
pub producerName: ::windows_sys::core::PWSTR, |
| 138 |
pub privacyTags: *mut i32, |
| 139 |
pub privacyTagCount: u32, |
| 140 |
pub categoryIds: *mut i32, |
| 141 |
pub categoryIdCount: u32, |
| 142 |
pub isCoreData: super::super::Foundation::BOOL, |
| 143 |
pub extra1: ::windows_sys::core::PWSTR, |
| 144 |
pub extra2: ::windows_sys::core::PWSTR, |
| 145 |
pub extra3: ::windows_sys::core::PWSTR, |
| 146 |
} |
| 147 |
#[cfg(feature = "Win32_Foundation")] |
| 148 |
impl ::core::marker::Copy for DIAGNOSTIC_DATA_RECORD {} |
| 149 |
#[cfg(feature = "Win32_Foundation")] |
| 150 |
impl ::core::clone::Clone for DIAGNOSTIC_DATA_RECORD { |
| 151 |
fn clone(&self) -> Self { |
| 152 |
*self |
| 153 |
} |
| 154 |
} |
| 155 |
#[repr(C)] |
| 156 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 157 |
#[cfg(feature = "Win32_Foundation")] |
| 158 |
pub struct DIAGNOSTIC_DATA_SEARCH_CRITERIA { |
| 159 |
pub producerNames: *const ::windows_sys::core::PCWSTR, |
| 160 |
pub producerNameCount: u32, |
| 161 |
pub textToMatch: ::windows_sys::core::PCWSTR, |
| 162 |
pub categoryIds: *const i32, |
| 163 |
pub categoryIdCount: u32, |
| 164 |
pub privacyTags: *const i32, |
| 165 |
pub privacyTagCount: u32, |
| 166 |
pub coreDataOnly: super::super::Foundation::BOOL, |
| 167 |
} |
| 168 |
#[cfg(feature = "Win32_Foundation")] |
| 169 |
impl ::core::marker::Copy for DIAGNOSTIC_DATA_SEARCH_CRITERIA {} |
| 170 |
#[cfg(feature = "Win32_Foundation")] |
| 171 |
impl ::core::clone::Clone for DIAGNOSTIC_DATA_SEARCH_CRITERIA { |
| 172 |
fn clone(&self) -> Self { |
| 173 |
*self |
| 174 |
} |
| 175 |
} |
| 176 |
#[repr(C)] |
| 177 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 178 |
#[cfg(feature = "Win32_Foundation")] |
| 179 |
pub struct DIAGNOSTIC_REPORT_DATA { |
| 180 |
pub signature: DIAGNOSTIC_REPORT_SIGNATURE, |
| 181 |
pub bucketId: ::windows_sys::core::GUID, |
| 182 |
pub reportId: ::windows_sys::core::GUID, |
| 183 |
pub creationTime: super::super::Foundation::FILETIME, |
| 184 |
pub sizeInBytes: u64, |
| 185 |
pub cabId: ::windows_sys::core::PWSTR, |
| 186 |
pub reportStatus: u32, |
| 187 |
pub reportIntegratorId: ::windows_sys::core::GUID, |
| 188 |
pub fileNames: *mut ::windows_sys::core::PWSTR, |
| 189 |
pub fileCount: u32, |
| 190 |
pub friendlyEventName: ::windows_sys::core::PWSTR, |
| 191 |
pub applicationName: ::windows_sys::core::PWSTR, |
| 192 |
pub applicationPath: ::windows_sys::core::PWSTR, |
| 193 |
pub description: ::windows_sys::core::PWSTR, |
| 194 |
pub bucketIdString: ::windows_sys::core::PWSTR, |
| 195 |
pub legacyBucketId: u64, |
| 196 |
pub reportKey: ::windows_sys::core::PWSTR, |
| 197 |
} |
| 198 |
#[cfg(feature = "Win32_Foundation")] |
| 199 |
impl ::core::marker::Copy for DIAGNOSTIC_REPORT_DATA {} |
| 200 |
#[cfg(feature = "Win32_Foundation")] |
| 201 |
impl ::core::clone::Clone for DIAGNOSTIC_REPORT_DATA { |
| 202 |
fn clone(&self) -> Self { |
| 203 |
*self |
| 204 |
} |
| 205 |
} |
| 206 |
#[repr(C)] |
| 207 |
pub struct DIAGNOSTIC_REPORT_PARAMETER { |
| 208 |
pub name: [u16; 129], |
| 209 |
pub value: [u16; 260], |
| 210 |
} |
| 211 |
impl ::core::marker::Copy for DIAGNOSTIC_REPORT_PARAMETER {} |
| 212 |
impl ::core::clone::Clone for DIAGNOSTIC_REPORT_PARAMETER { |
| 213 |
fn clone(&self) -> Self { |
| 214 |
*self |
| 215 |
} |
| 216 |
} |
| 217 |
#[repr(C)] |
| 218 |
pub struct DIAGNOSTIC_REPORT_SIGNATURE { |
| 219 |
pub eventName: [u16; 65], |
| 220 |
pub parameters: [DIAGNOSTIC_REPORT_PARAMETER; 10], |
| 221 |
} |
| 222 |
impl ::core::marker::Copy for DIAGNOSTIC_REPORT_SIGNATURE {} |
| 223 |
impl ::core::clone::Clone for DIAGNOSTIC_REPORT_SIGNATURE { |
| 224 |
fn clone(&self) -> Self { |
| 225 |
*self |
| 226 |
} |
| 227 |
} |