Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2012 lines
62 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for imapi.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __imapi_h__
  27. #define __imapi_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IDiscRecorder_FWD_DEFINED__
  33. #define __IDiscRecorder_FWD_DEFINED__
  34. typedef interface IDiscRecorder IDiscRecorder;
  35. #endif /* __IDiscRecorder_FWD_DEFINED__ */
  36. #ifndef __IEnumDiscRecorders_FWD_DEFINED__
  37. #define __IEnumDiscRecorders_FWD_DEFINED__
  38. typedef interface IEnumDiscRecorders IEnumDiscRecorders;
  39. #endif /* __IEnumDiscRecorders_FWD_DEFINED__ */
  40. #ifndef __IEnumDiscMasterFormats_FWD_DEFINED__
  41. #define __IEnumDiscMasterFormats_FWD_DEFINED__
  42. typedef interface IEnumDiscMasterFormats IEnumDiscMasterFormats;
  43. #endif /* __IEnumDiscMasterFormats_FWD_DEFINED__ */
  44. #ifndef __IRedbookDiscMaster_FWD_DEFINED__
  45. #define __IRedbookDiscMaster_FWD_DEFINED__
  46. typedef interface IRedbookDiscMaster IRedbookDiscMaster;
  47. #endif /* __IRedbookDiscMaster_FWD_DEFINED__ */
  48. #ifndef __IJolietDiscMaster_FWD_DEFINED__
  49. #define __IJolietDiscMaster_FWD_DEFINED__
  50. typedef interface IJolietDiscMaster IJolietDiscMaster;
  51. #endif /* __IJolietDiscMaster_FWD_DEFINED__ */
  52. #ifndef __IDiscMasterProgressEvents_FWD_DEFINED__
  53. #define __IDiscMasterProgressEvents_FWD_DEFINED__
  54. typedef interface IDiscMasterProgressEvents IDiscMasterProgressEvents;
  55. #endif /* __IDiscMasterProgressEvents_FWD_DEFINED__ */
  56. #ifndef __IDiscMaster_FWD_DEFINED__
  57. #define __IDiscMaster_FWD_DEFINED__
  58. typedef interface IDiscMaster IDiscMaster;
  59. #endif /* __IDiscMaster_FWD_DEFINED__ */
  60. #ifndef __MSDiscRecorderObj_FWD_DEFINED__
  61. #define __MSDiscRecorderObj_FWD_DEFINED__
  62. #ifdef __cplusplus
  63. typedef class MSDiscRecorderObj MSDiscRecorderObj;
  64. #else
  65. typedef struct MSDiscRecorderObj MSDiscRecorderObj;
  66. #endif /* __cplusplus */
  67. #endif /* __MSDiscRecorderObj_FWD_DEFINED__ */
  68. #ifndef __MSDiscMasterObj_FWD_DEFINED__
  69. #define __MSDiscMasterObj_FWD_DEFINED__
  70. #ifdef __cplusplus
  71. typedef class MSDiscMasterObj MSDiscMasterObj;
  72. #else
  73. typedef struct MSDiscMasterObj MSDiscMasterObj;
  74. #endif /* __cplusplus */
  75. #endif /* __MSDiscMasterObj_FWD_DEFINED__ */
  76. #ifndef __MSEnumDiscRecordersObj_FWD_DEFINED__
  77. #define __MSEnumDiscRecordersObj_FWD_DEFINED__
  78. #ifdef __cplusplus
  79. typedef class MSEnumDiscRecordersObj MSEnumDiscRecordersObj;
  80. #else
  81. typedef struct MSEnumDiscRecordersObj MSEnumDiscRecordersObj;
  82. #endif /* __cplusplus */
  83. #endif /* __MSEnumDiscRecordersObj_FWD_DEFINED__ */
  84. /* header files for imported files */
  85. #include "oaidl.h"
  86. #include "ocidl.h"
  87. #include "propidl.h"
  88. #ifdef __cplusplus
  89. extern "C"{
  90. #endif
  91. void * __RPC_USER MIDL_user_allocate(size_t);
  92. void __RPC_USER MIDL_user_free( void * );
  93. #ifndef __IDiscRecorder_INTERFACE_DEFINED__
  94. #define __IDiscRecorder_INTERFACE_DEFINED__
  95. /* interface IDiscRecorder */
  96. /* [unique][helpstring][uuid][object] */
  97. enum MEDIA_TYPES
  98. { MEDIA_CDDA_CDROM = 1,
  99. MEDIA_CD_ROM_XA = MEDIA_CDDA_CDROM + 1,
  100. MEDIA_CD_I = MEDIA_CD_ROM_XA + 1,
  101. MEDIA_CD_EXTRA = MEDIA_CD_I + 1,
  102. MEDIA_CD_OTHER = MEDIA_CD_EXTRA + 1,
  103. MEDIA_SPECIAL = MEDIA_CD_OTHER + 1
  104. } ;
  105. enum MEDIA_FLAGS
  106. { MEDIA_BLANK = 0x1,
  107. MEDIA_RW = 0x2,
  108. MEDIA_WRITABLE = 0x4,
  109. MEDIA_FORMAT_UNUSABLE_BY_IMAPI = 0x8
  110. } ;
  111. enum RECORDER_TYPES
  112. { RECORDER_CDR = 0x1,
  113. RECORDER_CDRW = 0x2
  114. } ;
  115. #define RECORDER_DOING_NOTHING ( 0 )
  116. #define RECORDER_OPENED ( 0x1 )
  117. #define RECORDER_BURNING ( 0x2 )
  118. EXTERN_C const IID IID_IDiscRecorder;
  119. #if defined(__cplusplus) && !defined(CINTERFACE)
  120. MIDL_INTERFACE("85AC9776-CA88-4cf2-894E-09598C078A41")
  121. IDiscRecorder : public IUnknown
  122. {
  123. public:
  124. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Init(
  125. /* [size_is][in] */ byte *pbyUniqueID,
  126. /* [in] */ ULONG nulIDSize,
  127. /* [in] */ ULONG nulDriveNumber) = 0;
  128. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetRecorderGUID(
  129. /* [size_is][unique][out][in] */ byte *pbyUniqueID,
  130. /* [in] */ ULONG ulBufferSize,
  131. /* [out] */ ULONG *pulReturnSizeRequired) = 0;
  132. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetRecorderType(
  133. /* [out] */ long *fTypeCode) = 0;
  134. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetDisplayNames(
  135. /* [unique][out][in] */ BSTR *pbstrVendorID,
  136. /* [unique][out][in] */ BSTR *pbstrProductID,
  137. /* [unique][out][in] */ BSTR *pbstrRevision) = 0;
  138. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetBasePnPID(
  139. /* [out] */ BSTR *pbstrBasePnPID) = 0;
  140. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetPath(
  141. /* [out] */ BSTR *pbstrPath) = 0;
  142. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetRecorderProperties(
  143. /* [out] */ IPropertyStorage **ppPropStg) = 0;
  144. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetRecorderProperties(
  145. /* [in] */ IPropertyStorage *pPropStg) = 0;
  146. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetRecorderState(
  147. /* [out] */ ULONG *pulDevStateFlags) = 0;
  148. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OpenExclusive( void) = 0;
  149. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE QueryMediaType(
  150. /* [out] */ long *fMediaType,
  151. /* [out] */ long *fMediaFlags) = 0;
  152. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE QueryMediaInfo(
  153. /* [out] */ byte *pbSessions,
  154. /* [out] */ byte *pbLastTrack,
  155. /* [out] */ ULONG *ulStartAddress,
  156. /* [out] */ ULONG *ulNextWritable,
  157. /* [out] */ ULONG *ulFreeBlocks) = 0;
  158. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Eject( void) = 0;
  159. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Erase(
  160. /* [in] */ boolean bFullErase) = 0;
  161. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Close( void) = 0;
  162. };
  163. #else /* C style interface */
  164. typedef struct IDiscRecorderVtbl
  165. {
  166. BEGIN_INTERFACE
  167. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  168. IDiscRecorder * This,
  169. /* [in] */ REFIID riid,
  170. /* [iid_is][out] */ void **ppvObject);
  171. ULONG ( STDMETHODCALLTYPE *AddRef )(
  172. IDiscRecorder * This);
  173. ULONG ( STDMETHODCALLTYPE *Release )(
  174. IDiscRecorder * This);
  175. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Init )(
  176. IDiscRecorder * This,
  177. /* [size_is][in] */ byte *pbyUniqueID,
  178. /* [in] */ ULONG nulIDSize,
  179. /* [in] */ ULONG nulDriveNumber);
  180. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetRecorderGUID )(
  181. IDiscRecorder * This,
  182. /* [size_is][unique][out][in] */ byte *pbyUniqueID,
  183. /* [in] */ ULONG ulBufferSize,
  184. /* [out] */ ULONG *pulReturnSizeRequired);
  185. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetRecorderType )(
  186. IDiscRecorder * This,
  187. /* [out] */ long *fTypeCode);
  188. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetDisplayNames )(
  189. IDiscRecorder * This,
  190. /* [unique][out][in] */ BSTR *pbstrVendorID,
  191. /* [unique][out][in] */ BSTR *pbstrProductID,
  192. /* [unique][out][in] */ BSTR *pbstrRevision);
  193. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetBasePnPID )(
  194. IDiscRecorder * This,
  195. /* [out] */ BSTR *pbstrBasePnPID);
  196. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetPath )(
  197. IDiscRecorder * This,
  198. /* [out] */ BSTR *pbstrPath);
  199. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetRecorderProperties )(
  200. IDiscRecorder * This,
  201. /* [out] */ IPropertyStorage **ppPropStg);
  202. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetRecorderProperties )(
  203. IDiscRecorder * This,
  204. /* [in] */ IPropertyStorage *pPropStg);
  205. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetRecorderState )(
  206. IDiscRecorder * This,
  207. /* [out] */ ULONG *pulDevStateFlags);
  208. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OpenExclusive )(
  209. IDiscRecorder * This);
  210. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryMediaType )(
  211. IDiscRecorder * This,
  212. /* [out] */ long *fMediaType,
  213. /* [out] */ long *fMediaFlags);
  214. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryMediaInfo )(
  215. IDiscRecorder * This,
  216. /* [out] */ byte *pbSessions,
  217. /* [out] */ byte *pbLastTrack,
  218. /* [out] */ ULONG *ulStartAddress,
  219. /* [out] */ ULONG *ulNextWritable,
  220. /* [out] */ ULONG *ulFreeBlocks);
  221. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Eject )(
  222. IDiscRecorder * This);
  223. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Erase )(
  224. IDiscRecorder * This,
  225. /* [in] */ boolean bFullErase);
  226. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Close )(
  227. IDiscRecorder * This);
  228. END_INTERFACE
  229. } IDiscRecorderVtbl;
  230. interface IDiscRecorder
  231. {
  232. CONST_VTBL struct IDiscRecorderVtbl *lpVtbl;
  233. };
  234. #ifdef COBJMACROS
  235. #define IDiscRecorder_QueryInterface(This,riid,ppvObject) \
  236. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  237. #define IDiscRecorder_AddRef(This) \
  238. (This)->lpVtbl -> AddRef(This)
  239. #define IDiscRecorder_Release(This) \
  240. (This)->lpVtbl -> Release(This)
  241. #define IDiscRecorder_Init(This,pbyUniqueID,nulIDSize,nulDriveNumber) \
  242. (This)->lpVtbl -> Init(This,pbyUniqueID,nulIDSize,nulDriveNumber)
  243. #define IDiscRecorder_GetRecorderGUID(This,pbyUniqueID,ulBufferSize,pulReturnSizeRequired) \
  244. (This)->lpVtbl -> GetRecorderGUID(This,pbyUniqueID,ulBufferSize,pulReturnSizeRequired)
  245. #define IDiscRecorder_GetRecorderType(This,fTypeCode) \
  246. (This)->lpVtbl -> GetRecorderType(This,fTypeCode)
  247. #define IDiscRecorder_GetDisplayNames(This,pbstrVendorID,pbstrProductID,pbstrRevision) \
  248. (This)->lpVtbl -> GetDisplayNames(This,pbstrVendorID,pbstrProductID,pbstrRevision)
  249. #define IDiscRecorder_GetBasePnPID(This,pbstrBasePnPID) \
  250. (This)->lpVtbl -> GetBasePnPID(This,pbstrBasePnPID)
  251. #define IDiscRecorder_GetPath(This,pbstrPath) \
  252. (This)->lpVtbl -> GetPath(This,pbstrPath)
  253. #define IDiscRecorder_GetRecorderProperties(This,ppPropStg) \
  254. (This)->lpVtbl -> GetRecorderProperties(This,ppPropStg)
  255. #define IDiscRecorder_SetRecorderProperties(This,pPropStg) \
  256. (This)->lpVtbl -> SetRecorderProperties(This,pPropStg)
  257. #define IDiscRecorder_GetRecorderState(This,pulDevStateFlags) \
  258. (This)->lpVtbl -> GetRecorderState(This,pulDevStateFlags)
  259. #define IDiscRecorder_OpenExclusive(This) \
  260. (This)->lpVtbl -> OpenExclusive(This)
  261. #define IDiscRecorder_QueryMediaType(This,fMediaType,fMediaFlags) \
  262. (This)->lpVtbl -> QueryMediaType(This,fMediaType,fMediaFlags)
  263. #define IDiscRecorder_QueryMediaInfo(This,pbSessions,pbLastTrack,ulStartAddress,ulNextWritable,ulFreeBlocks) \
  264. (This)->lpVtbl -> QueryMediaInfo(This,pbSessions,pbLastTrack,ulStartAddress,ulNextWritable,ulFreeBlocks)
  265. #define IDiscRecorder_Eject(This) \
  266. (This)->lpVtbl -> Eject(This)
  267. #define IDiscRecorder_Erase(This,bFullErase) \
  268. (This)->lpVtbl -> Erase(This,bFullErase)
  269. #define IDiscRecorder_Close(This) \
  270. (This)->lpVtbl -> Close(This)
  271. #endif /* COBJMACROS */
  272. #endif /* C style interface */
  273. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscRecorder_Init_Proxy(
  274. IDiscRecorder * This,
  275. /* [size_is][in] */ byte *pbyUniqueID,
  276. /* [in] */ ULONG nulIDSize,
  277. /* [in] */ ULONG nulDriveNumber);
  278. void __RPC_STUB IDiscRecorder_Init_Stub(
  279. IRpcStubBuffer *This,
  280. IRpcChannelBuffer *_pRpcChannelBuffer,
  281. PRPC_MESSAGE _pRpcMessage,
  282. DWORD *_pdwStubPhase);
  283. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscRecorder_GetRecorderGUID_Proxy(
  284. IDiscRecorder * This,
  285. /* [size_is][unique][out][in] */ byte *pbyUniqueID,
  286. /* [in] */ ULONG ulBufferSize,
  287. /* [out] */ ULONG *pulReturnSizeRequired);
  288. void __RPC_STUB IDiscRecorder_GetRecorderGUID_Stub(
  289. IRpcStubBuffer *This,
  290. IRpcChannelBuffer *_pRpcChannelBuffer,
  291. PRPC_MESSAGE _pRpcMessage,
  292. DWORD *_pdwStubPhase);
  293. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscRecorder_GetRecorderType_Proxy(
  294. IDiscRecorder * This,
  295. /* [out] */ long *fTypeCode);
  296. void __RPC_STUB IDiscRecorder_GetRecorderType_Stub(
  297. IRpcStubBuffer *This,
  298. IRpcChannelBuffer *_pRpcChannelBuffer,
  299. PRPC_MESSAGE _pRpcMessage,
  300. DWORD *_pdwStubPhase);
  301. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscRecorder_GetDisplayNames_Proxy(
  302. IDiscRecorder * This,
  303. /* [unique][out][in] */ BSTR *pbstrVendorID,
  304. /* [unique][out][in] */ BSTR *pbstrProductID,
  305. /* [unique][out][in] */ BSTR *pbstrRevision);
  306. void __RPC_STUB IDiscRecorder_GetDisplayNames_Stub(
  307. IRpcStubBuffer *This,
  308. IRpcChannelBuffer *_pRpcChannelBuffer,
  309. PRPC_MESSAGE _pRpcMessage,
  310. DWORD *_pdwStubPhase);
  311. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscRecorder_GetBasePnPID_Proxy(
  312. IDiscRecorder * This,
  313. /* [out] */ BSTR *pbstrBasePnPID);
  314. void __RPC_STUB IDiscRecorder_GetBasePnPID_Stub(
  315. IRpcStubBuffer *This,
  316. IRpcChannelBuffer *_pRpcChannelBuffer,
  317. PRPC_MESSAGE _pRpcMessage,
  318. DWORD *_pdwStubPhase);
  319. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscRecorder_GetPath_Proxy(
  320. IDiscRecorder * This,
  321. /* [out] */ BSTR *pbstrPath);
  322. void __RPC_STUB IDiscRecorder_GetPath_Stub(
  323. IRpcStubBuffer *This,
  324. IRpcChannelBuffer *_pRpcChannelBuffer,
  325. PRPC_MESSAGE _pRpcMessage,
  326. DWORD *_pdwStubPhase);
  327. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscRecorder_GetRecorderProperties_Proxy(
  328. IDiscRecorder * This,
  329. /* [out] */ IPropertyStorage **ppPropStg);
  330. void __RPC_STUB IDiscRecorder_GetRecorderProperties_Stub(
  331. IRpcStubBuffer *This,
  332. IRpcChannelBuffer *_pRpcChannelBuffer,
  333. PRPC_MESSAGE _pRpcMessage,
  334. DWORD *_pdwStubPhase);
  335. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscRecorder_SetRecorderProperties_Proxy(
  336. IDiscRecorder * This,
  337. /* [in] */ IPropertyStorage *pPropStg);
  338. void __RPC_STUB IDiscRecorder_SetRecorderProperties_Stub(
  339. IRpcStubBuffer *This,
  340. IRpcChannelBuffer *_pRpcChannelBuffer,
  341. PRPC_MESSAGE _pRpcMessage,
  342. DWORD *_pdwStubPhase);
  343. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscRecorder_GetRecorderState_Proxy(
  344. IDiscRecorder * This,
  345. /* [out] */ ULONG *pulDevStateFlags);
  346. void __RPC_STUB IDiscRecorder_GetRecorderState_Stub(
  347. IRpcStubBuffer *This,
  348. IRpcChannelBuffer *_pRpcChannelBuffer,
  349. PRPC_MESSAGE _pRpcMessage,
  350. DWORD *_pdwStubPhase);
  351. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscRecorder_OpenExclusive_Proxy(
  352. IDiscRecorder * This);
  353. void __RPC_STUB IDiscRecorder_OpenExclusive_Stub(
  354. IRpcStubBuffer *This,
  355. IRpcChannelBuffer *_pRpcChannelBuffer,
  356. PRPC_MESSAGE _pRpcMessage,
  357. DWORD *_pdwStubPhase);
  358. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscRecorder_QueryMediaType_Proxy(
  359. IDiscRecorder * This,
  360. /* [out] */ long *fMediaType,
  361. /* [out] */ long *fMediaFlags);
  362. void __RPC_STUB IDiscRecorder_QueryMediaType_Stub(
  363. IRpcStubBuffer *This,
  364. IRpcChannelBuffer *_pRpcChannelBuffer,
  365. PRPC_MESSAGE _pRpcMessage,
  366. DWORD *_pdwStubPhase);
  367. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscRecorder_QueryMediaInfo_Proxy(
  368. IDiscRecorder * This,
  369. /* [out] */ byte *pbSessions,
  370. /* [out] */ byte *pbLastTrack,
  371. /* [out] */ ULONG *ulStartAddress,
  372. /* [out] */ ULONG *ulNextWritable,
  373. /* [out] */ ULONG *ulFreeBlocks);
  374. void __RPC_STUB IDiscRecorder_QueryMediaInfo_Stub(
  375. IRpcStubBuffer *This,
  376. IRpcChannelBuffer *_pRpcChannelBuffer,
  377. PRPC_MESSAGE _pRpcMessage,
  378. DWORD *_pdwStubPhase);
  379. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscRecorder_Eject_Proxy(
  380. IDiscRecorder * This);
  381. void __RPC_STUB IDiscRecorder_Eject_Stub(
  382. IRpcStubBuffer *This,
  383. IRpcChannelBuffer *_pRpcChannelBuffer,
  384. PRPC_MESSAGE _pRpcMessage,
  385. DWORD *_pdwStubPhase);
  386. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscRecorder_Erase_Proxy(
  387. IDiscRecorder * This,
  388. /* [in] */ boolean bFullErase);
  389. void __RPC_STUB IDiscRecorder_Erase_Stub(
  390. IRpcStubBuffer *This,
  391. IRpcChannelBuffer *_pRpcChannelBuffer,
  392. PRPC_MESSAGE _pRpcMessage,
  393. DWORD *_pdwStubPhase);
  394. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscRecorder_Close_Proxy(
  395. IDiscRecorder * This);
  396. void __RPC_STUB IDiscRecorder_Close_Stub(
  397. IRpcStubBuffer *This,
  398. IRpcChannelBuffer *_pRpcChannelBuffer,
  399. PRPC_MESSAGE _pRpcMessage,
  400. DWORD *_pdwStubPhase);
  401. #endif /* __IDiscRecorder_INTERFACE_DEFINED__ */
  402. #ifndef __IEnumDiscRecorders_INTERFACE_DEFINED__
  403. #define __IEnumDiscRecorders_INTERFACE_DEFINED__
  404. /* interface IEnumDiscRecorders */
  405. /* [unique][helpstring][uuid][object] */
  406. EXTERN_C const IID IID_IEnumDiscRecorders;
  407. #if defined(__cplusplus) && !defined(CINTERFACE)
  408. MIDL_INTERFACE("9B1921E1-54AC-11d3-9144-00104BA11C5E")
  409. IEnumDiscRecorders : public IUnknown
  410. {
  411. public:
  412. virtual HRESULT STDMETHODCALLTYPE Next(
  413. /* [in] */ ULONG cRecorders,
  414. /* [length_is][size_is][out] */ IDiscRecorder **ppRecorder,
  415. /* [out] */ ULONG *pcFetched) = 0;
  416. virtual HRESULT STDMETHODCALLTYPE Skip(
  417. /* [in] */ ULONG cRecorders) = 0;
  418. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  419. virtual HRESULT STDMETHODCALLTYPE Clone(
  420. /* [out] */ IEnumDiscRecorders **ppEnum) = 0;
  421. };
  422. #else /* C style interface */
  423. typedef struct IEnumDiscRecordersVtbl
  424. {
  425. BEGIN_INTERFACE
  426. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  427. IEnumDiscRecorders * This,
  428. /* [in] */ REFIID riid,
  429. /* [iid_is][out] */ void **ppvObject);
  430. ULONG ( STDMETHODCALLTYPE *AddRef )(
  431. IEnumDiscRecorders * This);
  432. ULONG ( STDMETHODCALLTYPE *Release )(
  433. IEnumDiscRecorders * This);
  434. HRESULT ( STDMETHODCALLTYPE *Next )(
  435. IEnumDiscRecorders * This,
  436. /* [in] */ ULONG cRecorders,
  437. /* [length_is][size_is][out] */ IDiscRecorder **ppRecorder,
  438. /* [out] */ ULONG *pcFetched);
  439. HRESULT ( STDMETHODCALLTYPE *Skip )(
  440. IEnumDiscRecorders * This,
  441. /* [in] */ ULONG cRecorders);
  442. HRESULT ( STDMETHODCALLTYPE *Reset )(
  443. IEnumDiscRecorders * This);
  444. HRESULT ( STDMETHODCALLTYPE *Clone )(
  445. IEnumDiscRecorders * This,
  446. /* [out] */ IEnumDiscRecorders **ppEnum);
  447. END_INTERFACE
  448. } IEnumDiscRecordersVtbl;
  449. interface IEnumDiscRecorders
  450. {
  451. CONST_VTBL struct IEnumDiscRecordersVtbl *lpVtbl;
  452. };
  453. #ifdef COBJMACROS
  454. #define IEnumDiscRecorders_QueryInterface(This,riid,ppvObject) \
  455. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  456. #define IEnumDiscRecorders_AddRef(This) \
  457. (This)->lpVtbl -> AddRef(This)
  458. #define IEnumDiscRecorders_Release(This) \
  459. (This)->lpVtbl -> Release(This)
  460. #define IEnumDiscRecorders_Next(This,cRecorders,ppRecorder,pcFetched) \
  461. (This)->lpVtbl -> Next(This,cRecorders,ppRecorder,pcFetched)
  462. #define IEnumDiscRecorders_Skip(This,cRecorders) \
  463. (This)->lpVtbl -> Skip(This,cRecorders)
  464. #define IEnumDiscRecorders_Reset(This) \
  465. (This)->lpVtbl -> Reset(This)
  466. #define IEnumDiscRecorders_Clone(This,ppEnum) \
  467. (This)->lpVtbl -> Clone(This,ppEnum)
  468. #endif /* COBJMACROS */
  469. #endif /* C style interface */
  470. HRESULT STDMETHODCALLTYPE IEnumDiscRecorders_Next_Proxy(
  471. IEnumDiscRecorders * This,
  472. /* [in] */ ULONG cRecorders,
  473. /* [length_is][size_is][out] */ IDiscRecorder **ppRecorder,
  474. /* [out] */ ULONG *pcFetched);
  475. void __RPC_STUB IEnumDiscRecorders_Next_Stub(
  476. IRpcStubBuffer *This,
  477. IRpcChannelBuffer *_pRpcChannelBuffer,
  478. PRPC_MESSAGE _pRpcMessage,
  479. DWORD *_pdwStubPhase);
  480. HRESULT STDMETHODCALLTYPE IEnumDiscRecorders_Skip_Proxy(
  481. IEnumDiscRecorders * This,
  482. /* [in] */ ULONG cRecorders);
  483. void __RPC_STUB IEnumDiscRecorders_Skip_Stub(
  484. IRpcStubBuffer *This,
  485. IRpcChannelBuffer *_pRpcChannelBuffer,
  486. PRPC_MESSAGE _pRpcMessage,
  487. DWORD *_pdwStubPhase);
  488. HRESULT STDMETHODCALLTYPE IEnumDiscRecorders_Reset_Proxy(
  489. IEnumDiscRecorders * This);
  490. void __RPC_STUB IEnumDiscRecorders_Reset_Stub(
  491. IRpcStubBuffer *This,
  492. IRpcChannelBuffer *_pRpcChannelBuffer,
  493. PRPC_MESSAGE _pRpcMessage,
  494. DWORD *_pdwStubPhase);
  495. HRESULT STDMETHODCALLTYPE IEnumDiscRecorders_Clone_Proxy(
  496. IEnumDiscRecorders * This,
  497. /* [out] */ IEnumDiscRecorders **ppEnum);
  498. void __RPC_STUB IEnumDiscRecorders_Clone_Stub(
  499. IRpcStubBuffer *This,
  500. IRpcChannelBuffer *_pRpcChannelBuffer,
  501. PRPC_MESSAGE _pRpcMessage,
  502. DWORD *_pdwStubPhase);
  503. #endif /* __IEnumDiscRecorders_INTERFACE_DEFINED__ */
  504. #ifndef __IEnumDiscMasterFormats_INTERFACE_DEFINED__
  505. #define __IEnumDiscMasterFormats_INTERFACE_DEFINED__
  506. /* interface IEnumDiscMasterFormats */
  507. /* [unique][helpstring][uuid][object] */
  508. EXTERN_C const IID IID_IEnumDiscMasterFormats;
  509. #if defined(__cplusplus) && !defined(CINTERFACE)
  510. MIDL_INTERFACE("DDF445E1-54BA-11d3-9144-00104BA11C5E")
  511. IEnumDiscMasterFormats : public IUnknown
  512. {
  513. public:
  514. virtual HRESULT STDMETHODCALLTYPE Next(
  515. /* [in] */ ULONG cFormats,
  516. /* [length_is][size_is][out] */ LPIID lpiidFormatID,
  517. /* [out] */ ULONG *pcFetched) = 0;
  518. virtual HRESULT STDMETHODCALLTYPE Skip(
  519. /* [in] */ ULONG cFormats) = 0;
  520. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  521. virtual HRESULT STDMETHODCALLTYPE Clone(
  522. /* [out] */ IEnumDiscMasterFormats **ppEnum) = 0;
  523. };
  524. #else /* C style interface */
  525. typedef struct IEnumDiscMasterFormatsVtbl
  526. {
  527. BEGIN_INTERFACE
  528. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  529. IEnumDiscMasterFormats * This,
  530. /* [in] */ REFIID riid,
  531. /* [iid_is][out] */ void **ppvObject);
  532. ULONG ( STDMETHODCALLTYPE *AddRef )(
  533. IEnumDiscMasterFormats * This);
  534. ULONG ( STDMETHODCALLTYPE *Release )(
  535. IEnumDiscMasterFormats * This);
  536. HRESULT ( STDMETHODCALLTYPE *Next )(
  537. IEnumDiscMasterFormats * This,
  538. /* [in] */ ULONG cFormats,
  539. /* [length_is][size_is][out] */ LPIID lpiidFormatID,
  540. /* [out] */ ULONG *pcFetched);
  541. HRESULT ( STDMETHODCALLTYPE *Skip )(
  542. IEnumDiscMasterFormats * This,
  543. /* [in] */ ULONG cFormats);
  544. HRESULT ( STDMETHODCALLTYPE *Reset )(
  545. IEnumDiscMasterFormats * This);
  546. HRESULT ( STDMETHODCALLTYPE *Clone )(
  547. IEnumDiscMasterFormats * This,
  548. /* [out] */ IEnumDiscMasterFormats **ppEnum);
  549. END_INTERFACE
  550. } IEnumDiscMasterFormatsVtbl;
  551. interface IEnumDiscMasterFormats
  552. {
  553. CONST_VTBL struct IEnumDiscMasterFormatsVtbl *lpVtbl;
  554. };
  555. #ifdef COBJMACROS
  556. #define IEnumDiscMasterFormats_QueryInterface(This,riid,ppvObject) \
  557. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  558. #define IEnumDiscMasterFormats_AddRef(This) \
  559. (This)->lpVtbl -> AddRef(This)
  560. #define IEnumDiscMasterFormats_Release(This) \
  561. (This)->lpVtbl -> Release(This)
  562. #define IEnumDiscMasterFormats_Next(This,cFormats,lpiidFormatID,pcFetched) \
  563. (This)->lpVtbl -> Next(This,cFormats,lpiidFormatID,pcFetched)
  564. #define IEnumDiscMasterFormats_Skip(This,cFormats) \
  565. (This)->lpVtbl -> Skip(This,cFormats)
  566. #define IEnumDiscMasterFormats_Reset(This) \
  567. (This)->lpVtbl -> Reset(This)
  568. #define IEnumDiscMasterFormats_Clone(This,ppEnum) \
  569. (This)->lpVtbl -> Clone(This,ppEnum)
  570. #endif /* COBJMACROS */
  571. #endif /* C style interface */
  572. HRESULT STDMETHODCALLTYPE IEnumDiscMasterFormats_Next_Proxy(
  573. IEnumDiscMasterFormats * This,
  574. /* [in] */ ULONG cFormats,
  575. /* [length_is][size_is][out] */ LPIID lpiidFormatID,
  576. /* [out] */ ULONG *pcFetched);
  577. void __RPC_STUB IEnumDiscMasterFormats_Next_Stub(
  578. IRpcStubBuffer *This,
  579. IRpcChannelBuffer *_pRpcChannelBuffer,
  580. PRPC_MESSAGE _pRpcMessage,
  581. DWORD *_pdwStubPhase);
  582. HRESULT STDMETHODCALLTYPE IEnumDiscMasterFormats_Skip_Proxy(
  583. IEnumDiscMasterFormats * This,
  584. /* [in] */ ULONG cFormats);
  585. void __RPC_STUB IEnumDiscMasterFormats_Skip_Stub(
  586. IRpcStubBuffer *This,
  587. IRpcChannelBuffer *_pRpcChannelBuffer,
  588. PRPC_MESSAGE _pRpcMessage,
  589. DWORD *_pdwStubPhase);
  590. HRESULT STDMETHODCALLTYPE IEnumDiscMasterFormats_Reset_Proxy(
  591. IEnumDiscMasterFormats * This);
  592. void __RPC_STUB IEnumDiscMasterFormats_Reset_Stub(
  593. IRpcStubBuffer *This,
  594. IRpcChannelBuffer *_pRpcChannelBuffer,
  595. PRPC_MESSAGE _pRpcMessage,
  596. DWORD *_pdwStubPhase);
  597. HRESULT STDMETHODCALLTYPE IEnumDiscMasterFormats_Clone_Proxy(
  598. IEnumDiscMasterFormats * This,
  599. /* [out] */ IEnumDiscMasterFormats **ppEnum);
  600. void __RPC_STUB IEnumDiscMasterFormats_Clone_Stub(
  601. IRpcStubBuffer *This,
  602. IRpcChannelBuffer *_pRpcChannelBuffer,
  603. PRPC_MESSAGE _pRpcMessage,
  604. DWORD *_pdwStubPhase);
  605. #endif /* __IEnumDiscMasterFormats_INTERFACE_DEFINED__ */
  606. #ifndef __IRedbookDiscMaster_INTERFACE_DEFINED__
  607. #define __IRedbookDiscMaster_INTERFACE_DEFINED__
  608. /* interface IRedbookDiscMaster */
  609. /* [unique][helpstring][uuid][object] */
  610. EXTERN_C const IID IID_IRedbookDiscMaster;
  611. #if defined(__cplusplus) && !defined(CINTERFACE)
  612. MIDL_INTERFACE("E3BC42CD-4E5C-11D3-9144-00104BA11C5E")
  613. IRedbookDiscMaster : public IUnknown
  614. {
  615. public:
  616. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetTotalAudioTracks(
  617. /* [retval][out] */ long *pnTracks) = 0;
  618. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetTotalAudioBlocks(
  619. /* [retval][out] */ long *pnBlocks) = 0;
  620. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetUsedAudioBlocks(
  621. /* [retval][out] */ long *pnBlocks) = 0;
  622. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetAvailableAudioTrackBlocks(
  623. /* [retval][out] */ long *pnBlocks) = 0;
  624. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetAudioBlockSize(
  625. /* [retval][out] */ long *pnBlockBytes) = 0;
  626. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CreateAudioTrack(
  627. /* [in] */ long nBlocks) = 0;
  628. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddAudioTrackBlocks(
  629. /* [size_is][in] */ byte *pby,
  630. /* [in] */ long cb) = 0;
  631. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CloseAudioTrack( void) = 0;
  632. };
  633. #else /* C style interface */
  634. typedef struct IRedbookDiscMasterVtbl
  635. {
  636. BEGIN_INTERFACE
  637. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  638. IRedbookDiscMaster * This,
  639. /* [in] */ REFIID riid,
  640. /* [iid_is][out] */ void **ppvObject);
  641. ULONG ( STDMETHODCALLTYPE *AddRef )(
  642. IRedbookDiscMaster * This);
  643. ULONG ( STDMETHODCALLTYPE *Release )(
  644. IRedbookDiscMaster * This);
  645. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetTotalAudioTracks )(
  646. IRedbookDiscMaster * This,
  647. /* [retval][out] */ long *pnTracks);
  648. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetTotalAudioBlocks )(
  649. IRedbookDiscMaster * This,
  650. /* [retval][out] */ long *pnBlocks);
  651. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetUsedAudioBlocks )(
  652. IRedbookDiscMaster * This,
  653. /* [retval][out] */ long *pnBlocks);
  654. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetAvailableAudioTrackBlocks )(
  655. IRedbookDiscMaster * This,
  656. /* [retval][out] */ long *pnBlocks);
  657. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetAudioBlockSize )(
  658. IRedbookDiscMaster * This,
  659. /* [retval][out] */ long *pnBlockBytes);
  660. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CreateAudioTrack )(
  661. IRedbookDiscMaster * This,
  662. /* [in] */ long nBlocks);
  663. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddAudioTrackBlocks )(
  664. IRedbookDiscMaster * This,
  665. /* [size_is][in] */ byte *pby,
  666. /* [in] */ long cb);
  667. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CloseAudioTrack )(
  668. IRedbookDiscMaster * This);
  669. END_INTERFACE
  670. } IRedbookDiscMasterVtbl;
  671. interface IRedbookDiscMaster
  672. {
  673. CONST_VTBL struct IRedbookDiscMasterVtbl *lpVtbl;
  674. };
  675. #ifdef COBJMACROS
  676. #define IRedbookDiscMaster_QueryInterface(This,riid,ppvObject) \
  677. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  678. #define IRedbookDiscMaster_AddRef(This) \
  679. (This)->lpVtbl -> AddRef(This)
  680. #define IRedbookDiscMaster_Release(This) \
  681. (This)->lpVtbl -> Release(This)
  682. #define IRedbookDiscMaster_GetTotalAudioTracks(This,pnTracks) \
  683. (This)->lpVtbl -> GetTotalAudioTracks(This,pnTracks)
  684. #define IRedbookDiscMaster_GetTotalAudioBlocks(This,pnBlocks) \
  685. (This)->lpVtbl -> GetTotalAudioBlocks(This,pnBlocks)
  686. #define IRedbookDiscMaster_GetUsedAudioBlocks(This,pnBlocks) \
  687. (This)->lpVtbl -> GetUsedAudioBlocks(This,pnBlocks)
  688. #define IRedbookDiscMaster_GetAvailableAudioTrackBlocks(This,pnBlocks) \
  689. (This)->lpVtbl -> GetAvailableAudioTrackBlocks(This,pnBlocks)
  690. #define IRedbookDiscMaster_GetAudioBlockSize(This,pnBlockBytes) \
  691. (This)->lpVtbl -> GetAudioBlockSize(This,pnBlockBytes)
  692. #define IRedbookDiscMaster_CreateAudioTrack(This,nBlocks) \
  693. (This)->lpVtbl -> CreateAudioTrack(This,nBlocks)
  694. #define IRedbookDiscMaster_AddAudioTrackBlocks(This,pby,cb) \
  695. (This)->lpVtbl -> AddAudioTrackBlocks(This,pby,cb)
  696. #define IRedbookDiscMaster_CloseAudioTrack(This) \
  697. (This)->lpVtbl -> CloseAudioTrack(This)
  698. #endif /* COBJMACROS */
  699. #endif /* C style interface */
  700. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IRedbookDiscMaster_GetTotalAudioTracks_Proxy(
  701. IRedbookDiscMaster * This,
  702. /* [retval][out] */ long *pnTracks);
  703. void __RPC_STUB IRedbookDiscMaster_GetTotalAudioTracks_Stub(
  704. IRpcStubBuffer *This,
  705. IRpcChannelBuffer *_pRpcChannelBuffer,
  706. PRPC_MESSAGE _pRpcMessage,
  707. DWORD *_pdwStubPhase);
  708. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IRedbookDiscMaster_GetTotalAudioBlocks_Proxy(
  709. IRedbookDiscMaster * This,
  710. /* [retval][out] */ long *pnBlocks);
  711. void __RPC_STUB IRedbookDiscMaster_GetTotalAudioBlocks_Stub(
  712. IRpcStubBuffer *This,
  713. IRpcChannelBuffer *_pRpcChannelBuffer,
  714. PRPC_MESSAGE _pRpcMessage,
  715. DWORD *_pdwStubPhase);
  716. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IRedbookDiscMaster_GetUsedAudioBlocks_Proxy(
  717. IRedbookDiscMaster * This,
  718. /* [retval][out] */ long *pnBlocks);
  719. void __RPC_STUB IRedbookDiscMaster_GetUsedAudioBlocks_Stub(
  720. IRpcStubBuffer *This,
  721. IRpcChannelBuffer *_pRpcChannelBuffer,
  722. PRPC_MESSAGE _pRpcMessage,
  723. DWORD *_pdwStubPhase);
  724. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IRedbookDiscMaster_GetAvailableAudioTrackBlocks_Proxy(
  725. IRedbookDiscMaster * This,
  726. /* [retval][out] */ long *pnBlocks);
  727. void __RPC_STUB IRedbookDiscMaster_GetAvailableAudioTrackBlocks_Stub(
  728. IRpcStubBuffer *This,
  729. IRpcChannelBuffer *_pRpcChannelBuffer,
  730. PRPC_MESSAGE _pRpcMessage,
  731. DWORD *_pdwStubPhase);
  732. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IRedbookDiscMaster_GetAudioBlockSize_Proxy(
  733. IRedbookDiscMaster * This,
  734. /* [retval][out] */ long *pnBlockBytes);
  735. void __RPC_STUB IRedbookDiscMaster_GetAudioBlockSize_Stub(
  736. IRpcStubBuffer *This,
  737. IRpcChannelBuffer *_pRpcChannelBuffer,
  738. PRPC_MESSAGE _pRpcMessage,
  739. DWORD *_pdwStubPhase);
  740. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IRedbookDiscMaster_CreateAudioTrack_Proxy(
  741. IRedbookDiscMaster * This,
  742. /* [in] */ long nBlocks);
  743. void __RPC_STUB IRedbookDiscMaster_CreateAudioTrack_Stub(
  744. IRpcStubBuffer *This,
  745. IRpcChannelBuffer *_pRpcChannelBuffer,
  746. PRPC_MESSAGE _pRpcMessage,
  747. DWORD *_pdwStubPhase);
  748. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IRedbookDiscMaster_AddAudioTrackBlocks_Proxy(
  749. IRedbookDiscMaster * This,
  750. /* [size_is][in] */ byte *pby,
  751. /* [in] */ long cb);
  752. void __RPC_STUB IRedbookDiscMaster_AddAudioTrackBlocks_Stub(
  753. IRpcStubBuffer *This,
  754. IRpcChannelBuffer *_pRpcChannelBuffer,
  755. PRPC_MESSAGE _pRpcMessage,
  756. DWORD *_pdwStubPhase);
  757. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IRedbookDiscMaster_CloseAudioTrack_Proxy(
  758. IRedbookDiscMaster * This);
  759. void __RPC_STUB IRedbookDiscMaster_CloseAudioTrack_Stub(
  760. IRpcStubBuffer *This,
  761. IRpcChannelBuffer *_pRpcChannelBuffer,
  762. PRPC_MESSAGE _pRpcMessage,
  763. DWORD *_pdwStubPhase);
  764. #endif /* __IRedbookDiscMaster_INTERFACE_DEFINED__ */
  765. #ifndef __IJolietDiscMaster_INTERFACE_DEFINED__
  766. #define __IJolietDiscMaster_INTERFACE_DEFINED__
  767. /* interface IJolietDiscMaster */
  768. /* [unique][helpstring][uuid][object] */
  769. EXTERN_C const IID IID_IJolietDiscMaster;
  770. #if defined(__cplusplus) && !defined(CINTERFACE)
  771. MIDL_INTERFACE("E3BC42CE-4E5C-11D3-9144-00104BA11C5E")
  772. IJolietDiscMaster : public IUnknown
  773. {
  774. public:
  775. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetTotalDataBlocks(
  776. /* [retval][out] */ long *pnBlocks) = 0;
  777. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetUsedDataBlocks(
  778. /* [retval][out] */ long *pnBlocks) = 0;
  779. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetDataBlockSize(
  780. /* [retval][out] */ long *pnBlockBytes) = 0;
  781. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddData(
  782. /* [in] */ IStorage *pStorage,
  783. long lFileOverwrite) = 0;
  784. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetJolietProperties(
  785. /* [out] */ IPropertyStorage **ppPropStg) = 0;
  786. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetJolietProperties(
  787. /* [in] */ IPropertyStorage *pPropStg) = 0;
  788. };
  789. #else /* C style interface */
  790. typedef struct IJolietDiscMasterVtbl
  791. {
  792. BEGIN_INTERFACE
  793. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  794. IJolietDiscMaster * This,
  795. /* [in] */ REFIID riid,
  796. /* [iid_is][out] */ void **ppvObject);
  797. ULONG ( STDMETHODCALLTYPE *AddRef )(
  798. IJolietDiscMaster * This);
  799. ULONG ( STDMETHODCALLTYPE *Release )(
  800. IJolietDiscMaster * This);
  801. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetTotalDataBlocks )(
  802. IJolietDiscMaster * This,
  803. /* [retval][out] */ long *pnBlocks);
  804. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetUsedDataBlocks )(
  805. IJolietDiscMaster * This,
  806. /* [retval][out] */ long *pnBlocks);
  807. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetDataBlockSize )(
  808. IJolietDiscMaster * This,
  809. /* [retval][out] */ long *pnBlockBytes);
  810. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddData )(
  811. IJolietDiscMaster * This,
  812. /* [in] */ IStorage *pStorage,
  813. long lFileOverwrite);
  814. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetJolietProperties )(
  815. IJolietDiscMaster * This,
  816. /* [out] */ IPropertyStorage **ppPropStg);
  817. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetJolietProperties )(
  818. IJolietDiscMaster * This,
  819. /* [in] */ IPropertyStorage *pPropStg);
  820. END_INTERFACE
  821. } IJolietDiscMasterVtbl;
  822. interface IJolietDiscMaster
  823. {
  824. CONST_VTBL struct IJolietDiscMasterVtbl *lpVtbl;
  825. };
  826. #ifdef COBJMACROS
  827. #define IJolietDiscMaster_QueryInterface(This,riid,ppvObject) \
  828. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  829. #define IJolietDiscMaster_AddRef(This) \
  830. (This)->lpVtbl -> AddRef(This)
  831. #define IJolietDiscMaster_Release(This) \
  832. (This)->lpVtbl -> Release(This)
  833. #define IJolietDiscMaster_GetTotalDataBlocks(This,pnBlocks) \
  834. (This)->lpVtbl -> GetTotalDataBlocks(This,pnBlocks)
  835. #define IJolietDiscMaster_GetUsedDataBlocks(This,pnBlocks) \
  836. (This)->lpVtbl -> GetUsedDataBlocks(This,pnBlocks)
  837. #define IJolietDiscMaster_GetDataBlockSize(This,pnBlockBytes) \
  838. (This)->lpVtbl -> GetDataBlockSize(This,pnBlockBytes)
  839. #define IJolietDiscMaster_AddData(This,pStorage,lFileOverwrite) \
  840. (This)->lpVtbl -> AddData(This,pStorage,lFileOverwrite)
  841. #define IJolietDiscMaster_GetJolietProperties(This,ppPropStg) \
  842. (This)->lpVtbl -> GetJolietProperties(This,ppPropStg)
  843. #define IJolietDiscMaster_SetJolietProperties(This,pPropStg) \
  844. (This)->lpVtbl -> SetJolietProperties(This,pPropStg)
  845. #endif /* COBJMACROS */
  846. #endif /* C style interface */
  847. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IJolietDiscMaster_GetTotalDataBlocks_Proxy(
  848. IJolietDiscMaster * This,
  849. /* [retval][out] */ long *pnBlocks);
  850. void __RPC_STUB IJolietDiscMaster_GetTotalDataBlocks_Stub(
  851. IRpcStubBuffer *This,
  852. IRpcChannelBuffer *_pRpcChannelBuffer,
  853. PRPC_MESSAGE _pRpcMessage,
  854. DWORD *_pdwStubPhase);
  855. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IJolietDiscMaster_GetUsedDataBlocks_Proxy(
  856. IJolietDiscMaster * This,
  857. /* [retval][out] */ long *pnBlocks);
  858. void __RPC_STUB IJolietDiscMaster_GetUsedDataBlocks_Stub(
  859. IRpcStubBuffer *This,
  860. IRpcChannelBuffer *_pRpcChannelBuffer,
  861. PRPC_MESSAGE _pRpcMessage,
  862. DWORD *_pdwStubPhase);
  863. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IJolietDiscMaster_GetDataBlockSize_Proxy(
  864. IJolietDiscMaster * This,
  865. /* [retval][out] */ long *pnBlockBytes);
  866. void __RPC_STUB IJolietDiscMaster_GetDataBlockSize_Stub(
  867. IRpcStubBuffer *This,
  868. IRpcChannelBuffer *_pRpcChannelBuffer,
  869. PRPC_MESSAGE _pRpcMessage,
  870. DWORD *_pdwStubPhase);
  871. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IJolietDiscMaster_AddData_Proxy(
  872. IJolietDiscMaster * This,
  873. /* [in] */ IStorage *pStorage,
  874. long lFileOverwrite);
  875. void __RPC_STUB IJolietDiscMaster_AddData_Stub(
  876. IRpcStubBuffer *This,
  877. IRpcChannelBuffer *_pRpcChannelBuffer,
  878. PRPC_MESSAGE _pRpcMessage,
  879. DWORD *_pdwStubPhase);
  880. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IJolietDiscMaster_GetJolietProperties_Proxy(
  881. IJolietDiscMaster * This,
  882. /* [out] */ IPropertyStorage **ppPropStg);
  883. void __RPC_STUB IJolietDiscMaster_GetJolietProperties_Stub(
  884. IRpcStubBuffer *This,
  885. IRpcChannelBuffer *_pRpcChannelBuffer,
  886. PRPC_MESSAGE _pRpcMessage,
  887. DWORD *_pdwStubPhase);
  888. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IJolietDiscMaster_SetJolietProperties_Proxy(
  889. IJolietDiscMaster * This,
  890. /* [in] */ IPropertyStorage *pPropStg);
  891. void __RPC_STUB IJolietDiscMaster_SetJolietProperties_Stub(
  892. IRpcStubBuffer *This,
  893. IRpcChannelBuffer *_pRpcChannelBuffer,
  894. PRPC_MESSAGE _pRpcMessage,
  895. DWORD *_pdwStubPhase);
  896. #endif /* __IJolietDiscMaster_INTERFACE_DEFINED__ */
  897. #ifndef __IDiscMasterProgressEvents_INTERFACE_DEFINED__
  898. #define __IDiscMasterProgressEvents_INTERFACE_DEFINED__
  899. /* interface IDiscMasterProgressEvents */
  900. /* [unique][helpstring][uuid][object] */
  901. EXTERN_C const IID IID_IDiscMasterProgressEvents;
  902. #if defined(__cplusplus) && !defined(CINTERFACE)
  903. MIDL_INTERFACE("EC9E51C1-4E5D-11D3-9144-00104BA11C5E")
  904. IDiscMasterProgressEvents : public IUnknown
  905. {
  906. public:
  907. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE QueryCancel(
  908. /* [retval][out] */ boolean *pbCancel) = 0;
  909. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE NotifyPnPActivity( void) = 0;
  910. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE NotifyAddProgress(
  911. /* [in] */ long nCompletedSteps,
  912. /* [in] */ long nTotalSteps) = 0;
  913. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE NotifyBlockProgress(
  914. /* [in] */ long nCompleted,
  915. /* [in] */ long nTotal) = 0;
  916. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE NotifyTrackProgress(
  917. /* [in] */ long nCurrentTrack,
  918. /* [in] */ long nTotalTracks) = 0;
  919. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE NotifyPreparingBurn(
  920. /* [in] */ long nEstimatedSeconds) = 0;
  921. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE NotifyClosingDisc(
  922. /* [in] */ long nEstimatedSeconds) = 0;
  923. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE NotifyBurnComplete(
  924. /* [in] */ HRESULT status) = 0;
  925. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE NotifyEraseComplete(
  926. /* [in] */ HRESULT status) = 0;
  927. };
  928. #else /* C style interface */
  929. typedef struct IDiscMasterProgressEventsVtbl
  930. {
  931. BEGIN_INTERFACE
  932. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  933. IDiscMasterProgressEvents * This,
  934. /* [in] */ REFIID riid,
  935. /* [iid_is][out] */ void **ppvObject);
  936. ULONG ( STDMETHODCALLTYPE *AddRef )(
  937. IDiscMasterProgressEvents * This);
  938. ULONG ( STDMETHODCALLTYPE *Release )(
  939. IDiscMasterProgressEvents * This);
  940. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryCancel )(
  941. IDiscMasterProgressEvents * This,
  942. /* [retval][out] */ boolean *pbCancel);
  943. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *NotifyPnPActivity )(
  944. IDiscMasterProgressEvents * This);
  945. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *NotifyAddProgress )(
  946. IDiscMasterProgressEvents * This,
  947. /* [in] */ long nCompletedSteps,
  948. /* [in] */ long nTotalSteps);
  949. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *NotifyBlockProgress )(
  950. IDiscMasterProgressEvents * This,
  951. /* [in] */ long nCompleted,
  952. /* [in] */ long nTotal);
  953. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *NotifyTrackProgress )(
  954. IDiscMasterProgressEvents * This,
  955. /* [in] */ long nCurrentTrack,
  956. /* [in] */ long nTotalTracks);
  957. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *NotifyPreparingBurn )(
  958. IDiscMasterProgressEvents * This,
  959. /* [in] */ long nEstimatedSeconds);
  960. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *NotifyClosingDisc )(
  961. IDiscMasterProgressEvents * This,
  962. /* [in] */ long nEstimatedSeconds);
  963. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *NotifyBurnComplete )(
  964. IDiscMasterProgressEvents * This,
  965. /* [in] */ HRESULT status);
  966. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *NotifyEraseComplete )(
  967. IDiscMasterProgressEvents * This,
  968. /* [in] */ HRESULT status);
  969. END_INTERFACE
  970. } IDiscMasterProgressEventsVtbl;
  971. interface IDiscMasterProgressEvents
  972. {
  973. CONST_VTBL struct IDiscMasterProgressEventsVtbl *lpVtbl;
  974. };
  975. #ifdef COBJMACROS
  976. #define IDiscMasterProgressEvents_QueryInterface(This,riid,ppvObject) \
  977. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  978. #define IDiscMasterProgressEvents_AddRef(This) \
  979. (This)->lpVtbl -> AddRef(This)
  980. #define IDiscMasterProgressEvents_Release(This) \
  981. (This)->lpVtbl -> Release(This)
  982. #define IDiscMasterProgressEvents_QueryCancel(This,pbCancel) \
  983. (This)->lpVtbl -> QueryCancel(This,pbCancel)
  984. #define IDiscMasterProgressEvents_NotifyPnPActivity(This) \
  985. (This)->lpVtbl -> NotifyPnPActivity(This)
  986. #define IDiscMasterProgressEvents_NotifyAddProgress(This,nCompletedSteps,nTotalSteps) \
  987. (This)->lpVtbl -> NotifyAddProgress(This,nCompletedSteps,nTotalSteps)
  988. #define IDiscMasterProgressEvents_NotifyBlockProgress(This,nCompleted,nTotal) \
  989. (This)->lpVtbl -> NotifyBlockProgress(This,nCompleted,nTotal)
  990. #define IDiscMasterProgressEvents_NotifyTrackProgress(This,nCurrentTrack,nTotalTracks) \
  991. (This)->lpVtbl -> NotifyTrackProgress(This,nCurrentTrack,nTotalTracks)
  992. #define IDiscMasterProgressEvents_NotifyPreparingBurn(This,nEstimatedSeconds) \
  993. (This)->lpVtbl -> NotifyPreparingBurn(This,nEstimatedSeconds)
  994. #define IDiscMasterProgressEvents_NotifyClosingDisc(This,nEstimatedSeconds) \
  995. (This)->lpVtbl -> NotifyClosingDisc(This,nEstimatedSeconds)
  996. #define IDiscMasterProgressEvents_NotifyBurnComplete(This,status) \
  997. (This)->lpVtbl -> NotifyBurnComplete(This,status)
  998. #define IDiscMasterProgressEvents_NotifyEraseComplete(This,status) \
  999. (This)->lpVtbl -> NotifyEraseComplete(This,status)
  1000. #endif /* COBJMACROS */
  1001. #endif /* C style interface */
  1002. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscMasterProgressEvents_QueryCancel_Proxy(
  1003. IDiscMasterProgressEvents * This,
  1004. /* [retval][out] */ boolean *pbCancel);
  1005. void __RPC_STUB IDiscMasterProgressEvents_QueryCancel_Stub(
  1006. IRpcStubBuffer *This,
  1007. IRpcChannelBuffer *_pRpcChannelBuffer,
  1008. PRPC_MESSAGE _pRpcMessage,
  1009. DWORD *_pdwStubPhase);
  1010. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscMasterProgressEvents_NotifyPnPActivity_Proxy(
  1011. IDiscMasterProgressEvents * This);
  1012. void __RPC_STUB IDiscMasterProgressEvents_NotifyPnPActivity_Stub(
  1013. IRpcStubBuffer *This,
  1014. IRpcChannelBuffer *_pRpcChannelBuffer,
  1015. PRPC_MESSAGE _pRpcMessage,
  1016. DWORD *_pdwStubPhase);
  1017. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscMasterProgressEvents_NotifyAddProgress_Proxy(
  1018. IDiscMasterProgressEvents * This,
  1019. /* [in] */ long nCompletedSteps,
  1020. /* [in] */ long nTotalSteps);
  1021. void __RPC_STUB IDiscMasterProgressEvents_NotifyAddProgress_Stub(
  1022. IRpcStubBuffer *This,
  1023. IRpcChannelBuffer *_pRpcChannelBuffer,
  1024. PRPC_MESSAGE _pRpcMessage,
  1025. DWORD *_pdwStubPhase);
  1026. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscMasterProgressEvents_NotifyBlockProgress_Proxy(
  1027. IDiscMasterProgressEvents * This,
  1028. /* [in] */ long nCompleted,
  1029. /* [in] */ long nTotal);
  1030. void __RPC_STUB IDiscMasterProgressEvents_NotifyBlockProgress_Stub(
  1031. IRpcStubBuffer *This,
  1032. IRpcChannelBuffer *_pRpcChannelBuffer,
  1033. PRPC_MESSAGE _pRpcMessage,
  1034. DWORD *_pdwStubPhase);
  1035. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscMasterProgressEvents_NotifyTrackProgress_Proxy(
  1036. IDiscMasterProgressEvents * This,
  1037. /* [in] */ long nCurrentTrack,
  1038. /* [in] */ long nTotalTracks);
  1039. void __RPC_STUB IDiscMasterProgressEvents_NotifyTrackProgress_Stub(
  1040. IRpcStubBuffer *This,
  1041. IRpcChannelBuffer *_pRpcChannelBuffer,
  1042. PRPC_MESSAGE _pRpcMessage,
  1043. DWORD *_pdwStubPhase);
  1044. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscMasterProgressEvents_NotifyPreparingBurn_Proxy(
  1045. IDiscMasterProgressEvents * This,
  1046. /* [in] */ long nEstimatedSeconds);
  1047. void __RPC_STUB IDiscMasterProgressEvents_NotifyPreparingBurn_Stub(
  1048. IRpcStubBuffer *This,
  1049. IRpcChannelBuffer *_pRpcChannelBuffer,
  1050. PRPC_MESSAGE _pRpcMessage,
  1051. DWORD *_pdwStubPhase);
  1052. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscMasterProgressEvents_NotifyClosingDisc_Proxy(
  1053. IDiscMasterProgressEvents * This,
  1054. /* [in] */ long nEstimatedSeconds);
  1055. void __RPC_STUB IDiscMasterProgressEvents_NotifyClosingDisc_Stub(
  1056. IRpcStubBuffer *This,
  1057. IRpcChannelBuffer *_pRpcChannelBuffer,
  1058. PRPC_MESSAGE _pRpcMessage,
  1059. DWORD *_pdwStubPhase);
  1060. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscMasterProgressEvents_NotifyBurnComplete_Proxy(
  1061. IDiscMasterProgressEvents * This,
  1062. /* [in] */ HRESULT status);
  1063. void __RPC_STUB IDiscMasterProgressEvents_NotifyBurnComplete_Stub(
  1064. IRpcStubBuffer *This,
  1065. IRpcChannelBuffer *_pRpcChannelBuffer,
  1066. PRPC_MESSAGE _pRpcMessage,
  1067. DWORD *_pdwStubPhase);
  1068. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscMasterProgressEvents_NotifyEraseComplete_Proxy(
  1069. IDiscMasterProgressEvents * This,
  1070. /* [in] */ HRESULT status);
  1071. void __RPC_STUB IDiscMasterProgressEvents_NotifyEraseComplete_Stub(
  1072. IRpcStubBuffer *This,
  1073. IRpcChannelBuffer *_pRpcChannelBuffer,
  1074. PRPC_MESSAGE _pRpcMessage,
  1075. DWORD *_pdwStubPhase);
  1076. #endif /* __IDiscMasterProgressEvents_INTERFACE_DEFINED__ */
  1077. #ifndef __IDiscMaster_INTERFACE_DEFINED__
  1078. #define __IDiscMaster_INTERFACE_DEFINED__
  1079. /* interface IDiscMaster */
  1080. /* [unique][helpstring][uuid][object] */
  1081. EXTERN_C const IID IID_IDiscMaster;
  1082. #if defined(__cplusplus) && !defined(CINTERFACE)
  1083. MIDL_INTERFACE("520CCA62-51A5-11D3-9144-00104BA11C5E")
  1084. IDiscMaster : public IUnknown
  1085. {
  1086. public:
  1087. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Open( void) = 0;
  1088. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE EnumDiscMasterFormats(
  1089. /* [out] */ IEnumDiscMasterFormats **ppEnum) = 0;
  1090. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetActiveDiscMasterFormat(
  1091. /* [out] */ LPIID lpiid) = 0;
  1092. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetActiveDiscMasterFormat(
  1093. /* [in] */ REFIID riid,
  1094. /* [iid_is][out] */ void **ppUnk) = 0;
  1095. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE EnumDiscRecorders(
  1096. /* [out] */ IEnumDiscRecorders **ppEnum) = 0;
  1097. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetActiveDiscRecorder(
  1098. /* [out] */ IDiscRecorder **ppRecorder) = 0;
  1099. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetActiveDiscRecorder(
  1100. /* [in] */ IDiscRecorder *pRecorder) = 0;
  1101. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ClearFormatContent( void) = 0;
  1102. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ProgressAdvise(
  1103. /* [in] */ IDiscMasterProgressEvents *pEvents,
  1104. /* [retval][out] */ UINT_PTR *pvCookie) = 0;
  1105. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ProgressUnadvise(
  1106. /* [in] */ UINT_PTR vCookie) = 0;
  1107. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RecordDisc(
  1108. /* [in] */ boolean bSimulate,
  1109. /* [in] */ boolean bEjectAfterBurn) = 0;
  1110. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Close( void) = 0;
  1111. };
  1112. #else /* C style interface */
  1113. typedef struct IDiscMasterVtbl
  1114. {
  1115. BEGIN_INTERFACE
  1116. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1117. IDiscMaster * This,
  1118. /* [in] */ REFIID riid,
  1119. /* [iid_is][out] */ void **ppvObject);
  1120. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1121. IDiscMaster * This);
  1122. ULONG ( STDMETHODCALLTYPE *Release )(
  1123. IDiscMaster * This);
  1124. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Open )(
  1125. IDiscMaster * This);
  1126. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *EnumDiscMasterFormats )(
  1127. IDiscMaster * This,
  1128. /* [out] */ IEnumDiscMasterFormats **ppEnum);
  1129. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetActiveDiscMasterFormat )(
  1130. IDiscMaster * This,
  1131. /* [out] */ LPIID lpiid);
  1132. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetActiveDiscMasterFormat )(
  1133. IDiscMaster * This,
  1134. /* [in] */ REFIID riid,
  1135. /* [iid_is][out] */ void **ppUnk);
  1136. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *EnumDiscRecorders )(
  1137. IDiscMaster * This,
  1138. /* [out] */ IEnumDiscRecorders **ppEnum);
  1139. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetActiveDiscRecorder )(
  1140. IDiscMaster * This,
  1141. /* [out] */ IDiscRecorder **ppRecorder);
  1142. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetActiveDiscRecorder )(
  1143. IDiscMaster * This,
  1144. /* [in] */ IDiscRecorder *pRecorder);
  1145. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ClearFormatContent )(
  1146. IDiscMaster * This);
  1147. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ProgressAdvise )(
  1148. IDiscMaster * This,
  1149. /* [in] */ IDiscMasterProgressEvents *pEvents,
  1150. /* [retval][out] */ UINT_PTR *pvCookie);
  1151. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ProgressUnadvise )(
  1152. IDiscMaster * This,
  1153. /* [in] */ UINT_PTR vCookie);
  1154. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RecordDisc )(
  1155. IDiscMaster * This,
  1156. /* [in] */ boolean bSimulate,
  1157. /* [in] */ boolean bEjectAfterBurn);
  1158. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Close )(
  1159. IDiscMaster * This);
  1160. END_INTERFACE
  1161. } IDiscMasterVtbl;
  1162. interface IDiscMaster
  1163. {
  1164. CONST_VTBL struct IDiscMasterVtbl *lpVtbl;
  1165. };
  1166. #ifdef COBJMACROS
  1167. #define IDiscMaster_QueryInterface(This,riid,ppvObject) \
  1168. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1169. #define IDiscMaster_AddRef(This) \
  1170. (This)->lpVtbl -> AddRef(This)
  1171. #define IDiscMaster_Release(This) \
  1172. (This)->lpVtbl -> Release(This)
  1173. #define IDiscMaster_Open(This) \
  1174. (This)->lpVtbl -> Open(This)
  1175. #define IDiscMaster_EnumDiscMasterFormats(This,ppEnum) \
  1176. (This)->lpVtbl -> EnumDiscMasterFormats(This,ppEnum)
  1177. #define IDiscMaster_GetActiveDiscMasterFormat(This,lpiid) \
  1178. (This)->lpVtbl -> GetActiveDiscMasterFormat(This,lpiid)
  1179. #define IDiscMaster_SetActiveDiscMasterFormat(This,riid,ppUnk) \
  1180. (This)->lpVtbl -> SetActiveDiscMasterFormat(This,riid,ppUnk)
  1181. #define IDiscMaster_EnumDiscRecorders(This,ppEnum) \
  1182. (This)->lpVtbl -> EnumDiscRecorders(This,ppEnum)
  1183. #define IDiscMaster_GetActiveDiscRecorder(This,ppRecorder) \
  1184. (This)->lpVtbl -> GetActiveDiscRecorder(This,ppRecorder)
  1185. #define IDiscMaster_SetActiveDiscRecorder(This,pRecorder) \
  1186. (This)->lpVtbl -> SetActiveDiscRecorder(This,pRecorder)
  1187. #define IDiscMaster_ClearFormatContent(This) \
  1188. (This)->lpVtbl -> ClearFormatContent(This)
  1189. #define IDiscMaster_ProgressAdvise(This,pEvents,pvCookie) \
  1190. (This)->lpVtbl -> ProgressAdvise(This,pEvents,pvCookie)
  1191. #define IDiscMaster_ProgressUnadvise(This,vCookie) \
  1192. (This)->lpVtbl -> ProgressUnadvise(This,vCookie)
  1193. #define IDiscMaster_RecordDisc(This,bSimulate,bEjectAfterBurn) \
  1194. (This)->lpVtbl -> RecordDisc(This,bSimulate,bEjectAfterBurn)
  1195. #define IDiscMaster_Close(This) \
  1196. (This)->lpVtbl -> Close(This)
  1197. #endif /* COBJMACROS */
  1198. #endif /* C style interface */
  1199. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscMaster_Open_Proxy(
  1200. IDiscMaster * This);
  1201. void __RPC_STUB IDiscMaster_Open_Stub(
  1202. IRpcStubBuffer *This,
  1203. IRpcChannelBuffer *_pRpcChannelBuffer,
  1204. PRPC_MESSAGE _pRpcMessage,
  1205. DWORD *_pdwStubPhase);
  1206. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscMaster_EnumDiscMasterFormats_Proxy(
  1207. IDiscMaster * This,
  1208. /* [out] */ IEnumDiscMasterFormats **ppEnum);
  1209. void __RPC_STUB IDiscMaster_EnumDiscMasterFormats_Stub(
  1210. IRpcStubBuffer *This,
  1211. IRpcChannelBuffer *_pRpcChannelBuffer,
  1212. PRPC_MESSAGE _pRpcMessage,
  1213. DWORD *_pdwStubPhase);
  1214. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscMaster_GetActiveDiscMasterFormat_Proxy(
  1215. IDiscMaster * This,
  1216. /* [out] */ LPIID lpiid);
  1217. void __RPC_STUB IDiscMaster_GetActiveDiscMasterFormat_Stub(
  1218. IRpcStubBuffer *This,
  1219. IRpcChannelBuffer *_pRpcChannelBuffer,
  1220. PRPC_MESSAGE _pRpcMessage,
  1221. DWORD *_pdwStubPhase);
  1222. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscMaster_SetActiveDiscMasterFormat_Proxy(
  1223. IDiscMaster * This,
  1224. /* [in] */ REFIID riid,
  1225. /* [iid_is][out] */ void **ppUnk);
  1226. void __RPC_STUB IDiscMaster_SetActiveDiscMasterFormat_Stub(
  1227. IRpcStubBuffer *This,
  1228. IRpcChannelBuffer *_pRpcChannelBuffer,
  1229. PRPC_MESSAGE _pRpcMessage,
  1230. DWORD *_pdwStubPhase);
  1231. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscMaster_EnumDiscRecorders_Proxy(
  1232. IDiscMaster * This,
  1233. /* [out] */ IEnumDiscRecorders **ppEnum);
  1234. void __RPC_STUB IDiscMaster_EnumDiscRecorders_Stub(
  1235. IRpcStubBuffer *This,
  1236. IRpcChannelBuffer *_pRpcChannelBuffer,
  1237. PRPC_MESSAGE _pRpcMessage,
  1238. DWORD *_pdwStubPhase);
  1239. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscMaster_GetActiveDiscRecorder_Proxy(
  1240. IDiscMaster * This,
  1241. /* [out] */ IDiscRecorder **ppRecorder);
  1242. void __RPC_STUB IDiscMaster_GetActiveDiscRecorder_Stub(
  1243. IRpcStubBuffer *This,
  1244. IRpcChannelBuffer *_pRpcChannelBuffer,
  1245. PRPC_MESSAGE _pRpcMessage,
  1246. DWORD *_pdwStubPhase);
  1247. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscMaster_SetActiveDiscRecorder_Proxy(
  1248. IDiscMaster * This,
  1249. /* [in] */ IDiscRecorder *pRecorder);
  1250. void __RPC_STUB IDiscMaster_SetActiveDiscRecorder_Stub(
  1251. IRpcStubBuffer *This,
  1252. IRpcChannelBuffer *_pRpcChannelBuffer,
  1253. PRPC_MESSAGE _pRpcMessage,
  1254. DWORD *_pdwStubPhase);
  1255. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscMaster_ClearFormatContent_Proxy(
  1256. IDiscMaster * This);
  1257. void __RPC_STUB IDiscMaster_ClearFormatContent_Stub(
  1258. IRpcStubBuffer *This,
  1259. IRpcChannelBuffer *_pRpcChannelBuffer,
  1260. PRPC_MESSAGE _pRpcMessage,
  1261. DWORD *_pdwStubPhase);
  1262. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscMaster_ProgressAdvise_Proxy(
  1263. IDiscMaster * This,
  1264. /* [in] */ IDiscMasterProgressEvents *pEvents,
  1265. /* [retval][out] */ UINT_PTR *pvCookie);
  1266. void __RPC_STUB IDiscMaster_ProgressAdvise_Stub(
  1267. IRpcStubBuffer *This,
  1268. IRpcChannelBuffer *_pRpcChannelBuffer,
  1269. PRPC_MESSAGE _pRpcMessage,
  1270. DWORD *_pdwStubPhase);
  1271. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscMaster_ProgressUnadvise_Proxy(
  1272. IDiscMaster * This,
  1273. /* [in] */ UINT_PTR vCookie);
  1274. void __RPC_STUB IDiscMaster_ProgressUnadvise_Stub(
  1275. IRpcStubBuffer *This,
  1276. IRpcChannelBuffer *_pRpcChannelBuffer,
  1277. PRPC_MESSAGE _pRpcMessage,
  1278. DWORD *_pdwStubPhase);
  1279. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscMaster_RecordDisc_Proxy(
  1280. IDiscMaster * This,
  1281. /* [in] */ boolean bSimulate,
  1282. /* [in] */ boolean bEjectAfterBurn);
  1283. void __RPC_STUB IDiscMaster_RecordDisc_Stub(
  1284. IRpcStubBuffer *This,
  1285. IRpcChannelBuffer *_pRpcChannelBuffer,
  1286. PRPC_MESSAGE _pRpcMessage,
  1287. DWORD *_pdwStubPhase);
  1288. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IDiscMaster_Close_Proxy(
  1289. IDiscMaster * This);
  1290. void __RPC_STUB IDiscMaster_Close_Stub(
  1291. IRpcStubBuffer *This,
  1292. IRpcChannelBuffer *_pRpcChannelBuffer,
  1293. PRPC_MESSAGE _pRpcMessage,
  1294. DWORD *_pdwStubPhase);
  1295. #endif /* __IDiscMaster_INTERFACE_DEFINED__ */
  1296. #ifndef __IMAPILib_LIBRARY_DEFINED__
  1297. #define __IMAPILib_LIBRARY_DEFINED__
  1298. /* library IMAPILib */
  1299. /* [helpstring][version][uuid] */
  1300. EXTERN_C const IID LIBID_IMAPILib;
  1301. EXTERN_C const CLSID CLSID_MSDiscRecorderObj;
  1302. #ifdef __cplusplus
  1303. class DECLSPEC_UUID("520CCA61-51A5-11D3-9144-00104BA11C5E")
  1304. MSDiscRecorderObj;
  1305. #endif
  1306. EXTERN_C const CLSID CLSID_MSDiscMasterObj;
  1307. #ifdef __cplusplus
  1308. class DECLSPEC_UUID("520CCA63-51A5-11D3-9144-00104BA11C5E")
  1309. MSDiscMasterObj;
  1310. #endif
  1311. EXTERN_C const CLSID CLSID_MSEnumDiscRecordersObj;
  1312. #ifdef __cplusplus
  1313. class DECLSPEC_UUID("8A03567A-63CB-4BA8-BAF6-52119816D1EF")
  1314. MSEnumDiscRecordersObj;
  1315. #endif
  1316. #endif /* __IMAPILib_LIBRARY_DEFINED__ */
  1317. /* Additional Prototypes for ALL interfaces */
  1318. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  1319. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  1320. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  1321. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  1322. unsigned long __RPC_USER BSTR_UserSize64( unsigned long *, unsigned long , BSTR * );
  1323. unsigned char * __RPC_USER BSTR_UserMarshal64( unsigned long *, unsigned char *, BSTR * );
  1324. unsigned char * __RPC_USER BSTR_UserUnmarshal64(unsigned long *, unsigned char *, BSTR * );
  1325. void __RPC_USER BSTR_UserFree64( unsigned long *, BSTR * );
  1326. /* end of Additional Prototypes */
  1327. #ifdef __cplusplus
  1328. }
  1329. #endif
  1330. #endif