ReactOS  0.4.15-dev-2144-g2282205
CUserAssist.h
Go to the documentation of this file.
1 /*
2  * PROJECT: ReactOS browseui
3  * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
4  * PURPOSE: IUserAssist implementation
5  * COPYRIGHT: Copyright 2020 Oleg Dubinskiy (oleg.dubinskij2013@yandex.ua)
6  */
7 // See https://www.geoffchappell.com/studies/windows/ie/browseui/classes/userassist.htm
8 
9 #pragma once
10 
11 class CUserAssist :
12  public CComCoClass<CUserAssist, &CLSID_UserAssist>,
13  public CComObjectRootEx<CComMultiThreadModelNoCS>,
14  public IUserAssist
15 {
16 private:
17 public:
18  CUserAssist();
19  ~CUserAssist();
20 
21  // *** IUserAssist methods ***
22  STDMETHODIMP FireEvent(GUID const *guid, INT param1, ULONG param2, WPARAM wparam, LPARAM lparam);
23  // FIXME: PVOID should point to undocumented UEMINFO structure.
27 
28 public:
29 
32 
34 
36  COM_INTERFACE_ENTRY_IID(IID_IUserAssist, IUserAssist)
37  END_COM_MAP()
38 };
#define DECLARE_NOT_AGGREGATABLE(x)
Definition: atlcom.h:611
STDMETHODIMP SetEvent(GUID const *guid, INT param, WPARAM wparam, LPARAM lparam, PVOID ptr)
Definition: CUserAssist.cpp:32
UINT_PTR WPARAM
Definition: windef.h:207
int32_t INT
Definition: typedefs.h:58
STDMETHODIMP QueryEvent(GUID const *guid, INT param, WPARAM wparam, LPARAM lparam, PVOID ptr)
Definition: CUserAssist.cpp:26
const GUID * guid
unsigned int BOOL
Definition: ntddk_ex.h:94
static UINT WPARAM LPARAM lparam
Definition: combo.c:716
static PVOID ptr
Definition: dispmode.c:27
#define STDMETHODIMP
Definition: basetyps.h:43
LONG_PTR LPARAM
Definition: windef.h:208
#define BEGIN_COM_MAP(x)
Definition: atlcom.h:541
STDMETHODIMP Enable(BOOL bEnable)
Definition: CUserAssist.cpp:38
GLfloat param
Definition: glext.h:5796
#define DECLARE_REGISTRY_RESOURCEID(x)
Definition: atlcom.h:605
#define IDR_USERASSIST
Definition: resource.h:110
_In_ BOOL bEnable
Definition: winddi.h:3426
#define COM_INTERFACE_ENTRY_IID(iid, x)
Definition: atlcom.h:561
#define DECLARE_PROTECT_FINAL_CONSTRUCT()
Definition: atlcom.h:639
STDMETHODIMP FireEvent(GUID const *guid, INT param1, ULONG param2, WPARAM wparam, LPARAM lparam)
Definition: CUserAssist.cpp:20
unsigned int ULONG
Definition: retypes.h:1
#define END_COM_MAP()
Definition: atlcom.h:552
static UINT WPARAM wparam
Definition: combo.c:716