windows.system.h 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. /*** Autogenerated by WIDL 7.7 from include/windows.system.idl - Do not edit ***/
  2. #ifdef _WIN32
  3. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  4. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  5. #endif
  6. #include <rpc.h>
  7. #include <rpcndr.h>
  8. #endif
  9. #ifndef COM_NO_WINDOWS_H
  10. #include <windows.h>
  11. #include <ole2.h>
  12. #endif
  13. #ifndef __windows_system_h__
  14. #define __windows_system_h__
  15. /* Forward declarations */
  16. #ifndef ____x_ABI_CWindows_CSystem_CIUserChangedEventArgs_FWD_DEFINED__
  17. #define ____x_ABI_CWindows_CSystem_CIUserChangedEventArgs_FWD_DEFINED__
  18. typedef interface __x_ABI_CWindows_CSystem_CIUserChangedEventArgs __x_ABI_CWindows_CSystem_CIUserChangedEventArgs;
  19. #ifdef __cplusplus
  20. #define __x_ABI_CWindows_CSystem_CIUserChangedEventArgs ABI::Windows::System::IUserChangedEventArgs
  21. namespace ABI {
  22. namespace Windows {
  23. namespace System {
  24. interface IUserChangedEventArgs;
  25. }
  26. }
  27. }
  28. #endif /* __cplusplus */
  29. #endif
  30. #ifndef ____x_ABI_CWindows_CSystem_CUser_FWD_DEFINED__
  31. #define ____x_ABI_CWindows_CSystem_CUser_FWD_DEFINED__
  32. #ifdef __cplusplus
  33. namespace ABI {
  34. namespace Windows {
  35. namespace System {
  36. class User;
  37. }
  38. }
  39. }
  40. #else
  41. typedef struct __x_ABI_CWindows_CSystem_CUser __x_ABI_CWindows_CSystem_CUser;
  42. #endif /* defined __cplusplus */
  43. #endif /* defined ____x_ABI_CWindows_CSystem_CUser_FWD_DEFINED__ */
  44. #ifndef ____x_ABI_CWindows_CSystem_CUserChangedEventArgs_FWD_DEFINED__
  45. #define ____x_ABI_CWindows_CSystem_CUserChangedEventArgs_FWD_DEFINED__
  46. #ifdef __cplusplus
  47. namespace ABI {
  48. namespace Windows {
  49. namespace System {
  50. class UserChangedEventArgs;
  51. }
  52. }
  53. }
  54. #else
  55. typedef struct __x_ABI_CWindows_CSystem_CUserChangedEventArgs __x_ABI_CWindows_CSystem_CUserChangedEventArgs;
  56. #endif /* defined __cplusplus */
  57. #endif /* defined ____x_ABI_CWindows_CSystem_CUserChangedEventArgs_FWD_DEFINED__ */
  58. /* Headers for imported files */
  59. #include <inspectable.h>
  60. #include <asyncinfo.h>
  61. #include <eventtoken.h>
  62. #include <windowscontracts.h>
  63. #include <windows.foundation.h>
  64. #ifdef __cplusplus
  65. extern "C" {
  66. #endif
  67. #ifndef ____x_ABI_CWindows_CSystem_CIUser_FWD_DEFINED__
  68. #define ____x_ABI_CWindows_CSystem_CIUser_FWD_DEFINED__
  69. typedef interface __x_ABI_CWindows_CSystem_CIUser __x_ABI_CWindows_CSystem_CIUser;
  70. #ifdef __cplusplus
  71. #define __x_ABI_CWindows_CSystem_CIUser ABI::Windows::System::IUser
  72. namespace ABI {
  73. namespace Windows {
  74. namespace System {
  75. interface IUser;
  76. }
  77. }
  78. }
  79. #endif /* __cplusplus */
  80. #endif
  81. #ifndef ____x_ABI_CWindows_CSystem_CIUserStatics_FWD_DEFINED__
  82. #define ____x_ABI_CWindows_CSystem_CIUserStatics_FWD_DEFINED__
  83. typedef interface __x_ABI_CWindows_CSystem_CIUserStatics __x_ABI_CWindows_CSystem_CIUserStatics;
  84. #ifdef __cplusplus
  85. #define __x_ABI_CWindows_CSystem_CIUserStatics ABI::Windows::System::IUserStatics
  86. namespace ABI {
  87. namespace Windows {
  88. namespace System {
  89. interface IUserStatics;
  90. }
  91. }
  92. }
  93. #endif /* __cplusplus */
  94. #endif
  95. #ifndef ____x_ABI_CWindows_CSystem_CIUserChangedEventArgs_FWD_DEFINED__
  96. #define ____x_ABI_CWindows_CSystem_CIUserChangedEventArgs_FWD_DEFINED__
  97. typedef interface __x_ABI_CWindows_CSystem_CIUserChangedEventArgs __x_ABI_CWindows_CSystem_CIUserChangedEventArgs;
  98. #ifdef __cplusplus
  99. #define __x_ABI_CWindows_CSystem_CIUserChangedEventArgs ABI::Windows::System::IUserChangedEventArgs
  100. namespace ABI {
  101. namespace Windows {
  102. namespace System {
  103. interface IUserChangedEventArgs;
  104. }
  105. }
  106. }
  107. #endif /* __cplusplus */
  108. #endif
  109. #ifndef ____x_ABI_CWindows_CSystem_CIUserChangedEventArgs2_FWD_DEFINED__
  110. #define ____x_ABI_CWindows_CSystem_CIUserChangedEventArgs2_FWD_DEFINED__
  111. typedef interface __x_ABI_CWindows_CSystem_CIUserChangedEventArgs2 __x_ABI_CWindows_CSystem_CIUserChangedEventArgs2;
  112. #ifdef __cplusplus
  113. #define __x_ABI_CWindows_CSystem_CIUserChangedEventArgs2 ABI::Windows::System::IUserChangedEventArgs2
  114. namespace ABI {
  115. namespace Windows {
  116. namespace System {
  117. interface IUserChangedEventArgs2;
  118. }
  119. }
  120. }
  121. #endif /* __cplusplus */
  122. #endif
  123. /*****************************************************************************
  124. * IUserChangedEventArgs interface
  125. */
  126. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
  127. #ifndef ____x_ABI_CWindows_CSystem_CIUserChangedEventArgs_INTERFACE_DEFINED__
  128. #define ____x_ABI_CWindows_CSystem_CIUserChangedEventArgs_INTERFACE_DEFINED__
  129. DEFINE_GUID(IID___x_ABI_CWindows_CSystem_CIUserChangedEventArgs, 0x086459dc, 0x18c6, 0x48db, 0xbc,0x99, 0x72,0x4f,0xb9,0x20,0x3c,0xcc);
  130. #if defined(__cplusplus) && !defined(CINTERFACE)
  131. } /* extern "C" */
  132. namespace ABI {
  133. namespace Windows {
  134. namespace System {
  135. MIDL_INTERFACE("086459dc-18c6-48db-bc99-724fb9203ccc")
  136. IUserChangedEventArgs : public IInspectable
  137. {
  138. virtual HRESULT STDMETHODCALLTYPE get_User(
  139. ABI::Windows::System::IUser **value) = 0;
  140. };
  141. }
  142. }
  143. }
  144. extern "C" {
  145. #ifdef __CRT_UUID_DECL
  146. __CRT_UUID_DECL(__x_ABI_CWindows_CSystem_CIUserChangedEventArgs, 0x086459dc, 0x18c6, 0x48db, 0xbc,0x99, 0x72,0x4f,0xb9,0x20,0x3c,0xcc)
  147. #endif
  148. #else
  149. typedef struct __x_ABI_CWindows_CSystem_CIUserChangedEventArgsVtbl {
  150. BEGIN_INTERFACE
  151. /*** IUnknown methods ***/
  152. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  153. __x_ABI_CWindows_CSystem_CIUserChangedEventArgs *This,
  154. REFIID riid,
  155. void **ppvObject);
  156. ULONG (STDMETHODCALLTYPE *AddRef)(
  157. __x_ABI_CWindows_CSystem_CIUserChangedEventArgs *This);
  158. ULONG (STDMETHODCALLTYPE *Release)(
  159. __x_ABI_CWindows_CSystem_CIUserChangedEventArgs *This);
  160. /*** IInspectable methods ***/
  161. HRESULT (STDMETHODCALLTYPE *GetIids)(
  162. __x_ABI_CWindows_CSystem_CIUserChangedEventArgs *This,
  163. ULONG *iidCount,
  164. IID **iids);
  165. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  166. __x_ABI_CWindows_CSystem_CIUserChangedEventArgs *This,
  167. HSTRING *className);
  168. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  169. __x_ABI_CWindows_CSystem_CIUserChangedEventArgs *This,
  170. TrustLevel *trustLevel);
  171. /*** IUserChangedEventArgs methods ***/
  172. HRESULT (STDMETHODCALLTYPE *get_User)(
  173. __x_ABI_CWindows_CSystem_CIUserChangedEventArgs *This,
  174. __x_ABI_CWindows_CSystem_CIUser **value);
  175. END_INTERFACE
  176. } __x_ABI_CWindows_CSystem_CIUserChangedEventArgsVtbl;
  177. interface __x_ABI_CWindows_CSystem_CIUserChangedEventArgs {
  178. CONST_VTBL __x_ABI_CWindows_CSystem_CIUserChangedEventArgsVtbl* lpVtbl;
  179. };
  180. #ifdef COBJMACROS
  181. #ifndef WIDL_C_INLINE_WRAPPERS
  182. /*** IUnknown methods ***/
  183. #define __x_ABI_CWindows_CSystem_CIUserChangedEventArgs_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  184. #define __x_ABI_CWindows_CSystem_CIUserChangedEventArgs_AddRef(This) (This)->lpVtbl->AddRef(This)
  185. #define __x_ABI_CWindows_CSystem_CIUserChangedEventArgs_Release(This) (This)->lpVtbl->Release(This)
  186. /*** IInspectable methods ***/
  187. #define __x_ABI_CWindows_CSystem_CIUserChangedEventArgs_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  188. #define __x_ABI_CWindows_CSystem_CIUserChangedEventArgs_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  189. #define __x_ABI_CWindows_CSystem_CIUserChangedEventArgs_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  190. /*** IUserChangedEventArgs methods ***/
  191. #define __x_ABI_CWindows_CSystem_CIUserChangedEventArgs_get_User(This,value) (This)->lpVtbl->get_User(This,value)
  192. #else
  193. /*** IUnknown methods ***/
  194. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CIUserChangedEventArgs_QueryInterface(__x_ABI_CWindows_CSystem_CIUserChangedEventArgs* This,REFIID riid,void **ppvObject) {
  195. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  196. }
  197. static FORCEINLINE ULONG __x_ABI_CWindows_CSystem_CIUserChangedEventArgs_AddRef(__x_ABI_CWindows_CSystem_CIUserChangedEventArgs* This) {
  198. return This->lpVtbl->AddRef(This);
  199. }
  200. static FORCEINLINE ULONG __x_ABI_CWindows_CSystem_CIUserChangedEventArgs_Release(__x_ABI_CWindows_CSystem_CIUserChangedEventArgs* This) {
  201. return This->lpVtbl->Release(This);
  202. }
  203. /*** IInspectable methods ***/
  204. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CIUserChangedEventArgs_GetIids(__x_ABI_CWindows_CSystem_CIUserChangedEventArgs* This,ULONG *iidCount,IID **iids) {
  205. return This->lpVtbl->GetIids(This,iidCount,iids);
  206. }
  207. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CIUserChangedEventArgs_GetRuntimeClassName(__x_ABI_CWindows_CSystem_CIUserChangedEventArgs* This,HSTRING *className) {
  208. return This->lpVtbl->GetRuntimeClassName(This,className);
  209. }
  210. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CIUserChangedEventArgs_GetTrustLevel(__x_ABI_CWindows_CSystem_CIUserChangedEventArgs* This,TrustLevel *trustLevel) {
  211. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  212. }
  213. /*** IUserChangedEventArgs methods ***/
  214. static FORCEINLINE HRESULT __x_ABI_CWindows_CSystem_CIUserChangedEventArgs_get_User(__x_ABI_CWindows_CSystem_CIUserChangedEventArgs* This,__x_ABI_CWindows_CSystem_CIUser **value) {
  215. return This->lpVtbl->get_User(This,value);
  216. }
  217. #endif
  218. #ifdef WIDL_using_Windows_System
  219. #define IID_IUserChangedEventArgs IID___x_ABI_CWindows_CSystem_CIUserChangedEventArgs
  220. #define IUserChangedEventArgsVtbl __x_ABI_CWindows_CSystem_CIUserChangedEventArgsVtbl
  221. #define IUserChangedEventArgs __x_ABI_CWindows_CSystem_CIUserChangedEventArgs
  222. #define IUserChangedEventArgs_QueryInterface __x_ABI_CWindows_CSystem_CIUserChangedEventArgs_QueryInterface
  223. #define IUserChangedEventArgs_AddRef __x_ABI_CWindows_CSystem_CIUserChangedEventArgs_AddRef
  224. #define IUserChangedEventArgs_Release __x_ABI_CWindows_CSystem_CIUserChangedEventArgs_Release
  225. #define IUserChangedEventArgs_GetIids __x_ABI_CWindows_CSystem_CIUserChangedEventArgs_GetIids
  226. #define IUserChangedEventArgs_GetRuntimeClassName __x_ABI_CWindows_CSystem_CIUserChangedEventArgs_GetRuntimeClassName
  227. #define IUserChangedEventArgs_GetTrustLevel __x_ABI_CWindows_CSystem_CIUserChangedEventArgs_GetTrustLevel
  228. #define IUserChangedEventArgs_get_User __x_ABI_CWindows_CSystem_CIUserChangedEventArgs_get_User
  229. #endif /* WIDL_using_Windows_System */
  230. #endif
  231. #endif
  232. #endif /* ____x_ABI_CWindows_CSystem_CIUserChangedEventArgs_INTERFACE_DEFINED__ */
  233. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
  234. /*
  235. * Class Windows.System.User
  236. */
  237. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
  238. #ifndef RUNTIMECLASS_Windows_System_User_DEFINED
  239. #define RUNTIMECLASS_Windows_System_User_DEFINED
  240. #if !defined(_MSC_VER) && !defined(__MINGW32__)
  241. static const WCHAR RuntimeClass_Windows_System_User[] = {'W','i','n','d','o','w','s','.','S','y','s','t','e','m','.','U','s','e','r',0};
  242. #elif defined(__GNUC__) && !defined(__cplusplus)
  243. const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_System_User[] = L"Windows.System.User";
  244. #else
  245. extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_System_User[] = {'W','i','n','d','o','w','s','.','S','y','s','t','e','m','.','U','s','e','r',0};
  246. #endif
  247. #endif /* RUNTIMECLASS_Windows_System_User_DEFINED */
  248. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
  249. /*
  250. * Class Windows.System.UserChangedEventArgs
  251. */
  252. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
  253. #ifndef RUNTIMECLASS_Windows_System_UserChangedEventArgs_DEFINED
  254. #define RUNTIMECLASS_Windows_System_UserChangedEventArgs_DEFINED
  255. #if !defined(_MSC_VER) && !defined(__MINGW32__)
  256. static const WCHAR RuntimeClass_Windows_System_UserChangedEventArgs[] = {'W','i','n','d','o','w','s','.','S','y','s','t','e','m','.','U','s','e','r','C','h','a','n','g','e','d','E','v','e','n','t','A','r','g','s',0};
  257. #elif defined(__GNUC__) && !defined(__cplusplus)
  258. const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_System_UserChangedEventArgs[] = L"Windows.System.UserChangedEventArgs";
  259. #else
  260. extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_System_UserChangedEventArgs[] = {'W','i','n','d','o','w','s','.','S','y','s','t','e','m','.','U','s','e','r','C','h','a','n','g','e','d','E','v','e','n','t','A','r','g','s',0};
  261. #endif
  262. #endif /* RUNTIMECLASS_Windows_System_UserChangedEventArgs_DEFINED */
  263. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
  264. /* Begin additional prototypes for all interfaces */
  265. /* End additional prototypes */
  266. #ifdef __cplusplus
  267. }
  268. #endif
  269. #endif /* __windows_system_h__ */