1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 #[link(name = "windows")]
4 pub const ALLOW_OUTOFBAND_NOTIFICATION
: u32 = 2u32;
5 pub const DO_NOT_VIRTUALIZE_STORAGES_AS_DEVICES
: u32 = 1u32;
6 pub const EVENT_WMDM_CONTENT_TRANSFER
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID
{
10 data4
: [148, 223, 234, 248, 194, 106, 182, 27],
12 pub type IComponentAuthenticate
= *mut ::core
::ffi
::c_void
;
13 pub type IMDSPDevice
= *mut ::core
::ffi
::c_void
;
14 pub type IMDSPDevice2
= *mut ::core
::ffi
::c_void
;
15 pub type IMDSPDevice3
= *mut ::core
::ffi
::c_void
;
16 pub type IMDSPDeviceControl
= *mut ::core
::ffi
::c_void
;
17 pub type IMDSPDirectTransfer
= *mut ::core
::ffi
::c_void
;
18 pub type IMDSPEnumDevice
= *mut ::core
::ffi
::c_void
;
19 pub type IMDSPEnumStorage
= *mut ::core
::ffi
::c_void
;
20 pub type IMDSPObject
= *mut ::core
::ffi
::c_void
;
21 pub type IMDSPObject2
= *mut ::core
::ffi
::c_void
;
22 pub type IMDSPObjectInfo
= *mut ::core
::ffi
::c_void
;
23 pub type IMDSPRevoked
= *mut ::core
::ffi
::c_void
;
24 pub type IMDSPStorage
= *mut ::core
::ffi
::c_void
;
25 pub type IMDSPStorage2
= *mut ::core
::ffi
::c_void
;
26 pub type IMDSPStorage3
= *mut ::core
::ffi
::c_void
;
27 pub type IMDSPStorage4
= *mut ::core
::ffi
::c_void
;
28 pub type IMDSPStorageGlobals
= *mut ::core
::ffi
::c_void
;
29 pub type IMDServiceProvider
= *mut ::core
::ffi
::c_void
;
30 pub type IMDServiceProvider2
= *mut ::core
::ffi
::c_void
;
31 pub type IMDServiceProvider3
= *mut ::core
::ffi
::c_void
;
32 pub const IOCTL_MTP_CUSTOM_COMMAND
: u32 = 827348045u32;
33 pub type ISCPSecureAuthenticate
= *mut ::core
::ffi
::c_void
;
34 pub type ISCPSecureAuthenticate2
= *mut ::core
::ffi
::c_void
;
35 pub type ISCPSecureExchange
= *mut ::core
::ffi
::c_void
;
36 pub type ISCPSecureExchange2
= *mut ::core
::ffi
::c_void
;
37 pub type ISCPSecureExchange3
= *mut ::core
::ffi
::c_void
;
38 pub type ISCPSecureQuery
= *mut ::core
::ffi
::c_void
;
39 pub type ISCPSecureQuery2
= *mut ::core
::ffi
::c_void
;
40 pub type ISCPSecureQuery3
= *mut ::core
::ffi
::c_void
;
41 pub type ISCPSession
= *mut ::core
::ffi
::c_void
;
42 pub type IWMDMDevice
= *mut ::core
::ffi
::c_void
;
43 pub type IWMDMDevice2
= *mut ::core
::ffi
::c_void
;
44 pub type IWMDMDevice3
= *mut ::core
::ffi
::c_void
;
45 pub type IWMDMDeviceControl
= *mut ::core
::ffi
::c_void
;
46 pub type IWMDMDeviceSession
= *mut ::core
::ffi
::c_void
;
47 pub type IWMDMEnumDevice
= *mut ::core
::ffi
::c_void
;
48 pub type IWMDMEnumStorage
= *mut ::core
::ffi
::c_void
;
49 pub type IWMDMLogger
= *mut ::core
::ffi
::c_void
;
50 pub type IWMDMMetaData
= *mut ::core
::ffi
::c_void
;
51 pub type IWMDMNotification
= *mut ::core
::ffi
::c_void
;
52 pub type IWMDMObjectInfo
= *mut ::core
::ffi
::c_void
;
53 pub type IWMDMOperation
= *mut ::core
::ffi
::c_void
;
54 pub type IWMDMOperation2
= *mut ::core
::ffi
::c_void
;
55 pub type IWMDMOperation3
= *mut ::core
::ffi
::c_void
;
56 pub type IWMDMProgress
= *mut ::core
::ffi
::c_void
;
57 pub type IWMDMProgress2
= *mut ::core
::ffi
::c_void
;
58 pub type IWMDMProgress3
= *mut ::core
::ffi
::c_void
;
59 pub type IWMDMRevoked
= *mut ::core
::ffi
::c_void
;
60 pub type IWMDMStorage
= *mut ::core
::ffi
::c_void
;
61 pub type IWMDMStorage2
= *mut ::core
::ffi
::c_void
;
62 pub type IWMDMStorage3
= *mut ::core
::ffi
::c_void
;
63 pub type IWMDMStorage4
= *mut ::core
::ffi
::c_void
;
64 pub type IWMDMStorageControl
= *mut ::core
::ffi
::c_void
;
65 pub type IWMDMStorageControl2
= *mut ::core
::ffi
::c_void
;
66 pub type IWMDMStorageControl3
= *mut ::core
::ffi
::c_void
;
67 pub type IWMDMStorageGlobals
= *mut ::core
::ffi
::c_void
;
68 pub type IWMDeviceManager
= *mut ::core
::ffi
::c_void
;
69 pub type IWMDeviceManager2
= *mut ::core
::ffi
::c_void
;
70 pub type IWMDeviceManager3
= *mut ::core
::ffi
::c_void
;
71 pub const MDSP_READ
: u32 = 1u32;
72 pub const MDSP_SEEK_BOF
: u32 = 1u32;
73 pub const MDSP_SEEK_CUR
: u32 = 2u32;
74 pub const MDSP_SEEK_EOF
: u32 = 4u32;
75 pub const MDSP_WRITE
: u32 = 2u32;
77 pub struct MTP_COMMAND_DATA_IN
{
82 pub CommandWriteDataSize
: u32,
83 pub CommandWriteData
: [u8; 1],
85 impl ::core
::marker
::Copy
for MTP_COMMAND_DATA_IN {}
86 impl ::core
::clone
::Clone
for MTP_COMMAND_DATA_IN
{
87 fn clone(&self) -> Self {
92 pub struct MTP_COMMAND_DATA_OUT
{
93 pub ResponseCode
: u16,
96 pub CommandReadDataSize
: u32,
97 pub CommandReadData
: [u8; 1],
99 impl ::core
::marker
::Copy
for MTP_COMMAND_DATA_OUT {}
100 impl ::core
::clone
::Clone
for MTP_COMMAND_DATA_OUT
{
101 fn clone(&self) -> Self {
105 pub const MTP_COMMAND_MAX_PARAMS
: u32 = 5u32;
106 pub const MTP_NEXTPHASE_NO_DATA
: u32 = 3u32;
107 pub const MTP_NEXTPHASE_READ_DATA
: u32 = 1u32;
108 pub const MTP_NEXTPHASE_WRITE_DATA
: u32 = 2u32;
109 pub const MTP_RESPONSE_MAX_PARAMS
: u32 = 5u32;
110 pub const MTP_RESPONSE_OK
: u16 = 8193u16;
111 pub const MediaDevMgr
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 632991105, data2: 13664, data3: 4563, data4: [132, 113, 0, 192, 79, 121, 219, 192] }
;
112 pub const MediaDevMgrClassFactory
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID
{
116 data4
: [184, 115, 241, 77, 108, 91, 253, 102],
119 pub struct OPAQUECOMMAND
{
120 pub guidCommand
: ::windows_sys
::core
::GUID
,
125 impl ::core
::marker
::Copy
for OPAQUECOMMAND {}
126 impl ::core
::clone
::Clone
for OPAQUECOMMAND
{
127 fn clone(&self) -> Self {
131 pub const RSA_KEY_LEN
: u32 = 64u32;
132 pub const SAC_CERT_V1
: u32 = 2u32;
133 pub const SAC_CERT_X509
: u32 = 1u32;
134 pub const SAC_MAC_LEN
: u32 = 8u32;
135 pub const SAC_PROTOCOL_V1
: u32 = 2u32;
136 pub const SAC_PROTOCOL_WMDM
: u32 = 1u32;
137 pub const SAC_SESSION_KEYLEN
: u32 = 8u32;
138 pub const SCP_EVENTID_ACQSECURECLOCK
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 2250542281, data2: 19033, data3: 17378, data4: [145, 70, 72, 167, 243, 244, 20, 12] }
;
139 pub const SCP_EVENTID_DRMINFO
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 557699719, data2: 16850, data3: 17195, data4: [158, 63, 59, 79, 123, 53, 129, 221] }
;
140 pub const SCP_EVENTID_NEEDTOINDIV
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID
{
144 data4
: [185, 118, 213, 209, 206, 83, 138, 111],
146 pub const SCP_PARAMID_DRMVERSION
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 1104155997, data2: 31943, data3: 16919, data4: [173, 169, 0, 80, 116, 98, 77, 164] }
;
148 pub struct WMDMDATETIME
{
156 impl ::core
::marker
::Copy
for WMDMDATETIME {}
157 impl ::core
::clone
::Clone
for WMDMDATETIME
{
158 fn clone(&self) -> Self {
163 pub union WMDMDetermineMaxPropStringLen
{
164 pub sz001
: [u16; 27],
165 pub sz002
: [u16; 31],
166 pub sz003
: [u16; 14],
167 pub sz004
: [u16; 16],
168 pub sz005
: [u16; 22],
169 pub sz006
: [u16; 14],
170 pub sz007
: [u16; 20],
171 pub sz008
: [u16; 20],
172 pub sz009
: [u16; 22],
173 pub sz010
: [u16; 11],
174 pub sz011
: [u16; 12],
175 pub sz012
: [u16; 17],
176 pub sz013
: [u16; 17],
177 pub sz014
: [u16; 16],
178 pub sz015
: [u16; 17],
179 pub sz016
: [u16; 11],
180 pub sz017
: [u16; 11],
181 pub sz018
: [u16; 15],
182 pub sz019
: [u16; 22],
183 pub sz020
: [u16; 20],
184 pub sz021
: [u16; 22],
185 pub sz022
: [u16; 21],
186 pub sz023
: [u16; 24],
187 pub sz024
: [u16; 20],
188 pub sz025
: [u16; 10],
189 pub sz026
: [u16; 14],
190 pub sz027
: [u16; 11],
191 pub sz028
: [u16; 11],
192 pub sz029
: [u16; 13],
193 pub sz030
: [u16; 17],
194 pub sz031
: [u16; 16],
195 pub sz032
: [u16; 17],
196 pub sz033
: [u16; 20],
197 pub sz034
: [u16; 19],
198 pub sz035
: [u16; 18],
199 pub sz036
: [u16; 18],
200 pub sz037
: [u16; 15],
201 pub sz041
: [u16; 14],
202 pub sz043
: [u16; 22],
203 pub sz044
: [u16; 16],
204 pub sz045
: [u16; 20],
205 pub sz046
: [u16; 14],
206 pub sz047
: [u16; 14],
207 pub sz048
: [u16; 12],
208 pub sz049
: [u16; 25],
209 pub sz050
: [u16; 26],
210 pub sz051
: [u16; 25],
211 pub sz052
: [u16; 16],
212 pub sz053
: [u16; 24],
213 pub sz054
: [u16; 15],
214 pub sz055
: [u16; 21],
215 pub sz056
: [u16; 16],
216 pub sz057
: [u16; 22],
217 pub sz058
: [u16; 14],
218 pub sz059
: [u16; 25],
219 pub sz060
: [u16; 18],
220 pub sz061
: [u16; 22],
221 pub sz062
: [u16; 26],
222 pub sz063
: [u16; 36],
223 pub sz064
: [u16; 23],
224 pub sz065
: [u16; 12],
225 pub sz066
: [u16; 24],
226 pub sz067
: [u16; 11],
227 pub sz068
: [u16; 12],
228 pub sz069
: [u16; 14],
229 pub sz070
: [u16; 20],
230 pub sz071
: [u16; 15],
231 pub sz072
: [u16; 14],
232 pub sz073
: [u16; 31],
233 pub sz074
: [u16; 24],
234 pub sz075
: [u16; 22],
235 pub sz076
: [u16; 24],
236 pub sz077
: [u16; 21],
237 pub sz078
: [u16; 27],
238 pub sz079
: [u16; 27],
239 pub sz080
: [u16; 20],
240 pub sz081
: [u16; 33],
241 pub sz082
: [u16; 21],
242 pub sz083
: [u16; 32],
243 pub sz084
: [u16; 26],
244 pub sz085
: [u16; 18],
245 pub sz086
: [u16; 30],
247 impl ::core
::marker
::Copy
for WMDMDetermineMaxPropStringLen {}
248 impl ::core
::clone
::Clone
for WMDMDetermineMaxPropStringLen
{
249 fn clone(&self) -> Self {
253 pub const WMDMDevice
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 2155560159, data2: 13690, data3: 4563, data4: [132, 113, 0, 192, 79, 121, 219, 192] }
;
254 pub const WMDMDeviceEnum
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 1125004719, data2: 14705, data3: 4563, data4: [132, 116, 0, 192, 79, 121, 219, 192] }
;
260 pub SerialNumberLength
: u32,
262 impl ::core
::marker
::Copy
for WMDMID {}
263 impl ::core
::clone
::Clone
for WMDMID
{
264 fn clone(&self) -> Self {
268 pub const WMDMID_LENGTH
: u32 = 128u32;
269 pub const WMDMLogger
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 285880834, data2: 23161, data3: 4563, data4: [141, 120, 68, 69, 83, 84, 0, 0] }
;
270 pub type WMDMMessage
= i32;
271 pub const WMDM_MSG_DEVICE_ARRIVAL
: WMDMMessage
= 0i32;
272 pub const WMDM_MSG_DEVICE_REMOVAL
: WMDMMessage
= 1i32;
273 pub const WMDM_MSG_MEDIA_ARRIVAL
: WMDMMessage
= 2i32;
274 pub const WMDM_MSG_MEDIA_REMOVAL
: WMDMMessage
= 3i32;
276 #[cfg(feature = "Win32_Foundation")]
277 pub struct WMDMMetadataView
{
278 pub pwszViewName
: super::super::Foundation
::PWSTR
,
280 pub ppwszTags
: *mut *mut u16,
282 #[cfg(feature = "Win32_Foundation")]
283 impl ::core
::marker
::Copy
for WMDMMetadataView {}
284 #[cfg(feature = "Win32_Foundation")]
285 impl ::core
::clone
::Clone
for WMDMMetadataView
{
286 fn clone(&self) -> Self {
291 pub struct WMDMRIGHTS
{
293 pub dwContentType
: u32,
297 pub dwPlaybackCount
: u32,
298 pub ExpirationDate
: WMDMDATETIME
,
300 impl ::core
::marker
::Copy
for WMDMRIGHTS {}
301 impl ::core
::clone
::Clone
for WMDMRIGHTS
{
302 fn clone(&self) -> Self {
306 pub const WMDMStorage
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 2155560160, data2: 13690, data3: 4563, data4: [132, 113, 0, 192, 79, 121, 219, 192] }
;
307 pub const WMDMStorageEnum
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 3946846779, data2: 15095, data3: 4563, data4: [132, 116, 0, 192, 79, 121, 219, 192] }
;
308 pub const WMDMStorageGlobal
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 2155560161, data2: 13690, data3: 4563, data4: [132, 113, 0, 192, 79, 121, 219, 192] }
;
309 pub const WMDM_APP_REVOKED
: u32 = 2u32;
310 pub const WMDM_CONTENT_FILE
: u32 = 4u32;
311 pub const WMDM_CONTENT_FOLDER
: u32 = 8u32;
312 pub const WMDM_CONTENT_OPERATIONINTERFACE
: u32 = 16u32;
313 pub const WMDM_DEVICECAP_CANPAUSE
: u32 = 16u32;
314 pub const WMDM_DEVICECAP_CANPLAY
: u32 = 1u32;
315 pub const WMDM_DEVICECAP_CANRECORD
: u32 = 4u32;
316 pub const WMDM_DEVICECAP_CANRESUME
: u32 = 32u32;
317 pub const WMDM_DEVICECAP_CANSEEK
: u32 = 128u32;
318 pub const WMDM_DEVICECAP_CANSTOP
: u32 = 64u32;
319 pub const WMDM_DEVICECAP_CANSTREAMPLAY
: u32 = 2u32;
320 pub const WMDM_DEVICECAP_CANSTREAMRECORD
: u32 = 8u32;
321 pub const WMDM_DEVICECAP_HASSECURECLOCK
: u32 = 256u32;
322 pub const WMDM_DEVICE_PROTOCOL_MSC
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID
{
326 data4
: [189, 93, 31, 112, 60, 113, 247, 169],
328 pub const WMDM_DEVICE_PROTOCOL_MTP
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID
{
332 data4
: [141, 147, 220, 121, 138, 75, 207, 69],
334 pub const WMDM_DEVICE_PROTOCOL_RAPI
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 705818001, data2: 35983, data3: 16868, data4: [130, 209, 131, 134, 224, 3, 86, 28] }
;
335 pub const WMDM_DEVICE_TYPE_DECODE
: u32 = 4u32;
336 pub const WMDM_DEVICE_TYPE_ENCODE
: u32 = 8u32;
337 pub const WMDM_DEVICE_TYPE_FILELISTRESYNC
: u32 = 512u32;
338 pub const WMDM_DEVICE_TYPE_NONREENTRANT
: u32 = 256u32;
339 pub const WMDM_DEVICE_TYPE_NONSDMI
: u32 = 128u32;
340 pub const WMDM_DEVICE_TYPE_PLAYBACK
: u32 = 1u32;
341 pub const WMDM_DEVICE_TYPE_RECORD
: u32 = 2u32;
342 pub const WMDM_DEVICE_TYPE_SDMI
: u32 = 64u32;
343 pub const WMDM_DEVICE_TYPE_STORAGE
: u32 = 16u32;
344 pub const WMDM_DEVICE_TYPE_VIEW_PREF_METADATAVIEW
: u32 = 1024u32;
345 pub const WMDM_DEVICE_TYPE_VIRTUAL
: u32 = 32u32;
346 pub type WMDM_ENUM_PROP_VALID_VALUES_FORM
= i32;
347 pub const WMDM_ENUM_PROP_VALID_VALUES_ANY
: WMDM_ENUM_PROP_VALID_VALUES_FORM
= 0i32;
348 pub const WMDM_ENUM_PROP_VALID_VALUES_RANGE
: WMDM_ENUM_PROP_VALID_VALUES_FORM
= 1i32;
349 pub const WMDM_ENUM_PROP_VALID_VALUES_ENUM
: WMDM_ENUM_PROP_VALID_VALUES_FORM
= 2i32;
350 pub const WMDM_E_BUFFERTOOSMALL
: i32 = -2147201016i32;
351 pub const WMDM_E_BUSY
: i32 = -2147201024i32;
352 pub const WMDM_E_CALL_OUT_OF_SEQUENCE
: i32 = -2147201017i32;
353 pub const WMDM_E_CANTOPEN_PMSN_SERVICE_PIPE
: i32 = -2147201005i32;
354 pub const WMDM_E_INCORRECT_APPSEC
: i32 = -2147201008i32;
355 pub const WMDM_E_INCORRECT_RIGHTS
: i32 = -2147201007i32;
356 pub const WMDM_E_INTERFACEDEAD
: i32 = -2147201023i32;
357 pub const WMDM_E_INVALIDTYPE
: i32 = -2147201022i32;
358 pub const WMDM_E_LICENSE_EXPIRED
: i32 = -2147201006i32;
359 pub const WMDM_E_LICENSE_NOTEXIST
: i32 = -2147201009i32;
360 pub const WMDM_E_MAC_CHECK_FAILED
: i32 = -2147201014i32;
361 pub const WMDM_E_MOREDATA
: i32 = -2147201015i32;
362 pub const WMDM_E_NORIGHTS
: i32 = -2147201018i32;
363 pub const WMDM_E_NOTCERTIFIED
: i32 = -2147201019i32;
364 pub const WMDM_E_NOTSUPPORTED
: i32 = -2147201020i32;
365 pub const WMDM_E_PROCESSFAILED
: i32 = -2147201021i32;
366 pub const WMDM_E_REVOKED
: i32 = -2147201010i32;
367 pub const WMDM_E_SDMI_NOMORECOPIES
: i32 = -2147201011i32;
368 pub const WMDM_E_SDMI_TRIGGER
: i32 = -2147201012i32;
369 pub const WMDM_E_TOO_MANY_SESSIONS
: i32 = -2147201005i32;
370 pub const WMDM_E_USER_CANCELLED
: i32 = -2147201013i32;
371 pub const WMDM_FILE_ATTR_AUDIO
: u32 = 4096u32;
372 pub const WMDM_FILE_ATTR_AUDIOBOOK
: u32 = 2097152u32;
373 pub const WMDM_FILE_ATTR_CANDELETE
: u32 = 32768u32;
374 pub const WMDM_FILE_ATTR_CANMOVE
: u32 = 65536u32;
375 pub const WMDM_FILE_ATTR_CANPLAY
: u32 = 16384u32;
376 pub const WMDM_FILE_ATTR_CANREAD
: u32 = 262144u32;
377 pub const WMDM_FILE_ATTR_CANRENAME
: u32 = 131072u32;
378 pub const WMDM_FILE_ATTR_DATA
: u32 = 8192u32;
379 pub const WMDM_FILE_ATTR_FILE
: u32 = 32u32;
380 pub const WMDM_FILE_ATTR_FOLDER
: u32 = 8u32;
381 pub const WMDM_FILE_ATTR_HIDDEN
: u32 = 4194304u32;
382 pub const WMDM_FILE_ATTR_LINK
: u32 = 16u32;
383 pub const WMDM_FILE_ATTR_MUSIC
: u32 = 524288u32;
384 pub const WMDM_FILE_ATTR_READONLY
: u32 = 16777216u32;
385 pub const WMDM_FILE_ATTR_SYSTEM
: u32 = 8388608u32;
386 pub const WMDM_FILE_ATTR_VIDEO
: u32 = 64u32;
387 pub const WMDM_FILE_CREATE_OVERWRITE
: u32 = 1048576u32;
388 pub type WMDM_FIND_SCOPE
= i32;
389 pub const WMDM_FIND_SCOPE_GLOBAL
: WMDM_FIND_SCOPE
= 0i32;
390 pub const WMDM_FIND_SCOPE_IMMEDIATE_CHILDREN
: WMDM_FIND_SCOPE
= 1i32;
391 pub type WMDM_FORMATCODE
= i32;
392 pub const WMDM_FORMATCODE_NOTUSED
: WMDM_FORMATCODE
= 0i32;
393 pub const WMDM_FORMATCODE_ALLIMAGES
: WMDM_FORMATCODE
= -1i32;
394 pub const WMDM_FORMATCODE_UNDEFINED
: WMDM_FORMATCODE
= 12288i32;
395 pub const WMDM_FORMATCODE_ASSOCIATION
: WMDM_FORMATCODE
= 12289i32;
396 pub const WMDM_FORMATCODE_SCRIPT
: WMDM_FORMATCODE
= 12290i32;
397 pub const WMDM_FORMATCODE_EXECUTABLE
: WMDM_FORMATCODE
= 12291i32;
398 pub const WMDM_FORMATCODE_TEXT
: WMDM_FORMATCODE
= 12292i32;
399 pub const WMDM_FORMATCODE_HTML
: WMDM_FORMATCODE
= 12293i32;
400 pub const WMDM_FORMATCODE_DPOF
: WMDM_FORMATCODE
= 12294i32;
401 pub const WMDM_FORMATCODE_AIFF
: WMDM_FORMATCODE
= 12295i32;
402 pub const WMDM_FORMATCODE_WAVE
: WMDM_FORMATCODE
= 12296i32;
403 pub const WMDM_FORMATCODE_MP3
: WMDM_FORMATCODE
= 12297i32;
404 pub const WMDM_FORMATCODE_AVI
: WMDM_FORMATCODE
= 12298i32;
405 pub const WMDM_FORMATCODE_MPEG
: WMDM_FORMATCODE
= 12299i32;
406 pub const WMDM_FORMATCODE_ASF
: WMDM_FORMATCODE
= 12300i32;
407 pub const WMDM_FORMATCODE_RESERVED_FIRST
: WMDM_FORMATCODE
= 12301i32;
408 pub const WMDM_FORMATCODE_RESERVED_LAST
: WMDM_FORMATCODE
= 14335i32;
409 pub const WMDM_FORMATCODE_IMAGE_UNDEFINED
: WMDM_FORMATCODE
= 14336i32;
410 pub const WMDM_FORMATCODE_IMAGE_EXIF
: WMDM_FORMATCODE
= 14337i32;
411 pub const WMDM_FORMATCODE_IMAGE_TIFFEP
: WMDM_FORMATCODE
= 14338i32;
412 pub const WMDM_FORMATCODE_IMAGE_FLASHPIX
: WMDM_FORMATCODE
= 14339i32;
413 pub const WMDM_FORMATCODE_IMAGE_BMP
: WMDM_FORMATCODE
= 14340i32;
414 pub const WMDM_FORMATCODE_IMAGE_CIFF
: WMDM_FORMATCODE
= 14341i32;
415 pub const WMDM_FORMATCODE_IMAGE_GIF
: WMDM_FORMATCODE
= 14343i32;
416 pub const WMDM_FORMATCODE_IMAGE_JFIF
: WMDM_FORMATCODE
= 14344i32;
417 pub const WMDM_FORMATCODE_IMAGE_PCD
: WMDM_FORMATCODE
= 14345i32;
418 pub const WMDM_FORMATCODE_IMAGE_PICT
: WMDM_FORMATCODE
= 14346i32;
419 pub const WMDM_FORMATCODE_IMAGE_PNG
: WMDM_FORMATCODE
= 14347i32;
420 pub const WMDM_FORMATCODE_IMAGE_TIFF
: WMDM_FORMATCODE
= 14349i32;
421 pub const WMDM_FORMATCODE_IMAGE_TIFFIT
: WMDM_FORMATCODE
= 14350i32;
422 pub const WMDM_FORMATCODE_IMAGE_JP2
: WMDM_FORMATCODE
= 14351i32;
423 pub const WMDM_FORMATCODE_IMAGE_JPX
: WMDM_FORMATCODE
= 14352i32;
424 pub const WMDM_FORMATCODE_IMAGE_RESERVED_FIRST
: WMDM_FORMATCODE
= 14353i32;
425 pub const WMDM_FORMATCODE_IMAGE_RESERVED_LAST
: WMDM_FORMATCODE
= 16383i32;
426 pub const WMDM_FORMATCODE_UNDEFINEDFIRMWARE
: WMDM_FORMATCODE
= 47106i32;
427 pub const WMDM_FORMATCODE_WBMP
: WMDM_FORMATCODE
= 47107i32;
428 pub const WMDM_FORMATCODE_JPEGXR
: WMDM_FORMATCODE
= 47108i32;
429 pub const WMDM_FORMATCODE_WINDOWSIMAGEFORMAT
: WMDM_FORMATCODE
= 47233i32;
430 pub const WMDM_FORMATCODE_UNDEFINEDAUDIO
: WMDM_FORMATCODE
= 47360i32;
431 pub const WMDM_FORMATCODE_WMA
: WMDM_FORMATCODE
= 47361i32;
432 pub const WMDM_FORMATCODE_OGG
: WMDM_FORMATCODE
= 47362i32;
433 pub const WMDM_FORMATCODE_AAC
: WMDM_FORMATCODE
= 47363i32;
434 pub const WMDM_FORMATCODE_AUDIBLE
: WMDM_FORMATCODE
= 47364i32;
435 pub const WMDM_FORMATCODE_FLAC
: WMDM_FORMATCODE
= 47366i32;
436 pub const WMDM_FORMATCODE_QCELP
: WMDM_FORMATCODE
= 47367i32;
437 pub const WMDM_FORMATCODE_AMR
: WMDM_FORMATCODE
= 47368i32;
438 pub const WMDM_FORMATCODE_UNDEFINEDVIDEO
: WMDM_FORMATCODE
= 47488i32;
439 pub const WMDM_FORMATCODE_WMV
: WMDM_FORMATCODE
= 47489i32;
440 pub const WMDM_FORMATCODE_MP4
: WMDM_FORMATCODE
= 47490i32;
441 pub const WMDM_FORMATCODE_MP2
: WMDM_FORMATCODE
= 47491i32;
442 pub const WMDM_FORMATCODE_3GP
: WMDM_FORMATCODE
= 47492i32;
443 pub const WMDM_FORMATCODE_3G2
: WMDM_FORMATCODE
= 47493i32;
444 pub const WMDM_FORMATCODE_AVCHD
: WMDM_FORMATCODE
= 47494i32;
445 pub const WMDM_FORMATCODE_ATSCTS
: WMDM_FORMATCODE
= 47495i32;
446 pub const WMDM_FORMATCODE_DVBTS
: WMDM_FORMATCODE
= 47496i32;
447 pub const WMDM_FORMATCODE_MKV
: WMDM_FORMATCODE
= 47497i32;
448 pub const WMDM_FORMATCODE_MKA
: WMDM_FORMATCODE
= 47498i32;
449 pub const WMDM_FORMATCODE_MK3D
: WMDM_FORMATCODE
= 47499i32;
450 pub const WMDM_FORMATCODE_UNDEFINEDCOLLECTION
: WMDM_FORMATCODE
= 47616i32;
451 pub const WMDM_FORMATCODE_ABSTRACTMULTIMEDIAALBUM
: WMDM_FORMATCODE
= 47617i32;
452 pub const WMDM_FORMATCODE_ABSTRACTIMAGEALBUM
: WMDM_FORMATCODE
= 47618i32;
453 pub const WMDM_FORMATCODE_ABSTRACTAUDIOALBUM
: WMDM_FORMATCODE
= 47619i32;
454 pub const WMDM_FORMATCODE_ABSTRACTVIDEOALBUM
: WMDM_FORMATCODE
= 47620i32;
455 pub const WMDM_FORMATCODE_ABSTRACTAUDIOVIDEOPLAYLIST
: WMDM_FORMATCODE
= 47621i32;
456 pub const WMDM_FORMATCODE_ABSTRACTCONTACTGROUP
: WMDM_FORMATCODE
= 47622i32;
457 pub const WMDM_FORMATCODE_ABSTRACTMESSAGEFOLDER
: WMDM_FORMATCODE
= 47623i32;
458 pub const WMDM_FORMATCODE_ABSTRACTCHAPTEREDPRODUCTION
: WMDM_FORMATCODE
= 47624i32;
459 pub const WMDM_FORMATCODE_MEDIA_CAST
: WMDM_FORMATCODE
= 47627i32;
460 pub const WMDM_FORMATCODE_WPLPLAYLIST
: WMDM_FORMATCODE
= 47632i32;
461 pub const WMDM_FORMATCODE_M3UPLAYLIST
: WMDM_FORMATCODE
= 47633i32;
462 pub const WMDM_FORMATCODE_MPLPLAYLIST
: WMDM_FORMATCODE
= 47634i32;
463 pub const WMDM_FORMATCODE_ASXPLAYLIST
: WMDM_FORMATCODE
= 47635i32;
464 pub const WMDM_FORMATCODE_PLSPLAYLIST
: WMDM_FORMATCODE
= 47636i32;
465 pub const WMDM_FORMATCODE_UNDEFINEDDOCUMENT
: WMDM_FORMATCODE
= 47744i32;
466 pub const WMDM_FORMATCODE_ABSTRACTDOCUMENT
: WMDM_FORMATCODE
= 47745i32;
467 pub const WMDM_FORMATCODE_XMLDOCUMENT
: WMDM_FORMATCODE
= 47746i32;
468 pub const WMDM_FORMATCODE_MICROSOFTWORDDOCUMENT
: WMDM_FORMATCODE
= 47747i32;
469 pub const WMDM_FORMATCODE_MHTCOMPILEDHTMLDOCUMENT
: WMDM_FORMATCODE
= 47748i32;
470 pub const WMDM_FORMATCODE_MICROSOFTEXCELSPREADSHEET
: WMDM_FORMATCODE
= 47749i32;
471 pub const WMDM_FORMATCODE_MICROSOFTPOWERPOINTDOCUMENT
: WMDM_FORMATCODE
= 47750i32;
472 pub const WMDM_FORMATCODE_UNDEFINEDMESSAGE
: WMDM_FORMATCODE
= 47872i32;
473 pub const WMDM_FORMATCODE_ABSTRACTMESSAGE
: WMDM_FORMATCODE
= 47873i32;
474 pub const WMDM_FORMATCODE_UNDEFINEDCONTACT
: WMDM_FORMATCODE
= 48000i32;
475 pub const WMDM_FORMATCODE_ABSTRACTCONTACT
: WMDM_FORMATCODE
= 48001i32;
476 pub const WMDM_FORMATCODE_VCARD2
: WMDM_FORMATCODE
= 48002i32;
477 pub const WMDM_FORMATCODE_VCARD3
: WMDM_FORMATCODE
= 48003i32;
478 pub const WMDM_FORMATCODE_UNDEFINEDCALENDARITEM
: WMDM_FORMATCODE
= 48640i32;
479 pub const WMDM_FORMATCODE_ABSTRACTCALENDARITEM
: WMDM_FORMATCODE
= 48641i32;
480 pub const WMDM_FORMATCODE_VCALENDAR1
: WMDM_FORMATCODE
= 48642i32;
481 pub const WMDM_FORMATCODE_VCALENDAR2
: WMDM_FORMATCODE
= 48643i32;
482 pub const WMDM_FORMATCODE_UNDEFINEDWINDOWSEXECUTABLE
: WMDM_FORMATCODE
= 48768i32;
483 pub const WMDM_FORMATCODE_M4A
: WMDM_FORMATCODE
= 1297101889i32;
484 pub const WMDM_FORMATCODE_3GPA
: WMDM_FORMATCODE
= 860311617i32;
485 pub const WMDM_FORMATCODE_3G2A
: WMDM_FORMATCODE
= 860303937i32;
486 pub const WMDM_FORMATCODE_SECTION
: WMDM_FORMATCODE
= 48770i32;
488 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
489 pub struct WMDM_FORMAT_CAPABILITY
{
490 pub nPropConfig
: u32,
491 pub pConfigs
: *mut WMDM_PROP_CONFIG
,
493 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
494 impl ::core
::marker
::Copy
for WMDM_FORMAT_CAPABILITY {}
495 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
496 impl ::core
::clone
::Clone
for WMDM_FORMAT_CAPABILITY
{
497 fn clone(&self) -> Self {
501 pub const WMDM_GET_FORMAT_SUPPORT_AUDIO
: u32 = 1u32;
502 pub const WMDM_GET_FORMAT_SUPPORT_FILE
: u32 = 4u32;
503 pub const WMDM_GET_FORMAT_SUPPORT_VIDEO
: u32 = 2u32;
504 pub const WMDM_LOG_NOTIMESTAMP
: u32 = 16u32;
505 pub const WMDM_LOG_SEV_ERROR
: u32 = 4u32;
506 pub const WMDM_LOG_SEV_INFO
: u32 = 1u32;
507 pub const WMDM_LOG_SEV_WARN
: u32 = 2u32;
508 pub const WMDM_MAC_LENGTH
: u32 = 8u32;
509 pub const WMDM_MODE_BLOCK
: u32 = 1u32;
510 pub const WMDM_MODE_PROGRESS
: u32 = 64u32;
511 pub const WMDM_MODE_QUERY
: u32 = 32u32;
512 pub const WMDM_MODE_RECURSIVE
: u32 = 4096u32;
513 pub const WMDM_MODE_THREAD
: u32 = 2u32;
514 pub const WMDM_MODE_TRANSFER_PROTECTED
: u32 = 128u32;
515 pub const WMDM_MODE_TRANSFER_UNPROTECTED
: u32 = 256u32;
516 pub const WMDM_POWER_CAP_BATTERY
: u32 = 1u32;
517 pub const WMDM_POWER_CAP_EXTERNAL
: u32 = 2u32;
518 pub const WMDM_POWER_IS_BATTERY
: u32 = 4u32;
519 pub const WMDM_POWER_IS_EXTERNAL
: u32 = 8u32;
520 pub const WMDM_POWER_PERCENT_AVAILABLE
: u32 = 16u32;
522 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
523 pub struct WMDM_PROP_CONFIG
{
524 pub nPreference
: u32,
526 pub pPropDesc
: *mut WMDM_PROP_DESC
,
528 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
529 impl ::core
::marker
::Copy
for WMDM_PROP_CONFIG {}
530 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
531 impl ::core
::clone
::Clone
for WMDM_PROP_CONFIG
{
532 fn clone(&self) -> Self {
537 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
538 pub struct WMDM_PROP_DESC
{
539 pub pwszPropName
: super::super::Foundation
::PWSTR
,
540 pub ValidValuesForm
: WMDM_ENUM_PROP_VALID_VALUES_FORM
,
541 pub ValidValues
: WMDM_PROP_DESC_0
,
543 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
544 impl ::core
::marker
::Copy
for WMDM_PROP_DESC {}
545 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
546 impl ::core
::clone
::Clone
for WMDM_PROP_DESC
{
547 fn clone(&self) -> Self {
552 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
553 pub union WMDM_PROP_DESC_0
{
554 pub ValidValuesRange
: WMDM_PROP_VALUES_RANGE
,
555 pub EnumeratedValidValues
: WMDM_PROP_VALUES_ENUM
,
557 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
558 impl ::core
::marker
::Copy
for WMDM_PROP_DESC_0 {}
559 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
560 impl ::core
::clone
::Clone
for WMDM_PROP_DESC_0
{
561 fn clone(&self) -> Self {
566 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
567 pub struct WMDM_PROP_VALUES_ENUM
{
568 pub cEnumValues
: u32,
569 pub pValues
: *mut super::super::System
::Com
::StructuredStorage
::PROPVARIANT
,
571 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
572 impl ::core
::marker
::Copy
for WMDM_PROP_VALUES_ENUM {}
573 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
574 impl ::core
::clone
::Clone
for WMDM_PROP_VALUES_ENUM
{
575 fn clone(&self) -> Self {
580 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
581 pub struct WMDM_PROP_VALUES_RANGE
{
582 pub rangeMin
: super::super::System
::Com
::StructuredStorage
::PROPVARIANT
,
583 pub rangeMax
: super::super::System
::Com
::StructuredStorage
::PROPVARIANT
,
584 pub rangeStep
: super::super::System
::Com
::StructuredStorage
::PROPVARIANT
,
586 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
587 impl ::core
::marker
::Copy
for WMDM_PROP_VALUES_RANGE {}
588 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
589 impl ::core
::clone
::Clone
for WMDM_PROP_VALUES_RANGE
{
590 fn clone(&self) -> Self {
594 pub const WMDM_RIGHTS_COPY_TO_CD
: u32 = 8u32;
595 pub const WMDM_RIGHTS_COPY_TO_NON_SDMI_DEVICE
: u32 = 2u32;
596 pub const WMDM_RIGHTS_COPY_TO_SDMI_DEVICE
: u32 = 16u32;
597 pub const WMDM_RIGHTS_EXPIRATIONDATE
: u32 = 2u32;
598 pub const WMDM_RIGHTS_FREESERIALIDS
: u32 = 8u32;
599 pub const WMDM_RIGHTS_GROUPID
: u32 = 4u32;
600 pub const WMDM_RIGHTS_NAMEDSERIALIDS
: u32 = 16u32;
601 pub const WMDM_RIGHTS_PLAYBACKCOUNT
: u32 = 1u32;
602 pub const WMDM_RIGHTS_PLAY_ON_PC
: u32 = 1u32;
603 pub const WMDM_SCP_DECIDE_DATA
: i32 = 8i32;
604 pub const WMDM_SCP_DRMINFO_NOT_DRMPROTECTED
: i32 = 0i32;
605 pub const WMDM_SCP_DRMINFO_V1HEADER
: i32 = 1i32;
606 pub const WMDM_SCP_DRMINFO_V2HEADER
: i32 = 2i32;
607 pub const WMDM_SCP_EXAMINE_DATA
: i32 = 2i32;
608 pub const WMDM_SCP_EXAMINE_EXTENSION
: i32 = 1i32;
609 pub const WMDM_SCP_NO_MORE_CHANGES
: i32 = 64i32;
610 pub const WMDM_SCP_PROTECTED_OUTPUT
: i32 = 16i32;
611 pub const WMDM_SCP_REVOKED
: u32 = 8u32;
612 pub const WMDM_SCP_RIGHTS_DATA
: i32 = 64i32;
613 pub const WMDM_SCP_TRANSFER_OBJECTDATA
: i32 = 32i32;
614 pub const WMDM_SCP_UNPROTECTED_OUTPUT
: i32 = 32i32;
615 pub const WMDM_SEEK_BEGIN
: u32 = 1u32;
616 pub const WMDM_SEEK_CURRENT
: u32 = 2u32;
617 pub const WMDM_SEEK_END
: u32 = 8u32;
618 pub const WMDM_SEEK_REMOTECONTROL
: u32 = 1u32;
619 pub const WMDM_SEEK_STREAMINGAUDIO
: u32 = 2u32;
620 pub const WMDM_SERVICE_PROVIDER_VENDOR_MICROSOFT
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID
{
624 data4
: [164, 150, 198, 37, 172, 145, 204, 93],
626 pub type WMDM_SESSION_TYPE
= i32;
627 pub const WMDM_SESSION_NONE
: WMDM_SESSION_TYPE
= 0i32;
628 pub const WMDM_SESSION_TRANSFER_TO_DEVICE
: WMDM_SESSION_TYPE
= 1i32;
629 pub const WMDM_SESSION_TRANSFER_FROM_DEVICE
: WMDM_SESSION_TYPE
= 16i32;
630 pub const WMDM_SESSION_DELETE
: WMDM_SESSION_TYPE
= 256i32;
631 pub const WMDM_SESSION_CUSTOM
: WMDM_SESSION_TYPE
= 4096i32;
632 pub const WMDM_SP_REVOKED
: u32 = 4u32;
633 pub const WMDM_STATUS_BUSY
: u32 = 2u32;
634 pub const WMDM_STATUS_DEVICECONTROL_PAUSED
: u32 = 32u32;
635 pub const WMDM_STATUS_DEVICECONTROL_PLAYING
: u32 = 8u32;
636 pub const WMDM_STATUS_DEVICECONTROL_RECORDING
: u32 = 16u32;
637 pub const WMDM_STATUS_DEVICECONTROL_REMOTE
: u32 = 64u32;
638 pub const WMDM_STATUS_DEVICECONTROL_STREAM
: u32 = 128u32;
639 pub const WMDM_STATUS_DEVICE_NOTPRESENT
: u32 = 4u32;
640 pub const WMDM_STATUS_READY
: u32 = 1u32;
641 pub const WMDM_STATUS_STORAGECONTROL_APPENDING
: u32 = 32768u32;
642 pub const WMDM_STATUS_STORAGECONTROL_DELETING
: u32 = 16384u32;
643 pub const WMDM_STATUS_STORAGECONTROL_INSERTING
: u32 = 8192u32;
644 pub const WMDM_STATUS_STORAGECONTROL_MOVING
: u32 = 65536u32;
645 pub const WMDM_STATUS_STORAGECONTROL_READING
: u32 = 131072u32;
646 pub const WMDM_STATUS_STORAGE_BROKEN
: u32 = 1024u32;
647 pub const WMDM_STATUS_STORAGE_INITIALIZING
: u32 = 512u32;
648 pub const WMDM_STATUS_STORAGE_NOTPRESENT
: u32 = 256u32;
649 pub const WMDM_STATUS_STORAGE_NOTSUPPORTED
: u32 = 2048u32;
650 pub const WMDM_STATUS_STORAGE_UNFORMATTED
: u32 = 4096u32;
651 pub const WMDM_STORAGECAP_FILELIMITEXISTS
: u32 = 32u32;
652 pub const WMDM_STORAGECAP_FILESINFOLDERS
: u32 = 8u32;
653 pub const WMDM_STORAGECAP_FILESINROOT
: u32 = 2u32;
654 pub const WMDM_STORAGECAP_FOLDERLIMITEXISTS
: u32 = 16u32;
655 pub const WMDM_STORAGECAP_FOLDERSINFOLDERS
: u32 = 4u32;
656 pub const WMDM_STORAGECAP_FOLDERSINROOT
: u32 = 1u32;
657 pub const WMDM_STORAGECAP_NOT_INITIALIZABLE
: u32 = 64u32;
658 pub const WMDM_STORAGECONTROL_INSERTAFTER
: u32 = 1024u32;
659 pub const WMDM_STORAGECONTROL_INSERTBEFORE
: u32 = 512u32;
660 pub const WMDM_STORAGECONTROL_INSERTINTO
: u32 = 2048u32;
661 pub const WMDM_STORAGE_ATTR_CANEDITMETADATA
: u32 = 128u32;
662 pub const WMDM_STORAGE_ATTR_FILESYSTEM
: u32 = 1u32;
663 pub const WMDM_STORAGE_ATTR_FOLDERS
: u32 = 256u32;
664 pub const WMDM_STORAGE_ATTR_HAS_FILES
: u32 = 67108864u32;
665 pub const WMDM_STORAGE_ATTR_HAS_FOLDERS
: u32 = 33554432u32;
666 pub const WMDM_STORAGE_ATTR_NONREMOVABLE
: u32 = 4u32;
667 pub const WMDM_STORAGE_ATTR_REMOVABLE
: u32 = 2u32;
668 pub const WMDM_STORAGE_ATTR_VIRTUAL
: u32 = 536870912u32;
669 pub const WMDM_STORAGE_CONTAINS_DEFAULT
: u32 = 268435456u32;
670 pub type WMDM_STORAGE_ENUM_MODE
= i32;
671 pub const ENUM_MODE_RAW
: WMDM_STORAGE_ENUM_MODE
= 0i32;
672 pub const ENUM_MODE_USE_DEVICE_PREF
: WMDM_STORAGE_ENUM_MODE
= 1i32;
673 pub const ENUM_MODE_METADATA_VIEWS
: WMDM_STORAGE_ENUM_MODE
= 2i32;
674 pub const WMDM_STORAGE_IS_DEFAULT
: u32 = 134217728u32;
675 pub const WMDM_S_NOT_ALL_PROPERTIES_APPLIED
: i32 = 282625i32;
676 pub const WMDM_S_NOT_ALL_PROPERTIES_RETRIEVED
: i32 = 282626i32;
677 pub type WMDM_TAG_DATATYPE
= i32;
678 pub const WMDM_TYPE_DWORD
: WMDM_TAG_DATATYPE
= 0i32;
679 pub const WMDM_TYPE_STRING
: WMDM_TAG_DATATYPE
= 1i32;
680 pub const WMDM_TYPE_BINARY
: WMDM_TAG_DATATYPE
= 2i32;
681 pub const WMDM_TYPE_BOOL
: WMDM_TAG_DATATYPE
= 3i32;
682 pub const WMDM_TYPE_QWORD
: WMDM_TAG_DATATYPE
= 4i32;
683 pub const WMDM_TYPE_WORD
: WMDM_TAG_DATATYPE
= 5i32;
684 pub const WMDM_TYPE_GUID
: WMDM_TAG_DATATYPE
= 6i32;
685 pub const WMDM_TYPE_DATE
: WMDM_TAG_DATATYPE
= 7i32;
686 pub const WMDM_WMDM_REVOKED
: u32 = 1u32;
688 #[cfg(feature = "Win32_Foundation")]
689 pub struct WMFILECAPABILITIES
{
690 pub pwszMimeType
: super::super::Foundation
::PWSTR
,
693 #[cfg(feature = "Win32_Foundation")]
694 impl ::core
::marker
::Copy
for WMFILECAPABILITIES {}
695 #[cfg(feature = "Win32_Foundation")]
696 impl ::core
::clone
::Clone
for WMFILECAPABILITIES
{
697 fn clone(&self) -> Self {
702 pub struct _BITMAPINFOHEADER
{
708 pub biCompression
: u32,
709 pub biSizeImage
: u32,
710 pub biXPelsPerMeter
: i32,
711 pub biYPelsPerMeter
: i32,
713 pub biClrImportant
: u32,
715 impl ::core
::marker
::Copy
for _BITMAPINFOHEADER {}
716 impl ::core
::clone
::Clone
for _BITMAPINFOHEADER
{
717 fn clone(&self) -> Self {
722 #[cfg(feature = "Win32_Foundation")]
723 pub struct _VIDEOINFOHEADER
{
724 pub rcSource
: super::super::Foundation
::RECT
,
725 pub rcTarget
: super::super::Foundation
::RECT
,
727 pub dwBitErrorRate
: u32,
728 pub AvgTimePerFrame
: i64,
729 pub bmiHeader
: _BITMAPINFOHEADER
,
731 #[cfg(feature = "Win32_Foundation")]
732 impl ::core
::marker
::Copy
for _VIDEOINFOHEADER {}
733 #[cfg(feature = "Win32_Foundation")]
734 impl ::core
::clone
::Clone
for _VIDEOINFOHEADER
{
735 fn clone(&self) -> Self {
740 pub struct _WAVEFORMATEX
{
743 pub nSamplesPerSec
: u32,
744 pub nAvgBytesPerSec
: u32,
745 pub nBlockAlign
: u16,
746 pub wBitsPerSample
: u16,
749 impl ::core
::marker
::Copy
for _WAVEFORMATEX {}
750 impl ::core
::clone
::Clone
for _WAVEFORMATEX
{
751 fn clone(&self) -> Self {
756 #[cfg(feature = "Win32_Foundation")]
757 pub struct __MACINFO
{
758 pub fUsed
: super::super::Foundation
::BOOL
,
759 pub abMacState
: [u8; 36],
761 #[cfg(feature = "Win32_Foundation")]
762 impl ::core
::marker
::Copy
for __MACINFO {}
763 #[cfg(feature = "Win32_Foundation")]
764 impl ::core
::clone
::Clone
for __MACINFO
{
765 fn clone(&self) -> Self {
769 pub const g_wszAudioWAVECodec
: &'
static str = "WMDM/AudioWAVECodec";
770 pub const g_wszVideoFourCCCodec
: &'
static str = "WMDM/VideoFourCCCodec";
771 pub const g_wszWMDMAlbumArt
: &'
static str = "WMDM/AlbumArt";
772 pub const g_wszWMDMAlbumArtist
: &'
static str = "WMDM/AlbumArtist";
773 pub const g_wszWMDMAlbumCoverData
: &'
static str = "WMDM/AlbumCoverData";
774 pub const g_wszWMDMAlbumCoverDuration
: &'
static str = "WMDM/AlbumCoverDuration";
775 pub const g_wszWMDMAlbumCoverFormat
: &'
static str = "WMDM/AlbumCoverFormat";
776 pub const g_wszWMDMAlbumCoverHeight
: &'
static str = "WMDM/AlbumCoverHeight";
777 pub const g_wszWMDMAlbumCoverSize
: &'
static str = "WMDM/AlbumCoverSize";
778 pub const g_wszWMDMAlbumCoverWidth
: &'
static str = "WMDM/AlbumCoverWidth";
779 pub const g_wszWMDMAlbumTitle
: &'
static str = "WMDM/AlbumTitle";
780 pub const g_wszWMDMAudioBitDepth
: &'
static str = "WMDM/AudioBitDepth";
781 pub const g_wszWMDMAuthor
: &'
static str = "WMDM/Author";
782 pub const g_wszWMDMAuthorDate
: &'
static str = "WMDM/AuthorDate";
783 pub const g_wszWMDMBitRateType
: &'
static str = "WMDM/BitRateType";
784 pub const g_wszWMDMBitrate
: &'
static str = "WMDM/Bitrate";
785 pub const g_wszWMDMBlockAlignment
: &'
static str = "WMDM/BlockAlignment";
786 pub const g_wszWMDMBufferSize
: &'
static str = "WMDM/BufferSize";
787 pub const g_wszWMDMBuyNow
: &'
static str = "WMDM/BuyNow";
788 pub const g_wszWMDMByteBookmark
: &'
static str = "WMDM/ByteBookmark";
789 pub const g_wszWMDMCategory
: &'
static str = "WMDM/Category";
790 pub const g_wszWMDMCodec
: &'
static str = "WMDM/Codec";
791 pub const g_wszWMDMCollectionID
: &'
static str = "WMDM/CollectionID";
792 pub const g_wszWMDMComposer
: &'
static str = "WMDM/Composer";
793 pub const g_wszWMDMDRMId
: &'
static str = "WMDM/DRMId";
794 pub const g_wszWMDMDataLength
: &'
static str = "WMDM/DataLength";
795 pub const g_wszWMDMDataOffset
: &'
static str = "WMDM/DataOffset";
796 pub const g_wszWMDMDataUnits
: &'
static str = "WMDM/DataUnits";
797 pub const g_wszWMDMDescription
: &'
static str = "WMDM/Description";
798 pub const g_wszWMDMDestinationURL
: &'
static str = "WMDM/DestinationURL";
799 pub const g_wszWMDMDeviceFirmwareVersion
: &'
static str = "WMDM/DeviceFirmwareVersion";
800 pub const g_wszWMDMDeviceFriendlyName
: &'
static str = "WMDM/DeviceFriendlyName";
801 pub const g_wszWMDMDeviceModelName
: &'
static str = "WMDM/DeviceModelName";
802 pub const g_wszWMDMDevicePlayCount
: &'
static str = "WMDM/DevicePlayCount";
803 pub const g_wszWMDMDeviceProtocol
: &'
static str = "WMDM/DeviceProtocol";
804 pub const g_wszWMDMDeviceRevocationInfo
: &'
static str = "WMDM/DeviceRevocationInfo";
805 pub const g_wszWMDMDeviceServiceProviderVendor
: &'
static str = "WMDM/DeviceServiceProviderVendor";
806 pub const g_wszWMDMDeviceVendorExtension
: &'
static str = "WMDM/DeviceVendorExtension";
807 pub const g_wszWMDMDuration
: &'
static str = "WMDM/Duration";
808 pub const g_wszWMDMEditor
: &'
static str = "WMDM/Editor";
809 pub const g_wszWMDMEncodingProfile
: &'
static str = "WMDM/EncodingProfile";
810 pub const g_wszWMDMFileAttributes
: &'
static str = "WMDM/FileAttributes";
811 pub const g_wszWMDMFileCreationDate
: &'
static str = "WMDM/FileCreationDate";
812 pub const g_wszWMDMFileName
: &'
static str = "WMDM/FileName";
813 pub const g_wszWMDMFileSize
: &'
static str = "WMDM/FileSize";
814 pub const g_wszWMDMFormatCode
: &'
static str = "WMDM/FormatCode";
815 pub const g_wszWMDMFormatsSupported
: &'
static str = "WMDM/FormatsSupported";
816 pub const g_wszWMDMFormatsSupportedAreOrdered
: &'
static str = "WMDM/FormatsSupportedAreOrdered";
817 pub const g_wszWMDMFrameRate
: &'
static str = "WMDM/FrameRate";
818 pub const g_wszWMDMGenre
: &'
static str = "WMDM/Genre";
819 pub const g_wszWMDMHeight
: &'
static str = "WMDM/Height";
820 pub const g_wszWMDMIsProtected
: &'
static str = "WMDM/IsProtected";
821 pub const g_wszWMDMIsRepeat
: &'
static str = "WMDM/IsRepeat";
822 pub const g_wszWMDMKeyFrameDistance
: &'
static str = "WMDM/KeyFrameDistance";
823 pub const g_wszWMDMLastModifiedDate
: &'
static str = "WMDM/LastModifiedDate";
824 pub const g_wszWMDMMediaClassSecondaryID
: &'
static str = "WMDM/MediaClassSecondaryID";
825 pub const g_wszWMDMMediaCredits
: &'
static str = "WMDM/MediaCredits";
826 pub const g_wszWMDMMediaGuid
: &'
static str = "WMDM/MediaGuid";
827 pub const g_wszWMDMMediaOriginalBroadcastDateTime
: &'
static str = "WMDM/MediaOriginalBroadcastDateTime";
828 pub const g_wszWMDMMediaOriginalChannel
: &'
static str = "WMDM/MediaOriginalChannel";
829 pub const g_wszWMDMMediaStationName
: &'
static str = "WMDM/MediaStationName";
830 pub const g_wszWMDMMetaGenre
: &'
static str = "WMDM/MetaGenre";
831 pub const g_wszWMDMNonConsumable
: &'
static str = "WMDM/NonConsumable";
832 pub const g_wszWMDMNumChannels
: &'
static str = "WMDM/NumChannels";
833 pub const g_wszWMDMObjectBookmark
: &'
static str = "WMDM/ObjectBookmark";
834 pub const g_wszWMDMOwner
: &'
static str = "WMDM/Owner";
835 pub const g_wszWMDMParentalRating
: &'
static str = "WMDM/ParentalRating";
836 pub const g_wszWMDMPersistentUniqueID
: &'
static str = "WMDM/PersistentUniqueID";
837 pub const g_wszWMDMPlayCount
: &'
static str = "WMDM/PlayCount";
838 pub const g_wszWMDMProviderCopyright
: &'
static str = "WMDM/ProviderCopyright";
839 pub const g_wszWMDMQualitySetting
: &'
static str = "WMDM/QualitySetting";
840 pub const g_wszWMDMSampleRate
: &'
static str = "WMDM/SampleRate";
841 pub const g_wszWMDMScanType
: &'
static str = "WMDM/ScanType";
842 pub const g_wszWMDMSourceURL
: &'
static str = "WMDM/SourceURL";
843 pub const g_wszWMDMSubTitle
: &'
static str = "WMDM/SubTitle";
844 pub const g_wszWMDMSubTitleDescription
: &'
static str = "WMDM/SubTitleDescription";
845 pub const g_wszWMDMSupportedDeviceProperties
: &'
static str = "WMDM/SupportedDeviceProperties";
846 pub const g_wszWMDMSyncID
: &'
static str = "WMDM/SyncID";
847 pub const g_wszWMDMSyncRelationshipID
: &'
static str = "WMDM/SyncRelationshipID";
848 pub const g_wszWMDMSyncTime
: &'
static str = "WMDM/SyncTime";
849 pub const g_wszWMDMTimeBookmark
: &'
static str = "WMDM/TimeBookmark";
850 pub const g_wszWMDMTimeToLive
: &'
static str = "WMDM/TimeToLive";
851 pub const g_wszWMDMTitle
: &'
static str = "WMDM/Title";
852 pub const g_wszWMDMTotalBitrate
: &'
static str = "WMDM/TotalBitrate";
853 pub const g_wszWMDMTrack
: &'
static str = "WMDM/Track";
854 pub const g_wszWMDMTrackMood
: &'
static str = "WMDM/TrackMood";
855 pub const g_wszWMDMUserEffectiveRating
: &'
static str = "WMDM/UserEffectiveRating";
856 pub const g_wszWMDMUserLastPlayTime
: &'
static str = "WMDM/UserLastPlayTime";
857 pub const g_wszWMDMUserRating
: &'
static str = "WMDM/UserRating";
858 pub const g_wszWMDMUserRatingOnDevice
: &'
static str = "WMDM/UserRatingOnDevice";
859 pub const g_wszWMDMVideoBitrate
: &'
static str = "WMDM/VideoBitrate";
860 pub const g_wszWMDMWebmaster
: &'
static str = "WMDM/Webmaster";
861 pub const g_wszWMDMWidth
: &'
static str = "WMDM/Width";
862 pub const g_wszWMDMYear
: &'
static str = "WMDM/Year";
863 pub const g_wszWMDMediaClassPrimaryID
: &'
static str = "WMDM/MediaClassPrimaryID";
864 pub const g_wszWPDPassthroughPropertyValues
: &'
static str = "WPD/PassthroughPropertyValues";