#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
#include "ole2.h"
#include "wuapi.h"
#include "wuapi_private.h"
#include "wine/debug.h"
Go to the source code of this file.
|
| WINE_DEFAULT_DEBUG_CHANNEL (wuapi) |
|
static systeminfo * | impl_from_ISystemInformation (ISystemInformation *iface) |
|
static ULONG WINAPI | systeminfo_AddRef (ISystemInformation *iface) |
|
static ULONG WINAPI | systeminfo_Release (ISystemInformation *iface) |
|
static HRESULT WINAPI | systeminfo_QueryInterface (ISystemInformation *iface, REFIID riid, void **ppvObject) |
|
static HRESULT WINAPI | systeminfo_GetTypeInfoCount (ISystemInformation *iface, UINT *pctinfo) |
|
static HRESULT WINAPI | systeminfo_GetTypeInfo (ISystemInformation *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo) |
|
static HRESULT WINAPI | systeminfo_GetIDsOfNames (ISystemInformation *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId) |
|
static HRESULT WINAPI | systeminfo_Invoke (ISystemInformation *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr) |
|
static HRESULT WINAPI | systeminfo_get_OemHardwareSupportLink (ISystemInformation *iface, BSTR *retval) |
|
static HRESULT WINAPI | systeminfo_get_RebootRequired (ISystemInformation *iface, VARIANT_BOOL *retval) |
|
HRESULT | SystemInformation_create (LPVOID *ppObj) |
|
◆ COBJMACROS
◆ systeminfo
◆ impl_from_ISystemInformation()
static systeminfo * impl_from_ISystemInformation |
( |
ISystemInformation * |
iface | ) |
|
|
inlinestatic |
◆ systeminfo_AddRef()
static ULONG WINAPI systeminfo_AddRef |
( |
ISystemInformation * |
iface | ) |
|
|
static |
Definition at line 48 of file systeminfo.c.
49{
52}
#define InterlockedIncrement
static systeminfo * impl_from_ISystemInformation(ISystemInformation *iface)
◆ systeminfo_get_OemHardwareSupportLink()
static HRESULT WINAPI systeminfo_get_OemHardwareSupportLink |
( |
ISystemInformation * |
iface, |
|
|
BSTR * |
retval |
|
) |
| |
|
static |
◆ systeminfo_get_RebootRequired()
Definition at line 126 of file systeminfo.c.
128{
129 *retval = VARIANT_FALSE;
131}
◆ systeminfo_GetIDsOfNames()
◆ systeminfo_GetTypeInfo()
◆ systeminfo_GetTypeInfoCount()
static HRESULT WINAPI systeminfo_GetTypeInfoCount |
( |
ISystemInformation * |
iface, |
|
|
UINT * |
pctinfo |
|
) |
| |
|
static |
◆ systeminfo_Invoke()
◆ systeminfo_QueryInterface()
Definition at line 66 of file systeminfo.c.
68{
70
72
76 {
78 }
79 else
80 {
83 }
84 ISystemInformation_AddRef(iface);
86}
#define IsEqualGUID(rguid1, rguid2)
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
◆ systeminfo_Release()
static ULONG WINAPI systeminfo_Release |
( |
ISystemInformation * |
iface | ) |
|
|
static |
Definition at line 54 of file systeminfo.c.
55{
58 if (!refs)
59 {
62 }
63 return refs;
64}
#define InterlockedDecrement
#define HeapFree(x, y, z)
◆ SystemInformation_create()
Definition at line 146 of file systeminfo.c.
147{
149
150 TRACE(
"(%p)\n", ppObj);
151
155
158
159 *ppObj = &
info->ISystemInformation_iface;
160
161 TRACE(
"returning iface %p\n", *ppObj);
163}
static const struct ISystemInformationVtbl systeminfo_vtbl
◆ WINE_DEFAULT_DEBUG_CHANNEL()
WINE_DEFAULT_DEBUG_CHANNEL |
( |
wuapi |
| ) |
|
◆ systeminfo_vtbl
Initial value:=
{
}
static HRESULT WINAPI systeminfo_GetIDsOfNames(ISystemInformation *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI systeminfo_Invoke(ISystemInformation *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static ULONG WINAPI systeminfo_Release(ISystemInformation *iface)
static HRESULT WINAPI systeminfo_GetTypeInfoCount(ISystemInformation *iface, UINT *pctinfo)
static HRESULT WINAPI systeminfo_get_OemHardwareSupportLink(ISystemInformation *iface, BSTR *retval)
static HRESULT WINAPI systeminfo_get_RebootRequired(ISystemInformation *iface, VARIANT_BOOL *retval)
static HRESULT WINAPI systeminfo_GetTypeInfo(ISystemInformation *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI systeminfo_QueryInterface(ISystemInformation *iface, REFIID riid, void **ppvObject)
static ULONG WINAPI systeminfo_AddRef(ISystemInformation *iface)
Definition at line 133 of file systeminfo.c.
Referenced by SystemInformation_create().