ReactOS 0.4.16-dev-334-g4d9f67c
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.dubinskij30@gmail.com)
6 */
7// See https://www.geoffchappell.com/studies/windows/ie/browseui/classes/userassist.htm
8
9#pragma once
10
12 public CComCoClass<CUserAssist, &CLSID_UserAssist>,
13 public CComObjectRootEx<CComMultiThreadModelNoCS>,
14 public IUserAssist
15{
16private:
17public:
20
21 // *** IUserAssist methods ***
22 STDMETHODIMP FireEvent(GUID const *guid, INT param1, ULONG param2, WPARAM wparam, LPARAM lparam) override;
23 // FIXME: PVOID should point to undocumented UEMINFO structure.
27
28public:
29
32
34
36 COM_INTERFACE_ENTRY_IID(IID_IUserAssist, IUserAssist)
38};
@ lparam
Definition: SystemMenu.c:31
@ wparam
Definition: SystemMenu.c:30
#define STDMETHODIMP
Definition: basetyps.h:43
STDMETHODIMP FireEvent(GUID const *guid, INT param1, ULONG param2, WPARAM wparam, LPARAM lparam) override
Definition: CUserAssist.cpp:20
STDMETHODIMP QueryEvent(GUID const *guid, INT param, WPARAM wparam, LPARAM lparam, PVOID ptr) override
Definition: CUserAssist.cpp:26
STDMETHODIMP SetEvent(GUID const *guid, INT param, WPARAM wparam, LPARAM lparam, PVOID ptr) override
Definition: CUserAssist.cpp:32
#define IDR_USERASSIST
Definition: resource.h:110
unsigned int BOOL
Definition: ntddk_ex.h:94
GLfloat param
Definition: glext.h:5796
#define BEGIN_COM_MAP(x)
Definition: atlcom.h:581
#define COM_INTERFACE_ENTRY_IID(iid, x)
Definition: atlcom.h:601
#define DECLARE_PROTECT_FINAL_CONSTRUCT()
Definition: atlcom.h:679
#define DECLARE_NOT_AGGREGATABLE(x)
Definition: atlcom.h:651
#define DECLARE_REGISTRY_RESOURCEID(x)
Definition: atlcom.h:645
#define END_COM_MAP()
Definition: atlcom.h:592
const GUID * guid
static PVOID ptr
Definition: dispmode.c:27
_In_ ULONGLONG _In_ ULONGLONG _In_ BOOLEAN Enable
Definition: ntddpcm.h:142
int32_t INT
Definition: typedefs.h:58
uint32_t ULONG
Definition: typedefs.h:59
_In_ BOOL bEnable
Definition: winddi.h:3426
LONG_PTR LPARAM
Definition: windef.h:208
UINT_PTR WPARAM
Definition: windef.h:207