ReactOS 0.4.15-dev-8002-gbbb3b00
UI Struct Reference

#include <ui.h>

Collaboration diagram for UI:

Public Member Functions

 UI (HWND hWnd)
 @implemented
 
virtual ~UI ()
 @implemented
 
HRESULT _Create ()
 @implemented
 
void _Destroy ()
 @implemented
 
void OnImeSetContext (CicIMCLock &imcLock, WPARAM wParam, LPARAM lParam)
 @implemented
 

Static Public Member Functions

static void OnCreate (HWND hWnd)
 @implemented
 
static void OnDestroy (HWND hWnd)
 @implemented
 

Public Attributes

HWND m_hWnd
 
UICompositionm_pComp
 

Detailed Description

Definition at line 199 of file ui.h.

Constructor & Destructor Documentation

◆ UI()

UI::UI ( HWND  hWnd)

@implemented

Definition at line 877 of file ui.cpp.

877 : m_hWnd(hWnd)
878{
879}
HWND hWnd
Definition: settings.c:17
HWND m_hWnd
Definition: ui.h:201

◆ ~UI()

UI::~UI ( )
virtual

@implemented

Definition at line 882 of file ui.cpp.

883{
884 delete m_pComp;
885}
UIComposition * m_pComp
Definition: ui.h:202

Member Function Documentation

◆ _Create()

HRESULT UI::_Create ( )

@implemented

Definition at line 888 of file ui.cpp.

889{
891 if (!m_pComp)
892 return E_OUTOFMEMORY;
893
895 return S_OK;
896}
#define cicNoThrow
Definition: cicbase.h:34
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
#define S_OK
Definition: intsafe.h:52
__int3264 LONG_PTR
Definition: mstsclib_h.h:276
#define UI_GWLP_UI
Definition: ui.cpp:873
#define SetWindowLongPtrW
Definition: winuser.h:5346

Referenced by OnCreate().

◆ _Destroy()

void UI::_Destroy ( )

@implemented

Definition at line 899 of file ui.cpp.

900{
903}
HRESULT OnDestroy()
@implemented
Definition: ui.cpp:773

Referenced by OnDestroy().

◆ OnCreate()

void UI::OnCreate ( HWND  hWnd)
static

@implemented

Definition at line 906 of file ui.cpp.

907{
909 if (pUI)
910 return;
911 pUI = new(cicNoThrow) UI(hWnd);
912 if (pUI)
913 pUI->_Create();
914}
Definition: ui.h:200
HRESULT _Create()
@implemented
Definition: ui.cpp:888
#define GetWindowLongPtrW
Definition: winuser.h:4829

Referenced by CIMEUIWindowHandler::ImeUIWndProcWorker().

◆ OnDestroy()

void UI::OnDestroy ( HWND  hWnd)
static

@implemented

Definition at line 917 of file ui.cpp.

918{
920 if (!pUI)
921 return;
922
923 pUI->_Destroy();
924 delete pUI;
925}
void _Destroy()
@implemented
Definition: ui.cpp:899

Referenced by CIMEUIWindowHandler::ImeUIWndProcWorker().

◆ OnImeSetContext()

void UI::OnImeSetContext ( CicIMCLock imcLock,
WPARAM  wParam,
LPARAM  lParam 
)

@implemented

Definition at line 928 of file ui.cpp.

929{
931}
void OnImeSetContext(CicIMCLock &imcLock, HWND hUIWnd, WPARAM wParam, LPARAM lParam)
@unimplemented
Definition: ui.cpp:761
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139

Referenced by CIMEUIWindowHandler::ImeUIWndProcWorker().

Member Data Documentation

◆ m_hWnd

HWND UI::m_hWnd

Definition at line 201 of file ui.h.

Referenced by _Create(), _Destroy(), CIMEUIWindowHandler::ImeUIWndProcWorker(), and OnImeSetContext().

◆ m_pComp

UIComposition* UI::m_pComp

The documentation for this struct was generated from the following files: