cddbuiwinamp.tlh 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  1. // Created by Microsoft (R) C/C++ Compiler Version 15.00.30729.01 (1a958924).
  2. //
  3. // f:\sandbox\20131028_225933\winamp\release\cddbuiwinamp.tlh
  4. //
  5. // C++ source equivalent of Win32 type library ../gracenote/CDDBUIWinamp.dll
  6. // compiler-generated file created 10/28/13 at 23:18:29 - DO NOT EDIT!
  7. #pragma once
  8. #pragma pack(push, 8)
  9. #include <comdef.h>
  10. //
  11. // Forward references and typedefs
  12. //
  13. struct __declspec(uuid("49f3ccb6-3ba4-4b64-9451-ccf4d42581b1"))
  14. /* LIBID */ __CDDBUICONTROLLibNSWinamp;
  15. struct __declspec(uuid("92892c0b-8da6-49df-b484-d5571c7e48cd"))
  16. /* dual interface */ ICddbUI;
  17. struct __declspec(uuid("03396e62-5abb-4e75-af96-5cc6171354ba"))
  18. /* dual interface */ ICddbInfoWindow2;
  19. struct __declspec(uuid("c50aaf00-4954-405f-abf8-1ff32be762bb"))
  20. /* dual interface */ ICddbUIOptions2;
  21. struct __declspec(uuid("038841ae-24d2-4a27-a69d-21a58e4b1077"))
  22. /* dual interface */ ICddbUI2;
  23. struct /* coclass */ CddbNSWinampUI;
  24. struct /* coclass */ CddbInfoWindow2;
  25. struct /* coclass */ CddbUIOptions2;
  26. struct /* coclass */ CddbUI2;
  27. //
  28. // Smart pointer typedef declarations
  29. //
  30. _COM_SMARTPTR_TYPEDEF(ICddbUI, __uuidof(ICddbUI));
  31. _COM_SMARTPTR_TYPEDEF(ICddbInfoWindow2, __uuidof(ICddbInfoWindow2));
  32. _COM_SMARTPTR_TYPEDEF(ICddbUIOptions2, __uuidof(ICddbUIOptions2));
  33. _COM_SMARTPTR_TYPEDEF(ICddbUI2, __uuidof(ICddbUI2));
  34. //
  35. // Type library items
  36. //
  37. struct __declspec(uuid("92892c0b-8da6-49df-b484-d5571c7e48cd"))
  38. ICddbUI : IDispatch
  39. {
  40. //
  41. // Raw methods provided by interface
  42. //
  43. virtual HRESULT __stdcall Initialize (
  44. /*[in]*/ IUnknown * Control,
  45. /*[in]*/ long hWND,
  46. /*[in]*/ long Flags ) = 0;
  47. virtual HRESULT __stdcall SetParent (
  48. /*[in]*/ long hWND ) = 0;
  49. virtual HRESULT __stdcall Shutdown ( ) = 0;
  50. virtual HRESULT __stdcall InvokeInfoBrowser (
  51. /*[in]*/ IUnknown * Disc,
  52. /*[in]*/ IUnknown * URL,
  53. /*[in]*/ long Flags,
  54. /*[in,out]*/ long * pHWND ) = 0;
  55. virtual HRESULT __stdcall InvokeSubmitDisc (
  56. /*[in]*/ BSTR MediaToc,
  57. /*[in]*/ long MciDeviceId,
  58. /*[in]*/ long Flags,
  59. /*[in,out]*/ long * pHWND,
  60. /*[out,retval]*/ long * pVal ) = 0;
  61. virtual HRESULT __stdcall DisplayDiscInfo (
  62. /*[in]*/ IUnknown * Disc,
  63. /*[in]*/ long Flags,
  64. /*[in,out]*/ long * pHWND,
  65. /*[out,retval]*/ long * pVal ) = 0;
  66. virtual HRESULT __stdcall InvokeDiscInfo (
  67. /*[in]*/ BSTR MediaToc,
  68. /*[in]*/ BSTR MediaId,
  69. /*[in]*/ BSTR MuiId,
  70. /*[in]*/ long MciDeviceId,
  71. /*[in]*/ long Flags,
  72. /*[in,out]*/ long * pHWND,
  73. /*[out,retval]*/ long * pVal ) = 0;
  74. virtual HRESULT __stdcall InvokeNoMatchDialog (
  75. /*[in]*/ long Flags,
  76. /*[in,out]*/ long * pHWND,
  77. /*[out,retval]*/ long * pVal ) = 0;
  78. virtual HRESULT __stdcall InvokeFuzzyMatchDialog (
  79. /*[in]*/ IUnknown * Discs,
  80. /*[in]*/ BSTR Toc,
  81. /*[in]*/ long Flags,
  82. /*[in,out]*/ long * pHWND,
  83. /*[out,retval]*/ IUnknown * * pVal ) = 0;
  84. virtual HRESULT __stdcall InvokeOptionsDialog (
  85. /*[in]*/ IUnknown * Options,
  86. /*[in]*/ long Flags,
  87. /*[in,out]*/ long * pHWND,
  88. /*[out,retval]*/ long * pVal ) = 0;
  89. virtual HRESULT __stdcall InvokeUserRegDialog (
  90. /*[in]*/ IUnknown * UserInfo,
  91. /*[in]*/ long Flags,
  92. /*[in,out]*/ long * pHWND,
  93. /*[out,retval]*/ long * pVal ) = 0;
  94. virtual HRESULT __stdcall InvokePopupMenu (
  95. /*[in]*/ long Flags,
  96. /*[in]*/ IUnknown * URLList,
  97. /*[in]*/ IUnknown * DiscURLList,
  98. /*[in,out]*/ long * pHWND ) = 0;
  99. virtual HRESULT __stdcall InvokeAboutCddbDialog (
  100. /*[in]*/ long Flags,
  101. /*[in,out]*/ long * pHWND ) = 0;
  102. virtual HRESULT __stdcall DrawLogo (
  103. /*[in]*/ void * DrawInfo ) = 0;
  104. virtual HRESULT __stdcall GetUrlFromMenu (
  105. /*[in]*/ long MenuId,
  106. /*[out,retval]*/ IUnknown * * pVal ) = 0;
  107. virtual HRESULT __stdcall StartConnectDlg (
  108. /*[in]*/ long Flags,
  109. /*[in,out]*/ long * hWND ) = 0;
  110. virtual HRESULT __stdcall StopConnectDlg (
  111. /*[in]*/ long Flags ) = 0;
  112. virtual HRESULT __stdcall SetUILanguage (
  113. /*[in]*/ BSTR Id,
  114. /*[in]*/ BSTR DllName,
  115. /*[out,retval]*/ long * pVal ) = 0;
  116. virtual HRESULT __stdcall GetUIResourceInstance (
  117. /*[out,retval]*/ long * pVal ) = 0;
  118. virtual HRESULT __stdcall SetInfoDisc (
  119. /*[in]*/ IUnknown * Disc ) = 0;
  120. virtual HRESULT __stdcall GetUIObject (
  121. /*[in]*/ long Id,
  122. /*[out,retval]*/ void * * pVal ) = 0;
  123. };
  124. struct __declspec(uuid("03396e62-5abb-4e75-af96-5cc6171354ba"))
  125. ICddbInfoWindow2 : IDispatch
  126. {
  127. //
  128. // Raw methods provided by interface
  129. //
  130. virtual HRESULT __stdcall Init (
  131. /*[in]*/ long hWND,
  132. /*[in]*/ long Left,
  133. /*[in]*/ long Top,
  134. /*[in]*/ long Right,
  135. /*[in]*/ long Bottom ) = 0;
  136. virtual HRESULT __stdcall SetRawURL (
  137. /*[in]*/ BSTR RawURL ) = 0;
  138. virtual HRESULT __stdcall GetHwnd (
  139. /*[out]*/ long * pHWND ) = 0;
  140. virtual HRESULT __stdcall SetDisc (
  141. /*[in]*/ IUnknown * Disc ) = 0;
  142. virtual HRESULT __stdcall SetURL (
  143. /*[in]*/ IUnknown * URL ) = 0;
  144. virtual HRESULT __stdcall Refresh ( ) = 0;
  145. virtual HRESULT __stdcall Shutdown ( ) = 0;
  146. virtual HRESULT __stdcall SetAdPosition (
  147. /*[in]*/ BSTR Position ) = 0;
  148. };
  149. struct __declspec(uuid("c50aaf00-4954-405f-abf8-1ff32be762bb"))
  150. ICddbUIOptions2 : IDispatch
  151. {
  152. //
  153. // Raw methods provided by interface
  154. //
  155. virtual HRESULT __stdcall GetCurrent (
  156. /*[in]*/ long Flags ) = 0;
  157. virtual HRESULT __stdcall SetCurrent (
  158. /*[in]*/ long Flags ) = 0;
  159. virtual HRESULT __stdcall get_ParentHWND (
  160. /*[out,retval]*/ long * pVal ) = 0;
  161. virtual HRESULT __stdcall put_ParentHWND (
  162. /*[in]*/ long pVal ) = 0;
  163. virtual HRESULT __stdcall get_Left (
  164. /*[out,retval]*/ long * pVal ) = 0;
  165. virtual HRESULT __stdcall put_Left (
  166. /*[in]*/ long pVal ) = 0;
  167. virtual HRESULT __stdcall get_Top (
  168. /*[out,retval]*/ long * pVal ) = 0;
  169. virtual HRESULT __stdcall put_Top (
  170. /*[in]*/ long pVal ) = 0;
  171. virtual HRESULT __stdcall get_Right (
  172. /*[out,retval]*/ long * pVal ) = 0;
  173. virtual HRESULT __stdcall put_Right (
  174. /*[in]*/ long pVal ) = 0;
  175. virtual HRESULT __stdcall get_Bottom (
  176. /*[out,retval]*/ long * pVal ) = 0;
  177. virtual HRESULT __stdcall put_Bottom (
  178. /*[in]*/ long pVal ) = 0;
  179. virtual HRESULT __stdcall get_ResourceHINSTANCE (
  180. /*[out,retval]*/ long * pVal ) = 0;
  181. virtual HRESULT __stdcall put_ResourceHINSTANCE (
  182. /*[in]*/ long pVal ) = 0;
  183. virtual HRESULT __stdcall get_ProgressResourceID (
  184. /*[out,retval]*/ long * pVal ) = 0;
  185. virtual HRESULT __stdcall put_ProgressResourceID (
  186. /*[in]*/ long pVal ) = 0;
  187. virtual HRESULT __stdcall get_StaticResourceID (
  188. /*[out,retval]*/ long * pVal ) = 0;
  189. virtual HRESULT __stdcall put_StaticResourceID (
  190. /*[in]*/ long pVal ) = 0;
  191. virtual HRESULT __stdcall get_Frames (
  192. /*[out,retval]*/ long * pVal ) = 0;
  193. virtual HRESULT __stdcall put_Frames (
  194. /*[in]*/ long pVal ) = 0;
  195. virtual HRESULT __stdcall get_BonusResourceID (
  196. /*[out,retval]*/ long * pVal ) = 0;
  197. virtual HRESULT __stdcall put_BonusResourceID (
  198. /*[in]*/ long pVal ) = 0;
  199. };
  200. struct __declspec(uuid("038841ae-24d2-4a27-a69d-21a58e4b1077"))
  201. ICddbUI2 : ICddbUI
  202. {
  203. //
  204. // Raw methods provided by interface
  205. //
  206. virtual HRESULT __stdcall InvokeFuzzyMatchDialog2 (
  207. /*[in]*/ IUnknown * Discs,
  208. /*[in,out]*/ long * Flags,
  209. /*[in,out]*/ long * pHWND,
  210. /*[out]*/ long * Selection ) = 0;
  211. };
  212. struct __declspec(uuid("75ae99c2-fe58-4aa4-8135-11d794adfd48"))
  213. CddbNSWinampUI;
  214. // [ default ] interface ICddbUI
  215. struct __declspec(uuid("4274782f-e631-487b-bc58-34f36a2b9203"))
  216. CddbInfoWindow2;
  217. // [ default ] interface ICddbInfoWindow2
  218. struct __declspec(uuid("a68d109d-ab8e-4476-8ba8-bce0879c4f8f"))
  219. CddbUIOptions2;
  220. // [ default ] interface ICddbUIOptions2
  221. struct __declspec(uuid("4d60fc87-14b0-48b3-93c2-5967b0fb6f96"))
  222. CddbUI2;
  223. // [ default ] interface ICddbUI2
  224. // interface ICddbUI
  225. //
  226. // Named GUID constants initializations
  227. //
  228. extern "C" const GUID __declspec(selectany) LIBID_CDDBUICONTROLLibNSWinamp =
  229. {0x49f3ccb6,0x3ba4,0x4b64,{0x94,0x51,0xcc,0xf4,0xd4,0x25,0x81,0xb1}};
  230. extern "C" const GUID __declspec(selectany) IID_ICddbUI =
  231. {0x92892c0b,0x8da6,0x49df,{0xb4,0x84,0xd5,0x57,0x1c,0x7e,0x48,0xcd}};
  232. extern "C" const GUID __declspec(selectany) IID_ICddbInfoWindow2 =
  233. {0x03396e62,0x5abb,0x4e75,{0xaf,0x96,0x5c,0xc6,0x17,0x13,0x54,0xba}};
  234. extern "C" const GUID __declspec(selectany) IID_ICddbUIOptions2 =
  235. {0xc50aaf00,0x4954,0x405f,{0xab,0xf8,0x1f,0xf3,0x2b,0xe7,0x62,0xbb}};
  236. extern "C" const GUID __declspec(selectany) IID_ICddbUI2 =
  237. {0x038841ae,0x24d2,0x4a27,{0xa6,0x9d,0x21,0xa5,0x8e,0x4b,0x10,0x77}};
  238. extern "C" const GUID __declspec(selectany) CLSID_CddbNSWinampUI =
  239. {0x75ae99c2,0xfe58,0x4aa4,{0x81,0x35,0x11,0xd7,0x94,0xad,0xfd,0x48}};
  240. extern "C" const GUID __declspec(selectany) CLSID_CddbInfoWindow2 =
  241. {0x4274782f,0xe631,0x487b,{0xbc,0x58,0x34,0xf3,0x6a,0x2b,0x92,0x03}};
  242. extern "C" const GUID __declspec(selectany) CLSID_CddbUIOptions2 =
  243. {0xa68d109d,0xab8e,0x4476,{0x8b,0xa8,0xbc,0xe0,0x87,0x9c,0x4f,0x8f}};
  244. extern "C" const GUID __declspec(selectany) CLSID_CddbUI2 =
  245. {0x4d60fc87,0x14b0,0x48b3,{0x93,0xc2,0x59,0x67,0xb0,0xfb,0x6f,0x96}};
  246. #pragma pack(pop)