| 1 |
/*** Autogenerated by WIDL 11.5 from include/portabledevicetypes.idl - Do not edit ***/ |
| 2 |
|
| 3 |
#ifdef _WIN32 |
| 4 |
#ifndef __REQUIRED_RPCNDR_H_VERSION__ |
| 5 |
#define __REQUIRED_RPCNDR_H_VERSION__ 475 |
| 6 |
#endif |
| 7 |
#include <rpc.h> |
| 8 |
#include <rpcndr.h> |
| 9 |
#endif |
| 10 |
|
| 11 |
#ifndef COM_NO_WINDOWS_H |
| 12 |
#include <windows.h> |
| 13 |
#include <ole2.h> |
| 14 |
#endif |
| 15 |
|
| 16 |
#ifndef __portabledevicetypes_h__ |
| 17 |
#define __portabledevicetypes_h__ |
| 18 |
|
| 19 |
/* Forward declarations */ |
| 20 |
|
| 21 |
#ifndef __IWpdSerializer_FWD_DEFINED__ |
| 22 |
#define __IWpdSerializer_FWD_DEFINED__ |
| 23 |
typedef interface IWpdSerializer IWpdSerializer; |
| 24 |
#ifdef __cplusplus |
| 25 |
interface IWpdSerializer; |
| 26 |
#endif /* __cplusplus */ |
| 27 |
#endif |
| 28 |
|
| 29 |
#ifndef __IPortableDeviceValues_FWD_DEFINED__ |
| 30 |
#define __IPortableDeviceValues_FWD_DEFINED__ |
| 31 |
typedef interface IPortableDeviceValues IPortableDeviceValues; |
| 32 |
#ifdef __cplusplus |
| 33 |
interface IPortableDeviceValues; |
| 34 |
#endif /* __cplusplus */ |
| 35 |
#endif |
| 36 |
|
| 37 |
#ifndef __IPortableDeviceKeyCollection_FWD_DEFINED__ |
| 38 |
#define __IPortableDeviceKeyCollection_FWD_DEFINED__ |
| 39 |
typedef interface IPortableDeviceKeyCollection IPortableDeviceKeyCollection; |
| 40 |
#ifdef __cplusplus |
| 41 |
interface IPortableDeviceKeyCollection; |
| 42 |
#endif /* __cplusplus */ |
| 43 |
#endif |
| 44 |
|
| 45 |
#ifndef __IPortableDevicePropVariantCollection_FWD_DEFINED__ |
| 46 |
#define __IPortableDevicePropVariantCollection_FWD_DEFINED__ |
| 47 |
typedef interface IPortableDevicePropVariantCollection IPortableDevicePropVariantCollection; |
| 48 |
#ifdef __cplusplus |
| 49 |
interface IPortableDevicePropVariantCollection; |
| 50 |
#endif /* __cplusplus */ |
| 51 |
#endif |
| 52 |
|
| 53 |
#ifndef __IPortableDeviceValuesCollection_FWD_DEFINED__ |
| 54 |
#define __IPortableDeviceValuesCollection_FWD_DEFINED__ |
| 55 |
typedef interface IPortableDeviceValuesCollection IPortableDeviceValuesCollection; |
| 56 |
#ifdef __cplusplus |
| 57 |
interface IPortableDeviceValuesCollection; |
| 58 |
#endif /* __cplusplus */ |
| 59 |
#endif |
| 60 |
|
| 61 |
#ifndef __WpdSerializer_FWD_DEFINED__ |
| 62 |
#define __WpdSerializer_FWD_DEFINED__ |
| 63 |
#ifdef __cplusplus |
| 64 |
typedef class WpdSerializer WpdSerializer; |
| 65 |
#else |
| 66 |
typedef struct WpdSerializer WpdSerializer; |
| 67 |
#endif /* defined __cplusplus */ |
| 68 |
#endif /* defined __WpdSerializer_FWD_DEFINED__ */ |
| 69 |
|
| 70 |
#ifndef __PortableDeviceValues_FWD_DEFINED__ |
| 71 |
#define __PortableDeviceValues_FWD_DEFINED__ |
| 72 |
#ifdef __cplusplus |
| 73 |
typedef class PortableDeviceValues PortableDeviceValues; |
| 74 |
#else |
| 75 |
typedef struct PortableDeviceValues PortableDeviceValues; |
| 76 |
#endif /* defined __cplusplus */ |
| 77 |
#endif /* defined __PortableDeviceValues_FWD_DEFINED__ */ |
| 78 |
|
| 79 |
#ifndef __PortableDeviceKeyCollection_FWD_DEFINED__ |
| 80 |
#define __PortableDeviceKeyCollection_FWD_DEFINED__ |
| 81 |
#ifdef __cplusplus |
| 82 |
typedef class PortableDeviceKeyCollection PortableDeviceKeyCollection; |
| 83 |
#else |
| 84 |
typedef struct PortableDeviceKeyCollection PortableDeviceKeyCollection; |
| 85 |
#endif /* defined __cplusplus */ |
| 86 |
#endif /* defined __PortableDeviceKeyCollection_FWD_DEFINED__ */ |
| 87 |
|
| 88 |
#ifndef __PortableDevicePropVariantCollection_FWD_DEFINED__ |
| 89 |
#define __PortableDevicePropVariantCollection_FWD_DEFINED__ |
| 90 |
#ifdef __cplusplus |
| 91 |
typedef class PortableDevicePropVariantCollection PortableDevicePropVariantCollection; |
| 92 |
#else |
| 93 |
typedef struct PortableDevicePropVariantCollection PortableDevicePropVariantCollection; |
| 94 |
#endif /* defined __cplusplus */ |
| 95 |
#endif /* defined __PortableDevicePropVariantCollection_FWD_DEFINED__ */ |
| 96 |
|
| 97 |
#ifndef __PortableDeviceValuesCollection_FWD_DEFINED__ |
| 98 |
#define __PortableDeviceValuesCollection_FWD_DEFINED__ |
| 99 |
#ifdef __cplusplus |
| 100 |
typedef class PortableDeviceValuesCollection PortableDeviceValuesCollection; |
| 101 |
#else |
| 102 |
typedef struct PortableDeviceValuesCollection PortableDeviceValuesCollection; |
| 103 |
#endif /* defined __cplusplus */ |
| 104 |
#endif /* defined __PortableDeviceValuesCollection_FWD_DEFINED__ */ |
| 105 |
|
| 106 |
/* Headers for imported files */ |
| 107 |
|
| 108 |
#include <oaidl.h> |
| 109 |
#include <ocidl.h> |
| 110 |
#include <propsys.h> |
| 111 |
|
| 112 |
#ifdef __cplusplus |
| 113 |
extern "C" { |
| 114 |
#endif |
| 115 |
|
| 116 |
typedef enum tagWPD_STREAM_UNITS { |
| 117 |
WPD_STREAM_UNITS_BYTES = 0x0, |
| 118 |
WPD_STREAM_UNITS_FRAMES = 0x1, |
| 119 |
WPD_STREAM_UNITS_ROWS = 0x2, |
| 120 |
WPD_STREAM_UNITS_MILLISECONDS = 0x4, |
| 121 |
WPD_STREAM_UNITS_MICROSECONDS = 0x8 |
| 122 |
} WPD_STREAM_UNITS; |
| 123 |
#ifndef __IWpdSerializer_FWD_DEFINED__ |
| 124 |
#define __IWpdSerializer_FWD_DEFINED__ |
| 125 |
typedef interface IWpdSerializer IWpdSerializer; |
| 126 |
#ifdef __cplusplus |
| 127 |
interface IWpdSerializer; |
| 128 |
#endif /* __cplusplus */ |
| 129 |
#endif |
| 130 |
|
| 131 |
#ifndef __IPortableDeviceValues_FWD_DEFINED__ |
| 132 |
#define __IPortableDeviceValues_FWD_DEFINED__ |
| 133 |
typedef interface IPortableDeviceValues IPortableDeviceValues; |
| 134 |
#ifdef __cplusplus |
| 135 |
interface IPortableDeviceValues; |
| 136 |
#endif /* __cplusplus */ |
| 137 |
#endif |
| 138 |
|
| 139 |
#ifndef __IPortableDeviceKeyCollection_FWD_DEFINED__ |
| 140 |
#define __IPortableDeviceKeyCollection_FWD_DEFINED__ |
| 141 |
typedef interface IPortableDeviceKeyCollection IPortableDeviceKeyCollection; |
| 142 |
#ifdef __cplusplus |
| 143 |
interface IPortableDeviceKeyCollection; |
| 144 |
#endif /* __cplusplus */ |
| 145 |
#endif |
| 146 |
|
| 147 |
#ifndef __IPortableDevicePropVariantCollection_FWD_DEFINED__ |
| 148 |
#define __IPortableDevicePropVariantCollection_FWD_DEFINED__ |
| 149 |
typedef interface IPortableDevicePropVariantCollection IPortableDevicePropVariantCollection; |
| 150 |
#ifdef __cplusplus |
| 151 |
interface IPortableDevicePropVariantCollection; |
| 152 |
#endif /* __cplusplus */ |
| 153 |
#endif |
| 154 |
|
| 155 |
#ifndef __IPortableDeviceValuesCollection_FWD_DEFINED__ |
| 156 |
#define __IPortableDeviceValuesCollection_FWD_DEFINED__ |
| 157 |
typedef interface IPortableDeviceValuesCollection IPortableDeviceValuesCollection; |
| 158 |
#ifdef __cplusplus |
| 159 |
interface IPortableDeviceValuesCollection; |
| 160 |
#endif /* __cplusplus */ |
| 161 |
#endif |
| 162 |
|
| 163 |
/***************************************************************************** |
| 164 |
* IWpdSerializer interface |
| 165 |
*/ |
| 166 |
#ifndef __IWpdSerializer_INTERFACE_DEFINED__ |
| 167 |
#define __IWpdSerializer_INTERFACE_DEFINED__ |
| 168 |
|
| 169 |
DEFINE_GUID(IID_IWpdSerializer, 0xb32f4002, 0xbb27, 0x45ff, 0xaf,0x4f, 0x06,0x63,0x1c,0x1e,0x8d,0xad); |
| 170 |
#if defined(__cplusplus) && !defined(CINTERFACE) |
| 171 |
MIDL_INTERFACE("b32f4002-bb27-45ff-af4f-06631c1e8dad") |
| 172 |
IWpdSerializer : public IUnknown |
| 173 |
{ |
| 174 |
virtual HRESULT STDMETHODCALLTYPE GetIPortableDeviceValuesFromBuffer( |
| 175 |
BYTE *buffer, |
| 176 |
DWORD input_buffer_length, |
| 177 |
IPortableDeviceValues **params) = 0; |
| 178 |
|
| 179 |
virtual HRESULT STDMETHODCALLTYPE WriteIPortableDeviceValuesToBuffer( |
| 180 |
DWORD output_buffer_length, |
| 181 |
IPortableDeviceValues *results, |
| 182 |
BYTE *buffer, |
| 183 |
DWORD *bytes_written) = 0; |
| 184 |
|
| 185 |
virtual HRESULT STDMETHODCALLTYPE GetBufferFromIPortableDeviceValues( |
| 186 |
IPortableDeviceValues *source, |
| 187 |
BYTE **buffer, |
| 188 |
DWORD *buffer_size) = 0; |
| 189 |
|
| 190 |
virtual HRESULT STDMETHODCALLTYPE GetSerializedSize( |
| 191 |
IPortableDeviceValues *source, |
| 192 |
DWORD *size) = 0; |
| 193 |
|
| 194 |
}; |
| 195 |
#ifdef __CRT_UUID_DECL |
| 196 |
__CRT_UUID_DECL(IWpdSerializer, 0xb32f4002, 0xbb27, 0x45ff, 0xaf,0x4f, 0x06,0x63,0x1c,0x1e,0x8d,0xad) |
| 197 |
#endif |
| 198 |
#else |
| 199 |
typedef struct IWpdSerializerVtbl { |
| 200 |
BEGIN_INTERFACE |
| 201 |
|
| 202 |
/*** IUnknown methods ***/ |
| 203 |
HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 204 |
IWpdSerializer *This, |
| 205 |
REFIID riid, |
| 206 |
void **ppvObject); |
| 207 |
|
| 208 |
ULONG (STDMETHODCALLTYPE *AddRef)( |
| 209 |
IWpdSerializer *This); |
| 210 |
|
| 211 |
ULONG (STDMETHODCALLTYPE *Release)( |
| 212 |
IWpdSerializer *This); |
| 213 |
|
| 214 |
/*** IWpdSerializer methods ***/ |
| 215 |
HRESULT (STDMETHODCALLTYPE *GetIPortableDeviceValuesFromBuffer)( |
| 216 |
IWpdSerializer *This, |
| 217 |
BYTE *buffer, |
| 218 |
DWORD input_buffer_length, |
| 219 |
IPortableDeviceValues **params); |
| 220 |
|
| 221 |
HRESULT (STDMETHODCALLTYPE *WriteIPortableDeviceValuesToBuffer)( |
| 222 |
IWpdSerializer *This, |
| 223 |
DWORD output_buffer_length, |
| 224 |
IPortableDeviceValues *results, |
| 225 |
BYTE *buffer, |
| 226 |
DWORD *bytes_written); |
| 227 |
|
| 228 |
HRESULT (STDMETHODCALLTYPE *GetBufferFromIPortableDeviceValues)( |
| 229 |
IWpdSerializer *This, |
| 230 |
IPortableDeviceValues *source, |
| 231 |
BYTE **buffer, |
| 232 |
DWORD *buffer_size); |
| 233 |
|
| 234 |
HRESULT (STDMETHODCALLTYPE *GetSerializedSize)( |
| 235 |
IWpdSerializer *This, |
| 236 |
IPortableDeviceValues *source, |
| 237 |
DWORD *size); |
| 238 |
|
| 239 |
END_INTERFACE |
| 240 |
} IWpdSerializerVtbl; |
| 241 |
|
| 242 |
interface IWpdSerializer { |
| 243 |
CONST_VTBL IWpdSerializerVtbl* lpVtbl; |
| 244 |
}; |
| 245 |
|
| 246 |
#ifdef COBJMACROS |
| 247 |
#ifndef WIDL_C_INLINE_WRAPPERS |
| 248 |
/*** IUnknown methods ***/ |
| 249 |
#define IWpdSerializer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 250 |
#define IWpdSerializer_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 251 |
#define IWpdSerializer_Release(This) (This)->lpVtbl->Release(This) |
| 252 |
/*** IWpdSerializer methods ***/ |
| 253 |
#define IWpdSerializer_GetIPortableDeviceValuesFromBuffer(This,buffer,input_buffer_length,params) (This)->lpVtbl->GetIPortableDeviceValuesFromBuffer(This,buffer,input_buffer_length,params) |
| 254 |
#define IWpdSerializer_WriteIPortableDeviceValuesToBuffer(This,output_buffer_length,results,buffer,bytes_written) (This)->lpVtbl->WriteIPortableDeviceValuesToBuffer(This,output_buffer_length,results,buffer,bytes_written) |
| 255 |
#define IWpdSerializer_GetBufferFromIPortableDeviceValues(This,source,buffer,buffer_size) (This)->lpVtbl->GetBufferFromIPortableDeviceValues(This,source,buffer,buffer_size) |
| 256 |
#define IWpdSerializer_GetSerializedSize(This,source,size) (This)->lpVtbl->GetSerializedSize(This,source,size) |
| 257 |
#else |
| 258 |
/*** IUnknown methods ***/ |
| 259 |
static inline HRESULT IWpdSerializer_QueryInterface(IWpdSerializer* This,REFIID riid,void **ppvObject) { |
| 260 |
return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 261 |
} |
| 262 |
static inline ULONG IWpdSerializer_AddRef(IWpdSerializer* This) { |
| 263 |
return This->lpVtbl->AddRef(This); |
| 264 |
} |
| 265 |
static inline ULONG IWpdSerializer_Release(IWpdSerializer* This) { |
| 266 |
return This->lpVtbl->Release(This); |
| 267 |
} |
| 268 |
/*** IWpdSerializer methods ***/ |
| 269 |
static inline HRESULT IWpdSerializer_GetIPortableDeviceValuesFromBuffer(IWpdSerializer* This,BYTE *buffer,DWORD input_buffer_length,IPortableDeviceValues **params) { |
| 270 |
return This->lpVtbl->GetIPortableDeviceValuesFromBuffer(This,buffer,input_buffer_length,params); |
| 271 |
} |
| 272 |
static inline HRESULT IWpdSerializer_WriteIPortableDeviceValuesToBuffer(IWpdSerializer* This,DWORD output_buffer_length,IPortableDeviceValues *results,BYTE *buffer,DWORD *bytes_written) { |
| 273 |
return This->lpVtbl->WriteIPortableDeviceValuesToBuffer(This,output_buffer_length,results,buffer,bytes_written); |
| 274 |
} |
| 275 |
static inline HRESULT IWpdSerializer_GetBufferFromIPortableDeviceValues(IWpdSerializer* This,IPortableDeviceValues *source,BYTE **buffer,DWORD *buffer_size) { |
| 276 |
return This->lpVtbl->GetBufferFromIPortableDeviceValues(This,source,buffer,buffer_size); |
| 277 |
} |
| 278 |
static inline HRESULT IWpdSerializer_GetSerializedSize(IWpdSerializer* This,IPortableDeviceValues *source,DWORD *size) { |
| 279 |
return This->lpVtbl->GetSerializedSize(This,source,size); |
| 280 |
} |
| 281 |
#endif |
| 282 |
#endif |
| 283 |
|
| 284 |
#endif |
| 285 |
|
| 286 |
|
| 287 |
#endif /* __IWpdSerializer_INTERFACE_DEFINED__ */ |
| 288 |
|
| 289 |
/***************************************************************************** |
| 290 |
* IPortableDeviceValues interface |
| 291 |
*/ |
| 292 |
#ifndef __IPortableDeviceValues_INTERFACE_DEFINED__ |
| 293 |
#define __IPortableDeviceValues_INTERFACE_DEFINED__ |
| 294 |
|
| 295 |
DEFINE_GUID(IID_IPortableDeviceValues, 0x6848f6f2, 0x3155, 0x4f86, 0xb6,0xf5, 0x26,0x3e,0xee,0xab,0x31,0x43); |
| 296 |
#if defined(__cplusplus) && !defined(CINTERFACE) |
| 297 |
MIDL_INTERFACE("6848f6f2-3155-4f86-b6f5-263eeeab3143") |
| 298 |
IPortableDeviceValues : public IUnknown |
| 299 |
{ |
| 300 |
virtual HRESULT STDMETHODCALLTYPE GetCount( |
| 301 |
DWORD *pcelt) = 0; |
| 302 |
|
| 303 |
virtual HRESULT STDMETHODCALLTYPE GetAt( |
| 304 |
const DWORD index, |
| 305 |
PROPERTYKEY *pKey, |
| 306 |
PROPVARIANT *pValue) = 0; |
| 307 |
|
| 308 |
virtual HRESULT STDMETHODCALLTYPE SetValue( |
| 309 |
REFPROPERTYKEY key, |
| 310 |
const PROPVARIANT *pValue) = 0; |
| 311 |
|
| 312 |
virtual HRESULT STDMETHODCALLTYPE GetValue( |
| 313 |
REFPROPERTYKEY key, |
| 314 |
PROPVARIANT *pValue) = 0; |
| 315 |
|
| 316 |
virtual HRESULT STDMETHODCALLTYPE SetStringValue( |
| 317 |
REFPROPERTYKEY key, |
| 318 |
LPCWSTR Value) = 0; |
| 319 |
|
| 320 |
virtual HRESULT STDMETHODCALLTYPE GetStringValue( |
| 321 |
REFPROPERTYKEY key, |
| 322 |
LPWSTR *pValue) = 0; |
| 323 |
|
| 324 |
virtual HRESULT STDMETHODCALLTYPE SetUnsignedIntegerValue( |
| 325 |
REFPROPERTYKEY key, |
| 326 |
const ULONG Value) = 0; |
| 327 |
|
| 328 |
virtual HRESULT STDMETHODCALLTYPE GetUnsignedIntegerValue( |
| 329 |
REFPROPERTYKEY key, |
| 330 |
ULONG *pValue) = 0; |
| 331 |
|
| 332 |
virtual HRESULT STDMETHODCALLTYPE SetSignedIntegerValue( |
| 333 |
REFPROPERTYKEY key, |
| 334 |
const LONG Value) = 0; |
| 335 |
|
| 336 |
virtual HRESULT STDMETHODCALLTYPE GetSignedIntegerValue( |
| 337 |
REFPROPERTYKEY key, |
| 338 |
LONG *pValue) = 0; |
| 339 |
|
| 340 |
virtual HRESULT STDMETHODCALLTYPE SetUnsignedLargeIntegerValue( |
| 341 |
REFPROPERTYKEY key, |
| 342 |
const ULONGLONG Value) = 0; |
| 343 |
|
| 344 |
virtual HRESULT STDMETHODCALLTYPE GetUnsignedLargeIntegerValue( |
| 345 |
REFPROPERTYKEY key, |
| 346 |
ULONGLONG *pValue) = 0; |
| 347 |
|
| 348 |
virtual HRESULT STDMETHODCALLTYPE SetSignedLargeIntegerValue( |
| 349 |
REFPROPERTYKEY key, |
| 350 |
const LONGLONG Value) = 0; |
| 351 |
|
| 352 |
virtual HRESULT STDMETHODCALLTYPE GetSignedLargeIntegerValue( |
| 353 |
REFPROPERTYKEY key, |
| 354 |
LONGLONG *pValue) = 0; |
| 355 |
|
| 356 |
virtual HRESULT STDMETHODCALLTYPE SetFloatValue( |
| 357 |
REFPROPERTYKEY key, |
| 358 |
const FLOAT Value) = 0; |
| 359 |
|
| 360 |
virtual HRESULT STDMETHODCALLTYPE GetFloatValue( |
| 361 |
REFPROPERTYKEY key, |
| 362 |
FLOAT *pValue) = 0; |
| 363 |
|
| 364 |
virtual HRESULT STDMETHODCALLTYPE SetErrorValue( |
| 365 |
REFPROPERTYKEY key, |
| 366 |
const HRESULT Value) = 0; |
| 367 |
|
| 368 |
virtual HRESULT STDMETHODCALLTYPE GetErrorValue( |
| 369 |
REFPROPERTYKEY key, |
| 370 |
HRESULT *pValue) = 0; |
| 371 |
|
| 372 |
virtual HRESULT STDMETHODCALLTYPE SetKeyValue( |
| 373 |
REFPROPERTYKEY key, |
| 374 |
REFPROPERTYKEY Value) = 0; |
| 375 |
|
| 376 |
virtual HRESULT STDMETHODCALLTYPE GetKeyValue( |
| 377 |
REFPROPERTYKEY key, |
| 378 |
PROPERTYKEY *pValue) = 0; |
| 379 |
|
| 380 |
virtual HRESULT STDMETHODCALLTYPE SetBoolValue( |
| 381 |
REFPROPERTYKEY key, |
| 382 |
const WINBOOL Value) = 0; |
| 383 |
|
| 384 |
virtual HRESULT STDMETHODCALLTYPE GetBoolValue( |
| 385 |
REFPROPERTYKEY key, |
| 386 |
WINBOOL *pValue) = 0; |
| 387 |
|
| 388 |
virtual HRESULT STDMETHODCALLTYPE SetIUnknownValue( |
| 389 |
REFPROPERTYKEY key, |
| 390 |
IUnknown *pValue) = 0; |
| 391 |
|
| 392 |
virtual HRESULT STDMETHODCALLTYPE GetIUnknownValue( |
| 393 |
REFPROPERTYKEY key, |
| 394 |
IUnknown **ppValue) = 0; |
| 395 |
|
| 396 |
virtual HRESULT STDMETHODCALLTYPE SetGuidValue( |
| 397 |
REFPROPERTYKEY key, |
| 398 |
REFGUID Value) = 0; |
| 399 |
|
| 400 |
virtual HRESULT STDMETHODCALLTYPE GetGuidValue( |
| 401 |
REFPROPERTYKEY key, |
| 402 |
GUID *pValue) = 0; |
| 403 |
|
| 404 |
virtual HRESULT STDMETHODCALLTYPE SetBufferValue( |
| 405 |
REFPROPERTYKEY key, |
| 406 |
BYTE *pValue, |
| 407 |
DWORD cbValue) = 0; |
| 408 |
|
| 409 |
virtual HRESULT STDMETHODCALLTYPE GetBufferValue( |
| 410 |
REFPROPERTYKEY key, |
| 411 |
BYTE **ppValue, |
| 412 |
DWORD *pcbValue) = 0; |
| 413 |
|
| 414 |
virtual HRESULT STDMETHODCALLTYPE SetIPortableDeviceValuesValue( |
| 415 |
REFPROPERTYKEY key, |
| 416 |
IPortableDeviceValues *pValue) = 0; |
| 417 |
|
| 418 |
virtual HRESULT STDMETHODCALLTYPE GetIPortableDeviceValuesValue( |
| 419 |
REFPROPERTYKEY key, |
| 420 |
IPortableDeviceValues **ppValue) = 0; |
| 421 |
|
| 422 |
virtual HRESULT STDMETHODCALLTYPE SetIPortableDevicePropVariantCollectionValue( |
| 423 |
REFPROPERTYKEY key, |
| 424 |
IPortableDevicePropVariantCollection *pValue) = 0; |
| 425 |
|
| 426 |
virtual HRESULT STDMETHODCALLTYPE GetIPortableDevicePropVariantCollectionValue( |
| 427 |
REFPROPERTYKEY key, |
| 428 |
IPortableDevicePropVariantCollection **ppValue) = 0; |
| 429 |
|
| 430 |
virtual HRESULT STDMETHODCALLTYPE SetIPortableDeviceKeyCollectionValue( |
| 431 |
REFPROPERTYKEY key, |
| 432 |
IPortableDeviceKeyCollection *pValue) = 0; |
| 433 |
|
| 434 |
virtual HRESULT STDMETHODCALLTYPE GetIPortableDeviceKeyCollectionValue( |
| 435 |
REFPROPERTYKEY key, |
| 436 |
IPortableDeviceKeyCollection **ppValue) = 0; |
| 437 |
|
| 438 |
virtual HRESULT STDMETHODCALLTYPE SetIPortableDeviceValuesCollectionValue( |
| 439 |
REFPROPERTYKEY key, |
| 440 |
IPortableDeviceValuesCollection *pValue) = 0; |
| 441 |
|
| 442 |
virtual HRESULT STDMETHODCALLTYPE GetIPortableDeviceValuesCollectionValue( |
| 443 |
REFPROPERTYKEY key, |
| 444 |
IPortableDeviceValuesCollection **ppValue) = 0; |
| 445 |
|
| 446 |
virtual HRESULT STDMETHODCALLTYPE RemoveValue( |
| 447 |
REFPROPERTYKEY key) = 0; |
| 448 |
|
| 449 |
virtual HRESULT STDMETHODCALLTYPE CopyValuesFromPropertyStore( |
| 450 |
IPropertyStore *pStore) = 0; |
| 451 |
|
| 452 |
virtual HRESULT STDMETHODCALLTYPE CopyValuesToPropertyStore( |
| 453 |
IPropertyStore *pStore) = 0; |
| 454 |
|
| 455 |
virtual HRESULT STDMETHODCALLTYPE Clear( |
| 456 |
) = 0; |
| 457 |
|
| 458 |
}; |
| 459 |
#ifdef __CRT_UUID_DECL |
| 460 |
__CRT_UUID_DECL(IPortableDeviceValues, 0x6848f6f2, 0x3155, 0x4f86, 0xb6,0xf5, 0x26,0x3e,0xee,0xab,0x31,0x43) |
| 461 |
#endif |
| 462 |
#else |
| 463 |
typedef struct IPortableDeviceValuesVtbl { |
| 464 |
BEGIN_INTERFACE |
| 465 |
|
| 466 |
/*** IUnknown methods ***/ |
| 467 |
HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 468 |
IPortableDeviceValues *This, |
| 469 |
REFIID riid, |
| 470 |
void **ppvObject); |
| 471 |
|
| 472 |
ULONG (STDMETHODCALLTYPE *AddRef)( |
| 473 |
IPortableDeviceValues *This); |
| 474 |
|
| 475 |
ULONG (STDMETHODCALLTYPE *Release)( |
| 476 |
IPortableDeviceValues *This); |
| 477 |
|
| 478 |
/*** IPortableDeviceValues methods ***/ |
| 479 |
HRESULT (STDMETHODCALLTYPE *GetCount)( |
| 480 |
IPortableDeviceValues *This, |
| 481 |
DWORD *pcelt); |
| 482 |
|
| 483 |
HRESULT (STDMETHODCALLTYPE *GetAt)( |
| 484 |
IPortableDeviceValues *This, |
| 485 |
const DWORD index, |
| 486 |
PROPERTYKEY *pKey, |
| 487 |
PROPVARIANT *pValue); |
| 488 |
|
| 489 |
HRESULT (STDMETHODCALLTYPE *SetValue)( |
| 490 |
IPortableDeviceValues *This, |
| 491 |
REFPROPERTYKEY key, |
| 492 |
const PROPVARIANT *pValue); |
| 493 |
|
| 494 |
HRESULT (STDMETHODCALLTYPE *GetValue)( |
| 495 |
IPortableDeviceValues *This, |
| 496 |
REFPROPERTYKEY key, |
| 497 |
PROPVARIANT *pValue); |
| 498 |
|
| 499 |
HRESULT (STDMETHODCALLTYPE *SetStringValue)( |
| 500 |
IPortableDeviceValues *This, |
| 501 |
REFPROPERTYKEY key, |
| 502 |
LPCWSTR Value); |
| 503 |
|
| 504 |
HRESULT (STDMETHODCALLTYPE *GetStringValue)( |
| 505 |
IPortableDeviceValues *This, |
| 506 |
REFPROPERTYKEY key, |
| 507 |
LPWSTR *pValue); |
| 508 |
|
| 509 |
HRESULT (STDMETHODCALLTYPE *SetUnsignedIntegerValue)( |
| 510 |
IPortableDeviceValues *This, |
| 511 |
REFPROPERTYKEY key, |
| 512 |
const ULONG Value); |
| 513 |
|
| 514 |
HRESULT (STDMETHODCALLTYPE *GetUnsignedIntegerValue)( |
| 515 |
IPortableDeviceValues *This, |
| 516 |
REFPROPERTYKEY key, |
| 517 |
ULONG *pValue); |
| 518 |
|
| 519 |
HRESULT (STDMETHODCALLTYPE *SetSignedIntegerValue)( |
| 520 |
IPortableDeviceValues *This, |
| 521 |
REFPROPERTYKEY key, |
| 522 |
const LONG Value); |
| 523 |
|
| 524 |
HRESULT (STDMETHODCALLTYPE *GetSignedIntegerValue)( |
| 525 |
IPortableDeviceValues *This, |
| 526 |
REFPROPERTYKEY key, |
| 527 |
LONG *pValue); |
| 528 |
|
| 529 |
HRESULT (STDMETHODCALLTYPE *SetUnsignedLargeIntegerValue)( |
| 530 |
IPortableDeviceValues *This, |
| 531 |
REFPROPERTYKEY key, |
| 532 |
const ULONGLONG Value); |
| 533 |
|
| 534 |
HRESULT (STDMETHODCALLTYPE *GetUnsignedLargeIntegerValue)( |
| 535 |
IPortableDeviceValues *This, |
| 536 |
REFPROPERTYKEY key, |
| 537 |
ULONGLONG *pValue); |
| 538 |
|
| 539 |
HRESULT (STDMETHODCALLTYPE *SetSignedLargeIntegerValue)( |
| 540 |
IPortableDeviceValues *This, |
| 541 |
REFPROPERTYKEY key, |
| 542 |
const LONGLONG Value); |
| 543 |
|
| 544 |
HRESULT (STDMETHODCALLTYPE *GetSignedLargeIntegerValue)( |
| 545 |
IPortableDeviceValues *This, |
| 546 |
REFPROPERTYKEY key, |
| 547 |
LONGLONG *pValue); |
| 548 |
|
| 549 |
HRESULT (STDMETHODCALLTYPE *SetFloatValue)( |
| 550 |
IPortableDeviceValues *This, |
| 551 |
REFPROPERTYKEY key, |
| 552 |
const FLOAT Value); |
| 553 |
|
| 554 |
HRESULT (STDMETHODCALLTYPE *GetFloatValue)( |
| 555 |
IPortableDeviceValues *This, |
| 556 |
REFPROPERTYKEY key, |
| 557 |
FLOAT *pValue); |
| 558 |
|
| 559 |
HRESULT (STDMETHODCALLTYPE *SetErrorValue)( |
| 560 |
IPortableDeviceValues *This, |
| 561 |
REFPROPERTYKEY key, |
| 562 |
const HRESULT Value); |
| 563 |
|
| 564 |
HRESULT (STDMETHODCALLTYPE *GetErrorValue)( |
| 565 |
IPortableDeviceValues *This, |
| 566 |
REFPROPERTYKEY key, |
| 567 |
HRESULT *pValue); |
| 568 |
|
| 569 |
HRESULT (STDMETHODCALLTYPE *SetKeyValue)( |
| 570 |
IPortableDeviceValues *This, |
| 571 |
REFPROPERTYKEY key, |
| 572 |
REFPROPERTYKEY Value); |
| 573 |
|
| 574 |
HRESULT (STDMETHODCALLTYPE *GetKeyValue)( |
| 575 |
IPortableDeviceValues *This, |
| 576 |
REFPROPERTYKEY key, |
| 577 |
PROPERTYKEY *pValue); |
| 578 |
|
| 579 |
HRESULT (STDMETHODCALLTYPE *SetBoolValue)( |
| 580 |
IPortableDeviceValues *This, |
| 581 |
REFPROPERTYKEY key, |
| 582 |
const WINBOOL Value); |
| 583 |
|
| 584 |
HRESULT (STDMETHODCALLTYPE *GetBoolValue)( |
| 585 |
IPortableDeviceValues *This, |
| 586 |
REFPROPERTYKEY key, |
| 587 |
WINBOOL *pValue); |
| 588 |
|
| 589 |
HRESULT (STDMETHODCALLTYPE *SetIUnknownValue)( |
| 590 |
IPortableDeviceValues *This, |
| 591 |
REFPROPERTYKEY key, |
| 592 |
IUnknown *pValue); |
| 593 |
|
| 594 |
HRESULT (STDMETHODCALLTYPE *GetIUnknownValue)( |
| 595 |
IPortableDeviceValues *This, |
| 596 |
REFPROPERTYKEY key, |
| 597 |
IUnknown **ppValue); |
| 598 |
|
| 599 |
HRESULT (STDMETHODCALLTYPE *SetGuidValue)( |
| 600 |
IPortableDeviceValues *This, |
| 601 |
REFPROPERTYKEY key, |
| 602 |
REFGUID Value); |
| 603 |
|
| 604 |
HRESULT (STDMETHODCALLTYPE *GetGuidValue)( |
| 605 |
IPortableDeviceValues *This, |
| 606 |
REFPROPERTYKEY key, |
| 607 |
GUID *pValue); |
| 608 |
|
| 609 |
HRESULT (STDMETHODCALLTYPE *SetBufferValue)( |
| 610 |
IPortableDeviceValues *This, |
| 611 |
REFPROPERTYKEY key, |
| 612 |
BYTE *pValue, |
| 613 |
DWORD cbValue); |
| 614 |
|
| 615 |
HRESULT (STDMETHODCALLTYPE *GetBufferValue)( |
| 616 |
IPortableDeviceValues *This, |
| 617 |
REFPROPERTYKEY key, |
| 618 |
BYTE **ppValue, |
| 619 |
DWORD *pcbValue); |
| 620 |
|
| 621 |
HRESULT (STDMETHODCALLTYPE *SetIPortableDeviceValuesValue)( |
| 622 |
IPortableDeviceValues *This, |
| 623 |
REFPROPERTYKEY key, |
| 624 |
IPortableDeviceValues *pValue); |
| 625 |
|
| 626 |
HRESULT (STDMETHODCALLTYPE *GetIPortableDeviceValuesValue)( |
| 627 |
IPortableDeviceValues *This, |
| 628 |
REFPROPERTYKEY key, |
| 629 |
IPortableDeviceValues **ppValue); |
| 630 |
|
| 631 |
HRESULT (STDMETHODCALLTYPE *SetIPortableDevicePropVariantCollectionValue)( |
| 632 |
IPortableDeviceValues *This, |
| 633 |
REFPROPERTYKEY key, |
| 634 |
IPortableDevicePropVariantCollection *pValue); |
| 635 |
|
| 636 |
HRESULT (STDMETHODCALLTYPE *GetIPortableDevicePropVariantCollectionValue)( |
| 637 |
IPortableDeviceValues *This, |
| 638 |
REFPROPERTYKEY key, |
| 639 |
IPortableDevicePropVariantCollection **ppValue); |
| 640 |
|
| 641 |
HRESULT (STDMETHODCALLTYPE *SetIPortableDeviceKeyCollectionValue)( |
| 642 |
IPortableDeviceValues *This, |
| 643 |
REFPROPERTYKEY key, |
| 644 |
IPortableDeviceKeyCollection *pValue); |
| 645 |
|
| 646 |
HRESULT (STDMETHODCALLTYPE *GetIPortableDeviceKeyCollectionValue)( |
| 647 |
IPortableDeviceValues *This, |
| 648 |
REFPROPERTYKEY key, |
| 649 |
IPortableDeviceKeyCollection **ppValue); |
| 650 |
|
| 651 |
HRESULT (STDMETHODCALLTYPE *SetIPortableDeviceValuesCollectionValue)( |
| 652 |
IPortableDeviceValues *This, |
| 653 |
REFPROPERTYKEY key, |
| 654 |
IPortableDeviceValuesCollection *pValue); |
| 655 |
|
| 656 |
HRESULT (STDMETHODCALLTYPE *GetIPortableDeviceValuesCollectionValue)( |
| 657 |
IPortableDeviceValues *This, |
| 658 |
REFPROPERTYKEY key, |
| 659 |
IPortableDeviceValuesCollection **ppValue); |
| 660 |
|
| 661 |
HRESULT (STDMETHODCALLTYPE *RemoveValue)( |
| 662 |
IPortableDeviceValues *This, |
| 663 |
REFPROPERTYKEY key); |
| 664 |
|
| 665 |
HRESULT (STDMETHODCALLTYPE *CopyValuesFromPropertyStore)( |
| 666 |
IPortableDeviceValues *This, |
| 667 |
IPropertyStore *pStore); |
| 668 |
|
| 669 |
HRESULT (STDMETHODCALLTYPE *CopyValuesToPropertyStore)( |
| 670 |
IPortableDeviceValues *This, |
| 671 |
IPropertyStore *pStore); |
| 672 |
|
| 673 |
HRESULT (STDMETHODCALLTYPE *Clear)( |
| 674 |
IPortableDeviceValues *This); |
| 675 |
|
| 676 |
END_INTERFACE |
| 677 |
} IPortableDeviceValuesVtbl; |
| 678 |
|
| 679 |
interface IPortableDeviceValues { |
| 680 |
CONST_VTBL IPortableDeviceValuesVtbl* lpVtbl; |
| 681 |
}; |
| 682 |
|
| 683 |
#ifdef COBJMACROS |
| 684 |
#ifndef WIDL_C_INLINE_WRAPPERS |
| 685 |
/*** IUnknown methods ***/ |
| 686 |
#define IPortableDeviceValues_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 687 |
#define IPortableDeviceValues_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 688 |
#define IPortableDeviceValues_Release(This) (This)->lpVtbl->Release(This) |
| 689 |
/*** IPortableDeviceValues methods ***/ |
| 690 |
#define IPortableDeviceValues_GetCount(This,pcelt) (This)->lpVtbl->GetCount(This,pcelt) |
| 691 |
#define IPortableDeviceValues_GetAt(This,index,pKey,pValue) (This)->lpVtbl->GetAt(This,index,pKey,pValue) |
| 692 |
#define IPortableDeviceValues_SetValue(This,key,pValue) (This)->lpVtbl->SetValue(This,key,pValue) |
| 693 |
#define IPortableDeviceValues_GetValue(This,key,pValue) (This)->lpVtbl->GetValue(This,key,pValue) |
| 694 |
#define IPortableDeviceValues_SetStringValue(This,key,Value) (This)->lpVtbl->SetStringValue(This,key,Value) |
| 695 |
#define IPortableDeviceValues_GetStringValue(This,key,pValue) (This)->lpVtbl->GetStringValue(This,key,pValue) |
| 696 |
#define IPortableDeviceValues_SetUnsignedIntegerValue(This,key,Value) (This)->lpVtbl->SetUnsignedIntegerValue(This,key,Value) |
| 697 |
#define IPortableDeviceValues_GetUnsignedIntegerValue(This,key,pValue) (This)->lpVtbl->GetUnsignedIntegerValue(This,key,pValue) |
| 698 |
#define IPortableDeviceValues_SetSignedIntegerValue(This,key,Value) (This)->lpVtbl->SetSignedIntegerValue(This,key,Value) |
| 699 |
#define IPortableDeviceValues_GetSignedIntegerValue(This,key,pValue) (This)->lpVtbl->GetSignedIntegerValue(This,key,pValue) |
| 700 |
#define IPortableDeviceValues_SetUnsignedLargeIntegerValue(This,key,Value) (This)->lpVtbl->SetUnsignedLargeIntegerValue(This,key,Value) |
| 701 |
#define IPortableDeviceValues_GetUnsignedLargeIntegerValue(This,key,pValue) (This)->lpVtbl->GetUnsignedLargeIntegerValue(This,key,pValue) |
| 702 |
#define IPortableDeviceValues_SetSignedLargeIntegerValue(This,key,Value) (This)->lpVtbl->SetSignedLargeIntegerValue(This,key,Value) |
| 703 |
#define IPortableDeviceValues_GetSignedLargeIntegerValue(This,key,pValue) (This)->lpVtbl->GetSignedLargeIntegerValue(This,key,pValue) |
| 704 |
#define IPortableDeviceValues_SetFloatValue(This,key,Value) (This)->lpVtbl->SetFloatValue(This,key,Value) |
| 705 |
#define IPortableDeviceValues_GetFloatValue(This,key,pValue) (This)->lpVtbl->GetFloatValue(This,key,pValue) |
| 706 |
#define IPortableDeviceValues_SetErrorValue(This,key,Value) (This)->lpVtbl->SetErrorValue(This,key,Value) |
| 707 |
#define IPortableDeviceValues_GetErrorValue(This,key,pValue) (This)->lpVtbl->GetErrorValue(This,key,pValue) |
| 708 |
#define IPortableDeviceValues_SetKeyValue(This,key,Value) (This)->lpVtbl->SetKeyValue(This,key,Value) |
| 709 |
#define IPortableDeviceValues_GetKeyValue(This,key,pValue) (This)->lpVtbl->GetKeyValue(This,key,pValue) |
| 710 |
#define IPortableDeviceValues_SetBoolValue(This,key,Value) (This)->lpVtbl->SetBoolValue(This,key,Value) |
| 711 |
#define IPortableDeviceValues_GetBoolValue(This,key,pValue) (This)->lpVtbl->GetBoolValue(This,key,pValue) |
| 712 |
#define IPortableDeviceValues_SetIUnknownValue(This,key,pValue) (This)->lpVtbl->SetIUnknownValue(This,key,pValue) |
| 713 |
#define IPortableDeviceValues_GetIUnknownValue(This,key,ppValue) (This)->lpVtbl->GetIUnknownValue(This,key,ppValue) |
| 714 |
#define IPortableDeviceValues_SetGuidValue(This,key,Value) (This)->lpVtbl->SetGuidValue(This,key,Value) |
| 715 |
#define IPortableDeviceValues_GetGuidValue(This,key,pValue) (This)->lpVtbl->GetGuidValue(This,key,pValue) |
| 716 |
#define IPortableDeviceValues_SetBufferValue(This,key,pValue,cbValue) (This)->lpVtbl->SetBufferValue(This,key,pValue,cbValue) |
| 717 |
#define IPortableDeviceValues_GetBufferValue(This,key,ppValue,pcbValue) (This)->lpVtbl->GetBufferValue(This,key,ppValue,pcbValue) |
| 718 |
#define IPortableDeviceValues_SetIPortableDeviceValuesValue(This,key,pValue) (This)->lpVtbl->SetIPortableDeviceValuesValue(This,key,pValue) |
| 719 |
#define IPortableDeviceValues_GetIPortableDeviceValuesValue(This,key,ppValue) (This)->lpVtbl->GetIPortableDeviceValuesValue(This,key,ppValue) |
| 720 |
#define IPortableDeviceValues_SetIPortableDevicePropVariantCollectionValue(This,key,pValue) (This)->lpVtbl->SetIPortableDevicePropVariantCollectionValue(This,key,pValue) |
| 721 |
#define IPortableDeviceValues_GetIPortableDevicePropVariantCollectionValue(This,key,ppValue) (This)->lpVtbl->GetIPortableDevicePropVariantCollectionValue(This,key,ppValue) |
| 722 |
#define IPortableDeviceValues_SetIPortableDeviceKeyCollectionValue(This,key,pValue) (This)->lpVtbl->SetIPortableDeviceKeyCollectionValue(This,key,pValue) |
| 723 |
#define IPortableDeviceValues_GetIPortableDeviceKeyCollectionValue(This,key,ppValue) (This)->lpVtbl->GetIPortableDeviceKeyCollectionValue(This,key,ppValue) |
| 724 |
#define IPortableDeviceValues_SetIPortableDeviceValuesCollectionValue(This,key,pValue) (This)->lpVtbl->SetIPortableDeviceValuesCollectionValue(This,key,pValue) |
| 725 |
#define IPortableDeviceValues_GetIPortableDeviceValuesCollectionValue(This,key,ppValue) (This)->lpVtbl->GetIPortableDeviceValuesCollectionValue(This,key,ppValue) |
| 726 |
#define IPortableDeviceValues_RemoveValue(This,key) (This)->lpVtbl->RemoveValue(This,key) |
| 727 |
#define IPortableDeviceValues_CopyValuesFromPropertyStore(This,pStore) (This)->lpVtbl->CopyValuesFromPropertyStore(This,pStore) |
| 728 |
#define IPortableDeviceValues_CopyValuesToPropertyStore(This,pStore) (This)->lpVtbl->CopyValuesToPropertyStore(This,pStore) |
| 729 |
#define IPortableDeviceValues_Clear(This) (This)->lpVtbl->Clear(This) |
| 730 |
#else |
| 731 |
/*** IUnknown methods ***/ |
| 732 |
static inline HRESULT IPortableDeviceValues_QueryInterface(IPortableDeviceValues* This,REFIID riid,void **ppvObject) { |
| 733 |
return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 734 |
} |
| 735 |
static inline ULONG IPortableDeviceValues_AddRef(IPortableDeviceValues* This) { |
| 736 |
return This->lpVtbl->AddRef(This); |
| 737 |
} |
| 738 |
static inline ULONG IPortableDeviceValues_Release(IPortableDeviceValues* This) { |
| 739 |
return This->lpVtbl->Release(This); |
| 740 |
} |
| 741 |
/*** IPortableDeviceValues methods ***/ |
| 742 |
static inline HRESULT IPortableDeviceValues_GetCount(IPortableDeviceValues* This,DWORD *pcelt) { |
| 743 |
return This->lpVtbl->GetCount(This,pcelt); |
| 744 |
} |
| 745 |
static inline HRESULT IPortableDeviceValues_GetAt(IPortableDeviceValues* This,const DWORD index,PROPERTYKEY *pKey,PROPVARIANT *pValue) { |
| 746 |
return This->lpVtbl->GetAt(This,index,pKey,pValue); |
| 747 |
} |
| 748 |
static inline HRESULT IPortableDeviceValues_SetValue(IPortableDeviceValues* This,REFPROPERTYKEY key,const PROPVARIANT *pValue) { |
| 749 |
return This->lpVtbl->SetValue(This,key,pValue); |
| 750 |
} |
| 751 |
static inline HRESULT IPortableDeviceValues_GetValue(IPortableDeviceValues* This,REFPROPERTYKEY key,PROPVARIANT *pValue) { |
| 752 |
return This->lpVtbl->GetValue(This,key,pValue); |
| 753 |
} |
| 754 |
static inline HRESULT IPortableDeviceValues_SetStringValue(IPortableDeviceValues* This,REFPROPERTYKEY key,LPCWSTR Value) { |
| 755 |
return This->lpVtbl->SetStringValue(This,key,Value); |
| 756 |
} |
| 757 |
static inline HRESULT IPortableDeviceValues_GetStringValue(IPortableDeviceValues* This,REFPROPERTYKEY key,LPWSTR *pValue) { |
| 758 |
return This->lpVtbl->GetStringValue(This,key,pValue); |
| 759 |
} |
| 760 |
static inline HRESULT IPortableDeviceValues_SetUnsignedIntegerValue(IPortableDeviceValues* This,REFPROPERTYKEY key,const ULONG Value) { |
| 761 |
return This->lpVtbl->SetUnsignedIntegerValue(This,key,Value); |
| 762 |
} |
| 763 |
static inline HRESULT IPortableDeviceValues_GetUnsignedIntegerValue(IPortableDeviceValues* This,REFPROPERTYKEY key,ULONG *pValue) { |
| 764 |
return This->lpVtbl->GetUnsignedIntegerValue(This,key,pValue); |
| 765 |
} |
| 766 |
static inline HRESULT IPortableDeviceValues_SetSignedIntegerValue(IPortableDeviceValues* This,REFPROPERTYKEY key,const LONG Value) { |
| 767 |
return This->lpVtbl->SetSignedIntegerValue(This,key,Value); |
| 768 |
} |
| 769 |
static inline HRESULT IPortableDeviceValues_GetSignedIntegerValue(IPortableDeviceValues* This,REFPROPERTYKEY key,LONG *pValue) { |
| 770 |
return This->lpVtbl->GetSignedIntegerValue(This,key,pValue); |
| 771 |
} |
| 772 |
static inline HRESULT IPortableDeviceValues_SetUnsignedLargeIntegerValue(IPortableDeviceValues* This,REFPROPERTYKEY key,const ULONGLONG Value) { |
| 773 |
return This->lpVtbl->SetUnsignedLargeIntegerValue(This,key,Value); |
| 774 |
} |
| 775 |
static inline HRESULT IPortableDeviceValues_GetUnsignedLargeIntegerValue(IPortableDeviceValues* This,REFPROPERTYKEY key,ULONGLONG *pValue) { |
| 776 |
return This->lpVtbl->GetUnsignedLargeIntegerValue(This,key,pValue); |
| 777 |
} |
| 778 |
static inline HRESULT IPortableDeviceValues_SetSignedLargeIntegerValue(IPortableDeviceValues* This,REFPROPERTYKEY key,const LONGLONG Value) { |
| 779 |
return This->lpVtbl->SetSignedLargeIntegerValue(This,key,Value); |
| 780 |
} |
| 781 |
static inline HRESULT IPortableDeviceValues_GetSignedLargeIntegerValue(IPortableDeviceValues* This,REFPROPERTYKEY key,LONGLONG *pValue) { |
| 782 |
return This->lpVtbl->GetSignedLargeIntegerValue(This,key,pValue); |
| 783 |
} |
| 784 |
static inline HRESULT IPortableDeviceValues_SetFloatValue(IPortableDeviceValues* This,REFPROPERTYKEY key,const FLOAT Value) { |
| 785 |
return This->lpVtbl->SetFloatValue(This,key,Value); |
| 786 |
} |
| 787 |
static inline HRESULT IPortableDeviceValues_GetFloatValue(IPortableDeviceValues* This,REFPROPERTYKEY key,FLOAT *pValue) { |
| 788 |
return This->lpVtbl->GetFloatValue(This,key,pValue); |
| 789 |
} |
| 790 |
static inline HRESULT IPortableDeviceValues_SetErrorValue(IPortableDeviceValues* This,REFPROPERTYKEY key,const HRESULT Value) { |
| 791 |
return This->lpVtbl->SetErrorValue(This,key,Value); |
| 792 |
} |
| 793 |
static inline HRESULT IPortableDeviceValues_GetErrorValue(IPortableDeviceValues* This,REFPROPERTYKEY key,HRESULT *pValue) { |
| 794 |
return This->lpVtbl->GetErrorValue(This,key,pValue); |
| 795 |
} |
| 796 |
static inline HRESULT IPortableDeviceValues_SetKeyValue(IPortableDeviceValues* This,REFPROPERTYKEY key,REFPROPERTYKEY Value) { |
| 797 |
return This->lpVtbl->SetKeyValue(This,key,Value); |
| 798 |
} |
| 799 |
static inline HRESULT IPortableDeviceValues_GetKeyValue(IPortableDeviceValues* This,REFPROPERTYKEY key,PROPERTYKEY *pValue) { |
| 800 |
return This->lpVtbl->GetKeyValue(This,key,pValue); |
| 801 |
} |
| 802 |
static inline HRESULT IPortableDeviceValues_SetBoolValue(IPortableDeviceValues* This,REFPROPERTYKEY key,const WINBOOL Value) { |
| 803 |
return This->lpVtbl->SetBoolValue(This,key,Value); |
| 804 |
} |
| 805 |
static inline HRESULT IPortableDeviceValues_GetBoolValue(IPortableDeviceValues* This,REFPROPERTYKEY key,WINBOOL *pValue) { |
| 806 |
return This->lpVtbl->GetBoolValue(This,key,pValue); |
| 807 |
} |
| 808 |
static inline HRESULT IPortableDeviceValues_SetIUnknownValue(IPortableDeviceValues* This,REFPROPERTYKEY key,IUnknown *pValue) { |
| 809 |
return This->lpVtbl->SetIUnknownValue(This,key,pValue); |
| 810 |
} |
| 811 |
static inline HRESULT IPortableDeviceValues_GetIUnknownValue(IPortableDeviceValues* This,REFPROPERTYKEY key,IUnknown **ppValue) { |
| 812 |
return This->lpVtbl->GetIUnknownValue(This,key,ppValue); |
| 813 |
} |
| 814 |
static inline HRESULT IPortableDeviceValues_SetGuidValue(IPortableDeviceValues* This,REFPROPERTYKEY key,REFGUID Value) { |
| 815 |
return This->lpVtbl->SetGuidValue(This,key,Value); |
| 816 |
} |
| 817 |
static inline HRESULT IPortableDeviceValues_GetGuidValue(IPortableDeviceValues* This,REFPROPERTYKEY key,GUID *pValue) { |
| 818 |
return This->lpVtbl->GetGuidValue(This,key,pValue); |
| 819 |
} |
| 820 |
static inline HRESULT IPortableDeviceValues_SetBufferValue(IPortableDeviceValues* This,REFPROPERTYKEY key,BYTE *pValue,DWORD cbValue) { |
| 821 |
return This->lpVtbl->SetBufferValue(This,key,pValue,cbValue); |
| 822 |
} |
| 823 |
static inline HRESULT IPortableDeviceValues_GetBufferValue(IPortableDeviceValues* This,REFPROPERTYKEY key,BYTE **ppValue,DWORD *pcbValue) { |
| 824 |
return This->lpVtbl->GetBufferValue(This,key,ppValue,pcbValue); |
| 825 |
} |
| 826 |
static inline HRESULT IPortableDeviceValues_SetIPortableDeviceValuesValue(IPortableDeviceValues* This,REFPROPERTYKEY key,IPortableDeviceValues *pValue) { |
| 827 |
return This->lpVtbl->SetIPortableDeviceValuesValue(This,key,pValue); |
| 828 |
} |
| 829 |
static inline HRESULT IPortableDeviceValues_GetIPortableDeviceValuesValue(IPortableDeviceValues* This,REFPROPERTYKEY key,IPortableDeviceValues **ppValue) { |
| 830 |
return This->lpVtbl->GetIPortableDeviceValuesValue(This,key,ppValue); |
| 831 |
} |
| 832 |
static inline HRESULT IPortableDeviceValues_SetIPortableDevicePropVariantCollectionValue(IPortableDeviceValues* This,REFPROPERTYKEY key,IPortableDevicePropVariantCollection *pValue) { |
| 833 |
return This->lpVtbl->SetIPortableDevicePropVariantCollectionValue(This,key,pValue); |
| 834 |
} |
| 835 |
static inline HRESULT IPortableDeviceValues_GetIPortableDevicePropVariantCollectionValue(IPortableDeviceValues* This,REFPROPERTYKEY key,IPortableDevicePropVariantCollection **ppValue) { |
| 836 |
return This->lpVtbl->GetIPortableDevicePropVariantCollectionValue(This,key,ppValue); |
| 837 |
} |
| 838 |
static inline HRESULT IPortableDeviceValues_SetIPortableDeviceKeyCollectionValue(IPortableDeviceValues* This,REFPROPERTYKEY key,IPortableDeviceKeyCollection *pValue) { |
| 839 |
return This->lpVtbl->SetIPortableDeviceKeyCollectionValue(This,key,pValue); |
| 840 |
} |
| 841 |
static inline HRESULT IPortableDeviceValues_GetIPortableDeviceKeyCollectionValue(IPortableDeviceValues* This,REFPROPERTYKEY key,IPortableDeviceKeyCollection **ppValue) { |
| 842 |
return This->lpVtbl->GetIPortableDeviceKeyCollectionValue(This,key,ppValue); |
| 843 |
} |
| 844 |
static inline HRESULT IPortableDeviceValues_SetIPortableDeviceValuesCollectionValue(IPortableDeviceValues* This,REFPROPERTYKEY key,IPortableDeviceValuesCollection *pValue) { |
| 845 |
return This->lpVtbl->SetIPortableDeviceValuesCollectionValue(This,key,pValue); |
| 846 |
} |
| 847 |
static inline HRESULT IPortableDeviceValues_GetIPortableDeviceValuesCollectionValue(IPortableDeviceValues* This,REFPROPERTYKEY key,IPortableDeviceValuesCollection **ppValue) { |
| 848 |
return This->lpVtbl->GetIPortableDeviceValuesCollectionValue(This,key,ppValue); |
| 849 |
} |
| 850 |
static inline HRESULT IPortableDeviceValues_RemoveValue(IPortableDeviceValues* This,REFPROPERTYKEY key) { |
| 851 |
return This->lpVtbl->RemoveValue(This,key); |
| 852 |
} |
| 853 |
static inline HRESULT IPortableDeviceValues_CopyValuesFromPropertyStore(IPortableDeviceValues* This,IPropertyStore *pStore) { |
| 854 |
return This->lpVtbl->CopyValuesFromPropertyStore(This,pStore); |
| 855 |
} |
| 856 |
static inline HRESULT IPortableDeviceValues_CopyValuesToPropertyStore(IPortableDeviceValues* This,IPropertyStore *pStore) { |
| 857 |
return This->lpVtbl->CopyValuesToPropertyStore(This,pStore); |
| 858 |
} |
| 859 |
static inline HRESULT IPortableDeviceValues_Clear(IPortableDeviceValues* This) { |
| 860 |
return This->lpVtbl->Clear(This); |
| 861 |
} |
| 862 |
#endif |
| 863 |
#endif |
| 864 |
|
| 865 |
#endif |
| 866 |
|
| 867 |
|
| 868 |
#endif /* __IPortableDeviceValues_INTERFACE_DEFINED__ */ |
| 869 |
|
| 870 |
/***************************************************************************** |
| 871 |
* IPortableDeviceKeyCollection interface |
| 872 |
*/ |
| 873 |
#ifndef __IPortableDeviceKeyCollection_INTERFACE_DEFINED__ |
| 874 |
#define __IPortableDeviceKeyCollection_INTERFACE_DEFINED__ |
| 875 |
|
| 876 |
DEFINE_GUID(IID_IPortableDeviceKeyCollection, 0xdada2357, 0xe0ad, 0x492e, 0x98,0xdb, 0xdd,0x61,0xc5,0x3b,0xa3,0x53); |
| 877 |
#if defined(__cplusplus) && !defined(CINTERFACE) |
| 878 |
MIDL_INTERFACE("dada2357-e0ad-492e-98db-dd61c53ba353") |
| 879 |
IPortableDeviceKeyCollection : public IUnknown |
| 880 |
{ |
| 881 |
virtual HRESULT STDMETHODCALLTYPE GetCount( |
| 882 |
DWORD *pcElems) = 0; |
| 883 |
|
| 884 |
virtual HRESULT STDMETHODCALLTYPE GetAt( |
| 885 |
const DWORD dwIndex, |
| 886 |
PROPERTYKEY *pKey) = 0; |
| 887 |
|
| 888 |
virtual HRESULT STDMETHODCALLTYPE Add( |
| 889 |
REFPROPERTYKEY Key) = 0; |
| 890 |
|
| 891 |
virtual HRESULT STDMETHODCALLTYPE Clear( |
| 892 |
) = 0; |
| 893 |
|
| 894 |
virtual HRESULT STDMETHODCALLTYPE RemoveAt( |
| 895 |
const DWORD dwIndex) = 0; |
| 896 |
|
| 897 |
}; |
| 898 |
#ifdef __CRT_UUID_DECL |
| 899 |
__CRT_UUID_DECL(IPortableDeviceKeyCollection, 0xdada2357, 0xe0ad, 0x492e, 0x98,0xdb, 0xdd,0x61,0xc5,0x3b,0xa3,0x53) |
| 900 |
#endif |
| 901 |
#else |
| 902 |
typedef struct IPortableDeviceKeyCollectionVtbl { |
| 903 |
BEGIN_INTERFACE |
| 904 |
|
| 905 |
/*** IUnknown methods ***/ |
| 906 |
HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 907 |
IPortableDeviceKeyCollection *This, |
| 908 |
REFIID riid, |
| 909 |
void **ppvObject); |
| 910 |
|
| 911 |
ULONG (STDMETHODCALLTYPE *AddRef)( |
| 912 |
IPortableDeviceKeyCollection *This); |
| 913 |
|
| 914 |
ULONG (STDMETHODCALLTYPE *Release)( |
| 915 |
IPortableDeviceKeyCollection *This); |
| 916 |
|
| 917 |
/*** IPortableDeviceKeyCollection methods ***/ |
| 918 |
HRESULT (STDMETHODCALLTYPE *GetCount)( |
| 919 |
IPortableDeviceKeyCollection *This, |
| 920 |
DWORD *pcElems); |
| 921 |
|
| 922 |
HRESULT (STDMETHODCALLTYPE *GetAt)( |
| 923 |
IPortableDeviceKeyCollection *This, |
| 924 |
const DWORD dwIndex, |
| 925 |
PROPERTYKEY *pKey); |
| 926 |
|
| 927 |
HRESULT (STDMETHODCALLTYPE *Add)( |
| 928 |
IPortableDeviceKeyCollection *This, |
| 929 |
REFPROPERTYKEY Key); |
| 930 |
|
| 931 |
HRESULT (STDMETHODCALLTYPE *Clear)( |
| 932 |
IPortableDeviceKeyCollection *This); |
| 933 |
|
| 934 |
HRESULT (STDMETHODCALLTYPE *RemoveAt)( |
| 935 |
IPortableDeviceKeyCollection *This, |
| 936 |
const DWORD dwIndex); |
| 937 |
|
| 938 |
END_INTERFACE |
| 939 |
} IPortableDeviceKeyCollectionVtbl; |
| 940 |
|
| 941 |
interface IPortableDeviceKeyCollection { |
| 942 |
CONST_VTBL IPortableDeviceKeyCollectionVtbl* lpVtbl; |
| 943 |
}; |
| 944 |
|
| 945 |
#ifdef COBJMACROS |
| 946 |
#ifndef WIDL_C_INLINE_WRAPPERS |
| 947 |
/*** IUnknown methods ***/ |
| 948 |
#define IPortableDeviceKeyCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 949 |
#define IPortableDeviceKeyCollection_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 950 |
#define IPortableDeviceKeyCollection_Release(This) (This)->lpVtbl->Release(This) |
| 951 |
/*** IPortableDeviceKeyCollection methods ***/ |
| 952 |
#define IPortableDeviceKeyCollection_GetCount(This,pcElems) (This)->lpVtbl->GetCount(This,pcElems) |
| 953 |
#define IPortableDeviceKeyCollection_GetAt(This,dwIndex,pKey) (This)->lpVtbl->GetAt(This,dwIndex,pKey) |
| 954 |
#define IPortableDeviceKeyCollection_Add(This,Key) (This)->lpVtbl->Add(This,Key) |
| 955 |
#define IPortableDeviceKeyCollection_Clear(This) (This)->lpVtbl->Clear(This) |
| 956 |
#define IPortableDeviceKeyCollection_RemoveAt(This,dwIndex) (This)->lpVtbl->RemoveAt(This,dwIndex) |
| 957 |
#else |
| 958 |
/*** IUnknown methods ***/ |
| 959 |
static inline HRESULT IPortableDeviceKeyCollection_QueryInterface(IPortableDeviceKeyCollection* This,REFIID riid,void **ppvObject) { |
| 960 |
return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 961 |
} |
| 962 |
static inline ULONG IPortableDeviceKeyCollection_AddRef(IPortableDeviceKeyCollection* This) { |
| 963 |
return This->lpVtbl->AddRef(This); |
| 964 |
} |
| 965 |
static inline ULONG IPortableDeviceKeyCollection_Release(IPortableDeviceKeyCollection* This) { |
| 966 |
return This->lpVtbl->Release(This); |
| 967 |
} |
| 968 |
/*** IPortableDeviceKeyCollection methods ***/ |
| 969 |
static inline HRESULT IPortableDeviceKeyCollection_GetCount(IPortableDeviceKeyCollection* This,DWORD *pcElems) { |
| 970 |
return This->lpVtbl->GetCount(This,pcElems); |
| 971 |
} |
| 972 |
static inline HRESULT IPortableDeviceKeyCollection_GetAt(IPortableDeviceKeyCollection* This,const DWORD dwIndex,PROPERTYKEY *pKey) { |
| 973 |
return This->lpVtbl->GetAt(This,dwIndex,pKey); |
| 974 |
} |
| 975 |
static inline HRESULT IPortableDeviceKeyCollection_Add(IPortableDeviceKeyCollection* This,REFPROPERTYKEY Key) { |
| 976 |
return This->lpVtbl->Add(This,Key); |
| 977 |
} |
| 978 |
static inline HRESULT IPortableDeviceKeyCollection_Clear(IPortableDeviceKeyCollection* This) { |
| 979 |
return This->lpVtbl->Clear(This); |
| 980 |
} |
| 981 |
static inline HRESULT IPortableDeviceKeyCollection_RemoveAt(IPortableDeviceKeyCollection* This,const DWORD dwIndex) { |
| 982 |
return This->lpVtbl->RemoveAt(This,dwIndex); |
| 983 |
} |
| 984 |
#endif |
| 985 |
#endif |
| 986 |
|
| 987 |
#endif |
| 988 |
|
| 989 |
|
| 990 |
#endif /* __IPortableDeviceKeyCollection_INTERFACE_DEFINED__ */ |
| 991 |
|
| 992 |
/***************************************************************************** |
| 993 |
* IPortableDevicePropVariantCollection interface |
| 994 |
*/ |
| 995 |
#ifndef __IPortableDevicePropVariantCollection_INTERFACE_DEFINED__ |
| 996 |
#define __IPortableDevicePropVariantCollection_INTERFACE_DEFINED__ |
| 997 |
|
| 998 |
DEFINE_GUID(IID_IPortableDevicePropVariantCollection, 0x89b2e422, 0x4f1b, 0x4316, 0xbc,0xef, 0xa4,0x4a,0xfe,0xa8,0x3e,0xb3); |
| 999 |
#if defined(__cplusplus) && !defined(CINTERFACE) |
| 1000 |
MIDL_INTERFACE("89b2e422-4f1b-4316-bcef-a44afea83eb3") |
| 1001 |
IPortableDevicePropVariantCollection : public IUnknown |
| 1002 |
{ |
| 1003 |
virtual HRESULT STDMETHODCALLTYPE GetCount( |
| 1004 |
DWORD *pcElems) = 0; |
| 1005 |
|
| 1006 |
virtual HRESULT STDMETHODCALLTYPE GetAt( |
| 1007 |
const DWORD dwIndex, |
| 1008 |
PROPVARIANT *pValue) = 0; |
| 1009 |
|
| 1010 |
virtual HRESULT STDMETHODCALLTYPE Add( |
| 1011 |
const PROPVARIANT *pValue) = 0; |
| 1012 |
|
| 1013 |
virtual HRESULT STDMETHODCALLTYPE GetType( |
| 1014 |
VARTYPE *pvt) = 0; |
| 1015 |
|
| 1016 |
virtual HRESULT STDMETHODCALLTYPE ChangeType( |
| 1017 |
const VARTYPE vt) = 0; |
| 1018 |
|
| 1019 |
virtual HRESULT STDMETHODCALLTYPE Clear( |
| 1020 |
) = 0; |
| 1021 |
|
| 1022 |
virtual HRESULT STDMETHODCALLTYPE RemoveAt( |
| 1023 |
const DWORD dwIndex) = 0; |
| 1024 |
|
| 1025 |
}; |
| 1026 |
#ifdef __CRT_UUID_DECL |
| 1027 |
__CRT_UUID_DECL(IPortableDevicePropVariantCollection, 0x89b2e422, 0x4f1b, 0x4316, 0xbc,0xef, 0xa4,0x4a,0xfe,0xa8,0x3e,0xb3) |
| 1028 |
#endif |
| 1029 |
#else |
| 1030 |
typedef struct IPortableDevicePropVariantCollectionVtbl { |
| 1031 |
BEGIN_INTERFACE |
| 1032 |
|
| 1033 |
/*** IUnknown methods ***/ |
| 1034 |
HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 1035 |
IPortableDevicePropVariantCollection *This, |
| 1036 |
REFIID riid, |
| 1037 |
void **ppvObject); |
| 1038 |
|
| 1039 |
ULONG (STDMETHODCALLTYPE *AddRef)( |
| 1040 |
IPortableDevicePropVariantCollection *This); |
| 1041 |
|
| 1042 |
ULONG (STDMETHODCALLTYPE *Release)( |
| 1043 |
IPortableDevicePropVariantCollection *This); |
| 1044 |
|
| 1045 |
/*** IPortableDevicePropVariantCollection methods ***/ |
| 1046 |
HRESULT (STDMETHODCALLTYPE *GetCount)( |
| 1047 |
IPortableDevicePropVariantCollection *This, |
| 1048 |
DWORD *pcElems); |
| 1049 |
|
| 1050 |
HRESULT (STDMETHODCALLTYPE *GetAt)( |
| 1051 |
IPortableDevicePropVariantCollection *This, |
| 1052 |
const DWORD dwIndex, |
| 1053 |
PROPVARIANT *pValue); |
| 1054 |
|
| 1055 |
HRESULT (STDMETHODCALLTYPE *Add)( |
| 1056 |
IPortableDevicePropVariantCollection *This, |
| 1057 |
const PROPVARIANT *pValue); |
| 1058 |
|
| 1059 |
HRESULT (STDMETHODCALLTYPE *GetType)( |
| 1060 |
IPortableDevicePropVariantCollection *This, |
| 1061 |
VARTYPE *pvt); |
| 1062 |
|
| 1063 |
HRESULT (STDMETHODCALLTYPE *ChangeType)( |
| 1064 |
IPortableDevicePropVariantCollection *This, |
| 1065 |
const VARTYPE vt); |
| 1066 |
|
| 1067 |
HRESULT (STDMETHODCALLTYPE *Clear)( |
| 1068 |
IPortableDevicePropVariantCollection *This); |
| 1069 |
|
| 1070 |
HRESULT (STDMETHODCALLTYPE *RemoveAt)( |
| 1071 |
IPortableDevicePropVariantCollection *This, |
| 1072 |
const DWORD dwIndex); |
| 1073 |
|
| 1074 |
END_INTERFACE |
| 1075 |
} IPortableDevicePropVariantCollectionVtbl; |
| 1076 |
|
| 1077 |
interface IPortableDevicePropVariantCollection { |
| 1078 |
CONST_VTBL IPortableDevicePropVariantCollectionVtbl* lpVtbl; |
| 1079 |
}; |
| 1080 |
|
| 1081 |
#ifdef COBJMACROS |
| 1082 |
#ifndef WIDL_C_INLINE_WRAPPERS |
| 1083 |
/*** IUnknown methods ***/ |
| 1084 |
#define IPortableDevicePropVariantCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 1085 |
#define IPortableDevicePropVariantCollection_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 1086 |
#define IPortableDevicePropVariantCollection_Release(This) (This)->lpVtbl->Release(This) |
| 1087 |
/*** IPortableDevicePropVariantCollection methods ***/ |
| 1088 |
#define IPortableDevicePropVariantCollection_GetCount(This,pcElems) (This)->lpVtbl->GetCount(This,pcElems) |
| 1089 |
#define IPortableDevicePropVariantCollection_GetAt(This,dwIndex,pValue) (This)->lpVtbl->GetAt(This,dwIndex,pValue) |
| 1090 |
#define IPortableDevicePropVariantCollection_Add(This,pValue) (This)->lpVtbl->Add(This,pValue) |
| 1091 |
#define IPortableDevicePropVariantCollection_GetType(This,pvt) (This)->lpVtbl->GetType(This,pvt) |
| 1092 |
#define IPortableDevicePropVariantCollection_ChangeType(This,vt) (This)->lpVtbl->ChangeType(This,vt) |
| 1093 |
#define IPortableDevicePropVariantCollection_Clear(This) (This)->lpVtbl->Clear(This) |
| 1094 |
#define IPortableDevicePropVariantCollection_RemoveAt(This,dwIndex) (This)->lpVtbl->RemoveAt(This,dwIndex) |
| 1095 |
#else |
| 1096 |
/*** IUnknown methods ***/ |
| 1097 |
static inline HRESULT IPortableDevicePropVariantCollection_QueryInterface(IPortableDevicePropVariantCollection* This,REFIID riid,void **ppvObject) { |
| 1098 |
return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 1099 |
} |
| 1100 |
static inline ULONG IPortableDevicePropVariantCollection_AddRef(IPortableDevicePropVariantCollection* This) { |
| 1101 |
return This->lpVtbl->AddRef(This); |
| 1102 |
} |
| 1103 |
static inline ULONG IPortableDevicePropVariantCollection_Release(IPortableDevicePropVariantCollection* This) { |
| 1104 |
return This->lpVtbl->Release(This); |
| 1105 |
} |
| 1106 |
/*** IPortableDevicePropVariantCollection methods ***/ |
| 1107 |
static inline HRESULT IPortableDevicePropVariantCollection_GetCount(IPortableDevicePropVariantCollection* This,DWORD *pcElems) { |
| 1108 |
return This->lpVtbl->GetCount(This,pcElems); |
| 1109 |
} |
| 1110 |
static inline HRESULT IPortableDevicePropVariantCollection_GetAt(IPortableDevicePropVariantCollection* This,const DWORD dwIndex,PROPVARIANT *pValue) { |
| 1111 |
return This->lpVtbl->GetAt(This,dwIndex,pValue); |
| 1112 |
} |
| 1113 |
static inline HRESULT IPortableDevicePropVariantCollection_Add(IPortableDevicePropVariantCollection* This,const PROPVARIANT *pValue) { |
| 1114 |
return This->lpVtbl->Add(This,pValue); |
| 1115 |
} |
| 1116 |
static inline HRESULT IPortableDevicePropVariantCollection_GetType(IPortableDevicePropVariantCollection* This,VARTYPE *pvt) { |
| 1117 |
return This->lpVtbl->GetType(This,pvt); |
| 1118 |
} |
| 1119 |
static inline HRESULT IPortableDevicePropVariantCollection_ChangeType(IPortableDevicePropVariantCollection* This,const VARTYPE vt) { |
| 1120 |
return This->lpVtbl->ChangeType(This,vt); |
| 1121 |
} |
| 1122 |
static inline HRESULT IPortableDevicePropVariantCollection_Clear(IPortableDevicePropVariantCollection* This) { |
| 1123 |
return This->lpVtbl->Clear(This); |
| 1124 |
} |
| 1125 |
static inline HRESULT IPortableDevicePropVariantCollection_RemoveAt(IPortableDevicePropVariantCollection* This,const DWORD dwIndex) { |
| 1126 |
return This->lpVtbl->RemoveAt(This,dwIndex); |
| 1127 |
} |
| 1128 |
#endif |
| 1129 |
#endif |
| 1130 |
|
| 1131 |
#endif |
| 1132 |
|
| 1133 |
|
| 1134 |
#endif /* __IPortableDevicePropVariantCollection_INTERFACE_DEFINED__ */ |
| 1135 |
|
| 1136 |
/***************************************************************************** |
| 1137 |
* IPortableDeviceValuesCollection interface |
| 1138 |
*/ |
| 1139 |
#ifndef __IPortableDeviceValuesCollection_INTERFACE_DEFINED__ |
| 1140 |
#define __IPortableDeviceValuesCollection_INTERFACE_DEFINED__ |
| 1141 |
|
| 1142 |
DEFINE_GUID(IID_IPortableDeviceValuesCollection, 0x6e3f2d79, 0x4e07, 0x48c4, 0x82,0x08, 0xd8,0xc2,0xe5,0xaf,0x4a,0x99); |
| 1143 |
#if defined(__cplusplus) && !defined(CINTERFACE) |
| 1144 |
MIDL_INTERFACE("6e3f2d79-4e07-48c4-8208-d8c2e5af4a99") |
| 1145 |
IPortableDeviceValuesCollection : public IUnknown |
| 1146 |
{ |
| 1147 |
virtual HRESULT STDMETHODCALLTYPE GetCount( |
| 1148 |
DWORD *pcElems) = 0; |
| 1149 |
|
| 1150 |
virtual HRESULT STDMETHODCALLTYPE GetAt( |
| 1151 |
DWORD dwIndex, |
| 1152 |
IPortableDeviceValues **ppValues) = 0; |
| 1153 |
|
| 1154 |
virtual HRESULT STDMETHODCALLTYPE Add( |
| 1155 |
IPortableDeviceValues *pValues) = 0; |
| 1156 |
|
| 1157 |
virtual HRESULT STDMETHODCALLTYPE Clear( |
| 1158 |
) = 0; |
| 1159 |
|
| 1160 |
virtual HRESULT STDMETHODCALLTYPE RemoveAt( |
| 1161 |
const DWORD dwIndex) = 0; |
| 1162 |
|
| 1163 |
}; |
| 1164 |
#ifdef __CRT_UUID_DECL |
| 1165 |
__CRT_UUID_DECL(IPortableDeviceValuesCollection, 0x6e3f2d79, 0x4e07, 0x48c4, 0x82,0x08, 0xd8,0xc2,0xe5,0xaf,0x4a,0x99) |
| 1166 |
#endif |
| 1167 |
#else |
| 1168 |
typedef struct IPortableDeviceValuesCollectionVtbl { |
| 1169 |
BEGIN_INTERFACE |
| 1170 |
|
| 1171 |
/*** IUnknown methods ***/ |
| 1172 |
HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 1173 |
IPortableDeviceValuesCollection *This, |
| 1174 |
REFIID riid, |
| 1175 |
void **ppvObject); |
| 1176 |
|
| 1177 |
ULONG (STDMETHODCALLTYPE *AddRef)( |
| 1178 |
IPortableDeviceValuesCollection *This); |
| 1179 |
|
| 1180 |
ULONG (STDMETHODCALLTYPE *Release)( |
| 1181 |
IPortableDeviceValuesCollection *This); |
| 1182 |
|
| 1183 |
/*** IPortableDeviceValuesCollection methods ***/ |
| 1184 |
HRESULT (STDMETHODCALLTYPE *GetCount)( |
| 1185 |
IPortableDeviceValuesCollection *This, |
| 1186 |
DWORD *pcElems); |
| 1187 |
|
| 1188 |
HRESULT (STDMETHODCALLTYPE *GetAt)( |
| 1189 |
IPortableDeviceValuesCollection *This, |
| 1190 |
DWORD dwIndex, |
| 1191 |
IPortableDeviceValues **ppValues); |
| 1192 |
|
| 1193 |
HRESULT (STDMETHODCALLTYPE *Add)( |
| 1194 |
IPortableDeviceValuesCollection *This, |
| 1195 |
IPortableDeviceValues *pValues); |
| 1196 |
|
| 1197 |
HRESULT (STDMETHODCALLTYPE *Clear)( |
| 1198 |
IPortableDeviceValuesCollection *This); |
| 1199 |
|
| 1200 |
HRESULT (STDMETHODCALLTYPE *RemoveAt)( |
| 1201 |
IPortableDeviceValuesCollection *This, |
| 1202 |
const DWORD dwIndex); |
| 1203 |
|
| 1204 |
END_INTERFACE |
| 1205 |
} IPortableDeviceValuesCollectionVtbl; |
| 1206 |
|
| 1207 |
interface IPortableDeviceValuesCollection { |
| 1208 |
CONST_VTBL IPortableDeviceValuesCollectionVtbl* lpVtbl; |
| 1209 |
}; |
| 1210 |
|
| 1211 |
#ifdef COBJMACROS |
| 1212 |
#ifndef WIDL_C_INLINE_WRAPPERS |
| 1213 |
/*** IUnknown methods ***/ |
| 1214 |
#define IPortableDeviceValuesCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 1215 |
#define IPortableDeviceValuesCollection_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 1216 |
#define IPortableDeviceValuesCollection_Release(This) (This)->lpVtbl->Release(This) |
| 1217 |
/*** IPortableDeviceValuesCollection methods ***/ |
| 1218 |
#define IPortableDeviceValuesCollection_GetCount(This,pcElems) (This)->lpVtbl->GetCount(This,pcElems) |
| 1219 |
#define IPortableDeviceValuesCollection_GetAt(This,dwIndex,ppValues) (This)->lpVtbl->GetAt(This,dwIndex,ppValues) |
| 1220 |
#define IPortableDeviceValuesCollection_Add(This,pValues) (This)->lpVtbl->Add(This,pValues) |
| 1221 |
#define IPortableDeviceValuesCollection_Clear(This) (This)->lpVtbl->Clear(This) |
| 1222 |
#define IPortableDeviceValuesCollection_RemoveAt(This,dwIndex) (This)->lpVtbl->RemoveAt(This,dwIndex) |
| 1223 |
#else |
| 1224 |
/*** IUnknown methods ***/ |
| 1225 |
static inline HRESULT IPortableDeviceValuesCollection_QueryInterface(IPortableDeviceValuesCollection* This,REFIID riid,void **ppvObject) { |
| 1226 |
return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 1227 |
} |
| 1228 |
static inline ULONG IPortableDeviceValuesCollection_AddRef(IPortableDeviceValuesCollection* This) { |
| 1229 |
return This->lpVtbl->AddRef(This); |
| 1230 |
} |
| 1231 |
static inline ULONG IPortableDeviceValuesCollection_Release(IPortableDeviceValuesCollection* This) { |
| 1232 |
return This->lpVtbl->Release(This); |
| 1233 |
} |
| 1234 |
/*** IPortableDeviceValuesCollection methods ***/ |
| 1235 |
static inline HRESULT IPortableDeviceValuesCollection_GetCount(IPortableDeviceValuesCollection* This,DWORD *pcElems) { |
| 1236 |
return This->lpVtbl->GetCount(This,pcElems); |
| 1237 |
} |
| 1238 |
static inline HRESULT IPortableDeviceValuesCollection_GetAt(IPortableDeviceValuesCollection* This,DWORD dwIndex,IPortableDeviceValues **ppValues) { |
| 1239 |
return This->lpVtbl->GetAt(This,dwIndex,ppValues); |
| 1240 |
} |
| 1241 |
static inline HRESULT IPortableDeviceValuesCollection_Add(IPortableDeviceValuesCollection* This,IPortableDeviceValues *pValues) { |
| 1242 |
return This->lpVtbl->Add(This,pValues); |
| 1243 |
} |
| 1244 |
static inline HRESULT IPortableDeviceValuesCollection_Clear(IPortableDeviceValuesCollection* This) { |
| 1245 |
return This->lpVtbl->Clear(This); |
| 1246 |
} |
| 1247 |
static inline HRESULT IPortableDeviceValuesCollection_RemoveAt(IPortableDeviceValuesCollection* This,const DWORD dwIndex) { |
| 1248 |
return This->lpVtbl->RemoveAt(This,dwIndex); |
| 1249 |
} |
| 1250 |
#endif |
| 1251 |
#endif |
| 1252 |
|
| 1253 |
#endif |
| 1254 |
|
| 1255 |
|
| 1256 |
#endif /* __IPortableDeviceValuesCollection_INTERFACE_DEFINED__ */ |
| 1257 |
|
| 1258 |
#ifndef __PortableDeviceTypesLib_LIBRARY_DEFINED__ |
| 1259 |
#define __PortableDeviceTypesLib_LIBRARY_DEFINED__ |
| 1260 |
|
| 1261 |
DEFINE_GUID(LIBID_PortableDeviceTypesLib, 0x2b00ba2f, 0xe750, 0x4beb, 0x92,0x35, 0x97,0x14,0x2e,0xde,0x1d,0x3e); |
| 1262 |
|
| 1263 |
/***************************************************************************** |
| 1264 |
* WpdSerializer coclass |
| 1265 |
*/ |
| 1266 |
|
| 1267 |
DEFINE_GUID(CLSID_WpdSerializer, 0x0b91a74b, 0xad7c, 0x4a9d, 0xb5,0x63, 0x29,0xee,0xf9,0x16,0x71,0x72); |
| 1268 |
|
| 1269 |
#ifdef __cplusplus |
| 1270 |
class DECLSPEC_UUID("0b91a74b-ad7c-4a9d-b563-29eef9167172") WpdSerializer; |
| 1271 |
#ifdef __CRT_UUID_DECL |
| 1272 |
__CRT_UUID_DECL(WpdSerializer, 0x0b91a74b, 0xad7c, 0x4a9d, 0xb5,0x63, 0x29,0xee,0xf9,0x16,0x71,0x72) |
| 1273 |
#endif |
| 1274 |
#endif |
| 1275 |
|
| 1276 |
/***************************************************************************** |
| 1277 |
* PortableDeviceValues coclass |
| 1278 |
*/ |
| 1279 |
|
| 1280 |
DEFINE_GUID(CLSID_PortableDeviceValues, 0x0c15d503, 0xd017, 0x47ce, 0x90,0x16, 0x7b,0x3f,0x97,0x87,0x21,0xcc); |
| 1281 |
|
| 1282 |
#ifdef __cplusplus |
| 1283 |
class DECLSPEC_UUID("0c15d503-d017-47ce-9016-7b3f978721cc") PortableDeviceValues; |
| 1284 |
#ifdef __CRT_UUID_DECL |
| 1285 |
__CRT_UUID_DECL(PortableDeviceValues, 0x0c15d503, 0xd017, 0x47ce, 0x90,0x16, 0x7b,0x3f,0x97,0x87,0x21,0xcc) |
| 1286 |
#endif |
| 1287 |
#endif |
| 1288 |
|
| 1289 |
/***************************************************************************** |
| 1290 |
* PortableDeviceKeyCollection coclass |
| 1291 |
*/ |
| 1292 |
|
| 1293 |
DEFINE_GUID(CLSID_PortableDeviceKeyCollection, 0xde2d022d, 0x2480, 0x43be, 0x97,0xf0, 0xd1,0xfa,0x2c,0xf9,0x8f,0x4f); |
| 1294 |
|
| 1295 |
#ifdef __cplusplus |
| 1296 |
class DECLSPEC_UUID("de2d022d-2480-43be-97f0-d1fa2cf98f4f") PortableDeviceKeyCollection; |
| 1297 |
#ifdef __CRT_UUID_DECL |
| 1298 |
__CRT_UUID_DECL(PortableDeviceKeyCollection, 0xde2d022d, 0x2480, 0x43be, 0x97,0xf0, 0xd1,0xfa,0x2c,0xf9,0x8f,0x4f) |
| 1299 |
#endif |
| 1300 |
#endif |
| 1301 |
|
| 1302 |
/***************************************************************************** |
| 1303 |
* PortableDevicePropVariantCollection coclass |
| 1304 |
*/ |
| 1305 |
|
| 1306 |
DEFINE_GUID(CLSID_PortableDevicePropVariantCollection, 0x08a99e2f, 0x6d6d, 0x4b80, 0xaf,0x5a, 0xba,0xf2,0xbc,0xbe,0x4c,0xb9); |
| 1307 |
|
| 1308 |
#ifdef __cplusplus |
| 1309 |
class DECLSPEC_UUID("08a99e2f-6d6d-4b80-af5a-baf2bcbe4cb9") PortableDevicePropVariantCollection; |
| 1310 |
#ifdef __CRT_UUID_DECL |
| 1311 |
__CRT_UUID_DECL(PortableDevicePropVariantCollection, 0x08a99e2f, 0x6d6d, 0x4b80, 0xaf,0x5a, 0xba,0xf2,0xbc,0xbe,0x4c,0xb9) |
| 1312 |
#endif |
| 1313 |
#endif |
| 1314 |
|
| 1315 |
/***************************************************************************** |
| 1316 |
* PortableDeviceValuesCollection coclass |
| 1317 |
*/ |
| 1318 |
|
| 1319 |
DEFINE_GUID(CLSID_PortableDeviceValuesCollection, 0x3882134d, 0x14cf, 0x4220, 0x9c,0xb4, 0x43,0x5f,0x86,0xd8,0x3f,0x60); |
| 1320 |
|
| 1321 |
#ifdef __cplusplus |
| 1322 |
class DECLSPEC_UUID("3882134d-14cf-4220-9cb4-435f86d83f60") PortableDeviceValuesCollection; |
| 1323 |
#ifdef __CRT_UUID_DECL |
| 1324 |
__CRT_UUID_DECL(PortableDeviceValuesCollection, 0x3882134d, 0x14cf, 0x4220, 0x9c,0xb4, 0x43,0x5f,0x86,0xd8,0x3f,0x60) |
| 1325 |
#endif |
| 1326 |
#endif |
| 1327 |
|
| 1328 |
#endif /* __PortableDeviceTypesLib_LIBRARY_DEFINED__ */ |
| 1329 |
/* Begin additional prototypes for all interfaces */ |
| 1330 |
|
| 1331 |
ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); |
| 1332 |
unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); |
| 1333 |
unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); |
| 1334 |
void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); |
| 1335 |
ULONG __RPC_USER LPSAFEARRAY_UserSize (ULONG *, ULONG, LPSAFEARRAY *); |
| 1336 |
unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal (ULONG *, unsigned char *, LPSAFEARRAY *); |
| 1337 |
unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(ULONG *, unsigned char *, LPSAFEARRAY *); |
| 1338 |
void __RPC_USER LPSAFEARRAY_UserFree (ULONG *, LPSAFEARRAY *); |
| 1339 |
|
| 1340 |
/* End additional prototypes */ |
| 1341 |
|
| 1342 |
#ifdef __cplusplus |
| 1343 |
} |
| 1344 |
#endif |
| 1345 |
|
| 1346 |
#endif /* __portabledevicetypes_h__ */ |