~mingw-w64/mingw-w64/experimental

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
/* Automated generated idl file <updatelib>.
 * Generated by genidl tool (c) 2009, 2010 Mingw-w64 project.
 */

/* Structure forward declarations.  */
struct _FILETIME;

/* Union record forward declarations.  */
dispinterface IWUWebControl;

/* Union record forward declarations.  */
coclass WUWebControl;

/* Enumeration declarations.  */
enum tagOSVersionField
{
  e_majorVer = (int) 201326592,
  e_minorVer = (int) 201326593,
  e_buildNumber = (int) 201326594,
  e_platform = (int) 201326595,
  e_SPMajor = (int) 201326596,
  e_SPMinor = (int) 201326597,
  e_productSuite = (int) 201326598,
  e_productType = (int) 201326599,
  e_systemMetric = (int) 201326600,
  e_SPVersionString = (int) 201326601,
  e_controlVersionString = (int) 201326602,
  e_VistaProductType = (int) 201326603,
  e_maxOSVersionFieldValue = (int) 201326603
};
enum tagOptInErrorContext
{
  e_ectxtNoError = (int) 201326592,
  e_ectxtOptInError = (int) 201326593,
  e_ectxtAutomaticUpdatesNotificationLevelError = (int) 201326594
};
enum tagOptInRestriction
{
  e_RstCheckAll = (int) 201326592,
  e_RstNone = (int) 201326592,
  e_RstManagedMachine = (int) 201326593,
  e_RstDisabledByPolicy = (int) 201326594,
  e_RstNotAdminCapable = (int) 201326595,
  e_RstServiceDisabled = (int) 201326596,
  e_RstMaxOptInRestriction = (int) 201326596
};
enum tagAutomaticUpdatesNotificationLevelSetting
{
  e_aunlNotConfigured = (int) 201326592,
  e_aunlDisabled = (int) 201326593,
  e_aunlNotifyBeforeDownload = (int) 201326594,
  e_aunlNotifyBeforeInstallation = (int) 201326595,
  e_aunlScheduledInstallation = (int) 201326596
};
enum tagAutomaticUpdatesReadOnly
{
  e_auroNotReadOnly = (int) 201326592,
  e_auroControlledByPolicy = (int) 201326593,
  e_auroManaged = (int) 201326594
};

/* Structure/union declarations.  */
struct _FILETIME
{
  UINT dwLowDateTime;
  UINT dwHighDateTime;
};

/* Type definitions.  */
typedef enum tagOSVersionField OSVersionField;
typedef enum tagOptInErrorContext OptInErrorContext;
typedef enum tagOptInRestriction OptInRestriction;
typedef enum tagAutomaticUpdatesNotificationLevelSetting AutomaticUpdatesNotificationLevelSetting;
typedef enum tagAutomaticUpdatesReadOnly AutomaticUpdatesReadOnly;

[
  uuid(058F2991-6ADD-4948-89AF-82F58BCF2CCD),
  version(1.0)
]
library updatelib
{
  importlib("stdole2.tlb");

   /* CoClass declarations.  */
   [
     uuid(12A66224-5E8A-4679-8941-0B9B960BF5EA),
     cancreate
   ]
   coclass WUWebControl
   {
     dispinterface IWUWebControl;
   };

   /* Dispatch interface declarations.  */
   [
     uuid(FB451BA6-8EF1-4816-BAEF-418315514939),
     dual,
     nonextensible,
     oleautomation,
     dispatchable
   ]
   dispinterface IWUWebControl : IDispatch
   {
     [id(1610743813)]
     HRESULT __stdcall GetOSVersionInfo (
       [in] OSVersionField osField,
       [in] long systemMetric,
       [out retval] VARIANT *osVersionInfo
     );
     [id(1610743810), propget]
     HRESULT __stdcall UserLocale (
       [out retval] UINT *pVal
     );
     [id(1610743841)]
     HRESULT __stdcall LaunchWindowsUpdateApplication (void);
     HRESULT __stdcall OptInToUpdateService (
       [in] BSTR serviceID,
       [in] UINT optInOptions
     );
     HRESULT __stdcall GetUpdateServiceOptInStatus (
       [in] BSTR serviceID,
       [out retval] WINBOOL *pRetval
     );
     [hidden]
     HRESULT __stdcall ElevatedOptInToUpdateService (
       [in] BSTR serviceID,
       [in] VARIANT *pvarAuthCabByteStream,
       [in] struct _FILETIME *pftAuthCabServerTime,
       [in] UINT optInOptions,
       [out] OptInErrorContext *pOptInErrorContext
     );
     HRESULT __stdcall CheckOptInRestrictions (
       [in] OptInRestriction restriction,
       [out retval] OptInRestriction *pRetval
     );
     HRESULT __stdcall GetAutomaticUpdatesNotificationLevel (
       [out retval] AutomaticUpdatesNotificationLevelSetting *pRetval
     );
     HRESULT __stdcall GetAutomaticUpdatesReadOnly (
       [out retval] AutomaticUpdatesReadOnly *pRetval
     );
     HRESULT __stdcall GetErrorContext (
       [out retval] OptInErrorContext *pRetval
     );
     HRESULT __stdcall GetIncludeRecommendedUpdates (
       [out retval] WINBOOL *pIncludeRecommendedUpdates
     );
     HRESULT __stdcall GetIncludeRecommendedUpdatesReadOnly (
       [out retval] AutomaticUpdatesReadOnly *pRecommendedUpdatesReadOnly
     );
     HRESULT __stdcall GetFeaturedUpdatesEnabled (
       [out retval] WINBOOL *pFeaturedUpdatesEnabled
     );
     HRESULT __stdcall GetFeaturedUpdatesEnabledReadOnly (
       [out retval] AutomaticUpdatesReadOnly *pFeaturedUpdatesEnabledReadOnly
     );
     HRESULT __stdcall GetNonAdministratorsElevated (
       [out retval] WINBOOL *pNonAdministratorsElevated
     );
     HRESULT __stdcall GetNonAdministratorsElevatedReadOnly (
       [out retval] AutomaticUpdatesReadOnly *pNonAdministratorsElevatedReadOnly
     );
   };

};