ReactOS 0.4.16-dev-816-g135a9a9
misc.c File Reference
#include <stdarg.h>
#include "windef.h"
#include "wine/windef16.h"
#include "winbase.h"
#include "wingdi.h"
#include "controls.h"
#include "imm.h"
#include "user_private.h"
#include "wine/debug.h"
Include dependency graph for misc.c:

Go to the source code of this file.

Macros

#define IMM_INIT_MAGIC   0x19650412
 
#define USIG_FLAGS_WIN32   0x0001
 
#define USIG_FLAGS_GUI   0x0002
 
#define USIG_FLAGS_FEEDBACK   0x0004
 
#define USIG_FLAGS_FAULT   0x0008
 
#define USIG_DLL_UNLOAD_WIN16   0x0001
 
#define USIG_DLL_UNLOAD_WIN32   0x0002
 
#define USIG_FAULT_DIALOG_PUSH   0x0003
 
#define USIG_FAULT_DIALOG_POP   0x0004
 
#define USIG_DLL_UNLOAD_ORPHANS   0x0005
 
#define USIG_THREAD_INIT   0x0010
 
#define USIG_THREAD_EXIT   0x0020
 
#define USIG_PROCESS_CREATE   0x0100
 
#define USIG_PROCESS_INIT   0x0200
 
#define USIG_PROCESS_EXIT   0x0300
 
#define USIG_PROCESS_DESTROY   0x0400
 
#define USIG_PROCESS_RUNNING   0x0500
 
#define USIG_PROCESS_LOADED   0x0600
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (win)
 
BOOL WINAPI ImmSetActiveContext (HWND, HIMC, BOOL)
 
static LRESULT (WINAPI *imm_ime_wnd_proc)(HWND hwnd
 
WORD WINAPI UserSignalProc (UINT uCode, DWORD dwThreadOrProcessID, DWORD dwFlags, HMODULE16 hModule)
 
void WINAPI SetLastErrorEx (DWORD error, DWORD type)
 
BOOL WINAPI GetAltTabInfoA (HWND hwnd, int iItem, PALTTABINFO pati, LPSTR pszItemText, UINT cchItemText)
 
BOOL WINAPI GetAltTabInfoW (HWND hwnd, int iItem, PALTTABINFO pati, LPWSTR pszItemText, UINT cchItemText)
 
VOID WINAPI SetDebugErrorLevel (DWORD dwLevel)
 
DWORD WINAPI SetWindowStationUser (DWORD x1, DWORD x2)
 
DWORD WINAPI RegisterLogonProcess (HANDLE hprocess, BOOL x)
 
DWORD WINAPI SetLogonNotifyWindow (HWINSTA hwinsta, HWND hwnd)
 
void WINAPI RegisterSystemThread (DWORD flags, DWORD reserved)
 
BOOL WINAPI RegisterShellHookWindow (HWND hWnd)
 
BOOL WINAPI DeregisterShellHookWindow (HWND hWnd)
 
DWORD WINAPI RegisterTasklist (DWORD x)
 
DWORD WINAPI GetAppCompatFlags (HTASK hTask)
 
DWORD WINAPI GetAppCompatFlags2 (HTASK hTask)
 
BOOL WINAPI AlignRects (LPRECT rect, DWORD b, DWORD c, DWORD d)
 
VOID WINAPI LoadLocalFonts (VOID)
 
BOOL WINAPI User32InitializeImmEntryTable (DWORD magic)
 
UINT WINAPI WINNLSGetIMEHotkey (HWND hwnd)
 
BOOL WINAPI WINNLSEnableIME (HWND hwnd, BOOL enable)
 
BOOL WINAPI WINNLSGetEnableStatus (HWND hwnd)
 
LRESULT WINAPI SendIMEMessageExA (HWND hwnd, LPARAM lparam)
 
LRESULT WINAPI SendIMEMessageExW (HWND hwnd, LPARAM lparam)
 
VOID WINAPI DisableProcessWindowsGhosting (VOID)
 
BOOL WINAPI UserHandleGrantAccess (HANDLE handle, HANDLE job, BOOL grant)
 
HPOWERNOTIFY WINAPI RegisterPowerSettingNotification (HANDLE recipient, const GUID *guid, DWORD flags)
 
BOOL WINAPI UnregisterPowerSettingNotification (HPOWERNOTIFY handle)
 
HPOWERNOTIFY WINAPI RegisterSuspendResumeNotification (HANDLE recipient, DWORD flags)
 
BOOL WINAPI UnregisterSuspendResumeNotification (HPOWERNOTIFY handle)
 
BOOL WINAPI IsWindowRedirectedForPrint (HWND hwnd)
 
BOOL WINAPI RegisterPointerDeviceNotifications (HWND hwnd, BOOL notifyrange)
 
BOOL WINAPI GetPointerDevices (UINT32 *device_count, POINTER_DEVICE_INFO *devices)
 
BOOL WINAPI RegisterTouchHitTestingWindow (HWND hwnd, ULONG value)
 
BOOL WINAPI EvaluateProximityToRect (const RECT *box, const TOUCH_HIT_TESTING_INPUT *input, TOUCH_HIT_TESTING_PROXIMITY_EVALUATION *proximity)
 
LRESULT WINAPI PackTouchHitTestingProximityEvaluation (const TOUCH_HIT_TESTING_INPUT *input, const TOUCH_HIT_TESTING_PROXIMITY_EVALUATION *proximity)
 
BOOL WINAPI GetPointerType (UINT32 id, POINTER_INPUT_TYPE *type)
 
BOOL WINAPI GetPointerInfo (UINT32 id, POINTER_INFO *info)
 
LRESULT WINAPI ImeWndProcA (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
 
LRESULT WINAPI ImeWndProcW (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
 

Variables

static UINT msg
 
static UINT WPARAM wparam
 
static UINT WPARAM LPARAM lparam
 
static UINT WPARAM LPARAM BOOL ansi
 

Macro Definition Documentation

◆ IMM_INIT_MAGIC

#define IMM_INIT_MAGIC   0x19650412

Definition at line 134 of file misc.c.

◆ USIG_DLL_UNLOAD_ORPHANS

#define USIG_DLL_UNLOAD_ORPHANS   0x0005

Definition at line 148 of file misc.c.

◆ USIG_DLL_UNLOAD_WIN16

#define USIG_DLL_UNLOAD_WIN16   0x0001

Definition at line 144 of file misc.c.

◆ USIG_DLL_UNLOAD_WIN32

#define USIG_DLL_UNLOAD_WIN32   0x0002

Definition at line 145 of file misc.c.

◆ USIG_FAULT_DIALOG_POP

#define USIG_FAULT_DIALOG_POP   0x0004

Definition at line 147 of file misc.c.

◆ USIG_FAULT_DIALOG_PUSH

#define USIG_FAULT_DIALOG_PUSH   0x0003

Definition at line 146 of file misc.c.

◆ USIG_FLAGS_FAULT

#define USIG_FLAGS_FAULT   0x0008

Definition at line 142 of file misc.c.

◆ USIG_FLAGS_FEEDBACK

#define USIG_FLAGS_FEEDBACK   0x0004

Definition at line 141 of file misc.c.

◆ USIG_FLAGS_GUI

#define USIG_FLAGS_GUI   0x0002

Definition at line 140 of file misc.c.

◆ USIG_FLAGS_WIN32

#define USIG_FLAGS_WIN32   0x0001

Definition at line 139 of file misc.c.

◆ USIG_PROCESS_CREATE

#define USIG_PROCESS_CREATE   0x0100

Definition at line 151 of file misc.c.

◆ USIG_PROCESS_DESTROY

#define USIG_PROCESS_DESTROY   0x0400

Definition at line 154 of file misc.c.

◆ USIG_PROCESS_EXIT

#define USIG_PROCESS_EXIT   0x0300

Definition at line 153 of file misc.c.

◆ USIG_PROCESS_INIT

#define USIG_PROCESS_INIT   0x0200

Definition at line 152 of file misc.c.

◆ USIG_PROCESS_LOADED

#define USIG_PROCESS_LOADED   0x0600

Definition at line 156 of file misc.c.

◆ USIG_PROCESS_RUNNING

#define USIG_PROCESS_RUNNING   0x0500

Definition at line 155 of file misc.c.

◆ USIG_THREAD_EXIT

#define USIG_THREAD_EXIT   0x0020

Definition at line 150 of file misc.c.

◆ USIG_THREAD_INIT

#define USIG_THREAD_INIT   0x0010

Definition at line 149 of file misc.c.

Function Documentation

◆ AlignRects()

BOOL WINAPI AlignRects ( LPRECT  rect,
DWORD  b,
DWORD  c,
DWORD  d 
)

Definition at line 386 of file misc.c.

387{
388 FIXME("(%p, %ld, %ld, %ld): stub\n", rect, b, c, d);
389 if (rect)
390 FIXME("rect: %s\n", wine_dbgstr_rect(rect));
391 /* Calls OffsetRect */
392 return FALSE;
393}
static const char * wine_dbgstr_rect(const RECT *prc)
Definition: atltest.h:160
#define FIXME(fmt,...)
Definition: precomp.h:53
#define FALSE
Definition: types.h:117
const GLubyte * c
Definition: glext.h:8905
GLboolean GLboolean GLboolean b
Definition: glext.h:6204
#define d
Definition: ke_i.h:81
& rect
Definition: startmenu.cpp:1413

◆ DeregisterShellHookWindow()

BOOL WINAPI DeregisterShellHookWindow ( HWND  hWnd)

Definition at line 348 of file misc.c.

349{
350 FIXME("(%p): stub\n", hWnd);
351 return FALSE;
352}
HWND hWnd
Definition: settings.c:17

◆ DisableProcessWindowsGhosting()

VOID WINAPI DisableProcessWindowsGhosting ( VOID  )

Definition at line 484 of file misc.c.

485{
486 FIXME(": stub\n");
488 return;
489}
#define ERROR_CALL_NOT_IMPLEMENTED
Definition: compat.h:102
#define SetLastError(x)
Definition: compat.h:752

◆ EvaluateProximityToRect()

BOOL WINAPI EvaluateProximityToRect ( const RECT box,
const TOUCH_HIT_TESTING_INPUT *  input,
TOUCH_HIT_TESTING_PROXIMITY_EVALUATION *  proximity 
)

Definition at line 585 of file misc.c.

588{
589 FIXME("(%p,%p,%p): stub\n", box, input, proximity);
591 return FALSE;
592}
GLenum GLenum GLenum input
Definition: glext.h:9031
Definition: palette.c:466

◆ GetAltTabInfoA()

BOOL WINAPI GetAltTabInfoA ( HWND  hwnd,
int  iItem,
PALTTABINFO  pati,
LPSTR  pszItemText,
UINT  cchItemText 
)

Definition at line 269 of file misc.c.

270{
271 FIXME("(%p, 0x%08x, %p, %p, 0x%08x)\n", hwnd, iItem, pati, pszItemText, cchItemText);
272 return FALSE;
273}
_In_ LONG _In_ HWND hwnd
Definition: winddi.h:4023

◆ GetAltTabInfoW()

BOOL WINAPI GetAltTabInfoW ( HWND  hwnd,
int  iItem,
PALTTABINFO  pati,
LPWSTR  pszItemText,
UINT  cchItemText 
)

Definition at line 278 of file misc.c.

279{
280 FIXME("(%p, 0x%08x, %p, %p, 0x%08x)\n", hwnd, iItem, pati, pszItemText, cchItemText);
281 return FALSE;
282}

◆ GetAppCompatFlags()

DWORD WINAPI GetAppCompatFlags ( HTASK  hTask)

Definition at line 367 of file misc.c.

368{
369 FIXME("(%p) stub\n", hTask);
370 return 0;
371}

◆ GetAppCompatFlags2()

DWORD WINAPI GetAppCompatFlags2 ( HTASK  hTask)

Definition at line 376 of file misc.c.

377{
378 FIXME("(%p) stub\n", hTask);
379 return 0;
380}

◆ GetPointerDevices()

BOOL WINAPI GetPointerDevices ( UINT32 device_count,
POINTER_DEVICE_INFO *  devices 
)

Definition at line 559 of file misc.c.

560{
561 FIXME("(%p %p): partial stub\n", device_count, devices);
562
563 if (!device_count)
564 return FALSE;
565
566 if (devices)
567 return FALSE;
568
569 *device_count = 0;
570 return TRUE;
571}
#define TRUE
Definition: types.h:120
static struct all_devices * devices
Definition: dsm_ctrl.c:48

◆ GetPointerInfo()

BOOL WINAPI GetPointerInfo ( UINT32  id,
POINTER_INFO *  info 
)

Definition at line 622 of file misc.c.

623{
624 FIXME("(%d %p): stub\n", id, info);
625
627 return FALSE;
628}
#define ERROR_INVALID_PARAMETER
Definition: compat.h:101

◆ GetPointerType()

BOOL WINAPI GetPointerType ( UINT32  id,
POINTER_INPUT_TYPE *  type 
)

Definition at line 608 of file misc.c.

609{
610 FIXME("(%d %p): stub\n", id, type);
611
612 if(!id || !type)
613 {
615 return FALSE;
616 }
617
618 *type = PT_MOUSE;
619 return TRUE;
620}
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545

Referenced by init_function_pointers().

◆ ImeWndProcA()

LRESULT WINAPI ImeWndProcA ( HWND  hwnd,
UINT  msg,
WPARAM  wParam,
LPARAM  lParam 
)

Definition at line 631 of file misc.c.

632{
633 if (!imm_ime_wnd_proc) return DefWindowProcA(hwnd, msg, wParam, lParam);
634 return imm_ime_wnd_proc( hwnd, msg, wParam, lParam, TRUE );
635}
#define msg(x)
Definition: auth_time.c:54
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139
LRESULT WINAPI DefWindowProcA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)

Referenced by RegisterClientPFN().

◆ ImeWndProcW()

LRESULT WINAPI ImeWndProcW ( HWND  hwnd,
UINT  msg,
WPARAM  wParam,
LPARAM  lParam 
)

Definition at line 637 of file misc.c.

638{
639 if (!imm_ime_wnd_proc) return DefWindowProcW(hwnd, msg, wParam, lParam);
640 return imm_ime_wnd_proc( hwnd, msg, wParam, lParam, FALSE );
641}
LRESULT WINAPI DefWindowProcW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)

Referenced by RegisterClientPFN().

◆ ImmSetActiveContext()

BOOL WINAPI ImmSetActiveContext ( HWND  hWnd,
HIMC  hIMC,
BOOL  fActive 
)

Definition at line 1125 of file imm.c.

1126{
1127 PCLIENTIMC pClientImc;
1128 LPINPUTCONTEXTDX pIC;
1129 PIMEDPI pImeDpi;
1130 HIMC hOldIMC;
1131 HKL hKL;
1132 BOOL fOpen = FALSE;
1133 DWORD dwConversion = 0, dwShowFlags = ISC_SHOWUIALL;
1134 HWND hwndDefIME;
1135
1136 TRACE("(%p, %p, %d)\n", hWnd, hIMC, fActive);
1137
1138 if (!IS_IMM_MODE())
1139 {
1140 TRACE("\n");
1141 return FALSE;
1142 }
1143
1144 pClientImc = ImmLockClientImc(hIMC);
1145
1146 if (!fActive)
1147 {
1148 if (pClientImc)
1149 pClientImc->dwFlags &= ~CLIENTIMC_ACTIVE;
1150 }
1151 else if (hIMC)
1152 {
1153 if (IS_NULL_UNEXPECTEDLY(pClientImc))
1154 return FALSE;
1155
1156 pIC = (LPINPUTCONTEXTDX)ImmLockIMC(hIMC);
1157 if (IS_NULL_UNEXPECTEDLY(pIC))
1158 {
1159 ImmUnlockClientImc(pClientImc);
1160 return FALSE;
1161 }
1162
1163 pIC->hWnd = hWnd;
1164 pClientImc->dwFlags |= CLIENTIMC_ACTIVE;
1165
1166 if (pIC->dwUIFlags & 2)
1168
1169 fOpen = pIC->fOpen;
1170 dwConversion = pIC->fdwConversion;
1171
1172 ImmUnlockIMC(hIMC);
1173 }
1174 else
1175 {
1176 hOldIMC = ImmGetSaveContext(hWnd, 1);
1177 pIC = (LPINPUTCONTEXTDX)ImmLockIMC(hOldIMC);
1178 if (pIC)
1179 {
1180 pIC->hWnd = hWnd;
1181 ImmUnlockIMC(hOldIMC);
1182 }
1183 }
1184
1185 hKL = GetKeyboardLayout(0);
1186 if (IS_CICERO_MODE() && !IS_16BIT_MODE())
1187 {
1188 CtfImeSetActiveContextAlways(hIMC, fActive, hWnd, hKL);
1189 hKL = GetKeyboardLayout(0);
1190 }
1191
1192 pImeDpi = ImmLockImeDpi(hKL);
1193 if (pImeDpi)
1194 {
1195 if (IS_IME_HKL(hKL))
1196 pImeDpi->ImeSetActiveContext(hIMC, fActive);
1197 ImmUnlockImeDpi(pImeDpi);
1198 }
1199
1200 if (IsWindow(hWnd))
1201 {
1202 SendMessageW(hWnd, WM_IME_SETCONTEXT, fActive, dwShowFlags);
1203 if (fActive)
1204 NtUserNotifyIMEStatus(hWnd, fOpen, dwConversion);
1205 }
1206 else if (!fActive)
1207 {
1208 hwndDefIME = ImmGetDefaultIMEWnd(NULL);
1209 if (hwndDefIME)
1210 SendMessageW(hwndDefIME, WM_IME_SETCONTEXT, 0, dwShowFlags);
1211 }
1212
1213 if (pClientImc)
1214 ImmUnlockClientImc(pClientImc);
1215
1216 return TRUE;
1217}
DWORD HIMC
Definition: dimm.idl:75
#define NULL
Definition: types.h:112
HWND WINAPI ImmGetDefaultIMEWnd(HWND hWnd)
Definition: ime.c:890
PIMEDPI WINAPI ImmLockImeDpi(HKL hKL)
Definition: ime.c:978
VOID WINAPI ImmUnlockImeDpi(PIMEDPI pImeDpi)
Definition: ime.c:1007
BOOL WINAPI ImmUnlockIMC(HIMC hIMC)
Definition: imm.c:1067
static HIMC APIENTRY ImmGetSaveContext(HWND hWnd, DWORD dwContextFlags)
Definition: imm.c:1004
VOID WINAPI ImmUnlockClientImc(PCLIENTIMC pClientImc)
Definition: imm.c:984
PCLIENTIMC WINAPI ImmLockClientImc(HIMC hImc)
Definition: imm.c:938
LPINPUTCONTEXT WINAPI ImmLockIMC(HIMC hIMC)
Definition: imm.c:1058
#define IS_NULL_UNEXPECTEDLY(p)
Definition: precomp.h:125
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
struct INPUTCONTEXTDX * LPINPUTCONTEXTDX
#define IS_IME_HKL(hKL)
Definition: imm32_undoc.h:20
#define CLIENTIMC_ACTIVE
Definition: imm32_undoc.h:143
#define ISC_SHOWUIGUIDELINE
Definition: imm.h:173
#define ISC_SHOWUIALLCANDIDATEWINDOW
Definition: imm.h:174
#define ISC_SHOWUIALL
Definition: imm.h:175
DWORD NTAPI NtUserNotifyIMEStatus(HWND hwnd, BOOL fOpen, DWORD dwConversion)
Definition: ime.c:803
#define IS_IMM_MODE()
Definition: ntuser.h:1209
#define IS_16BIT_MODE()
Definition: ntuser.h:1211
#define IS_CICERO_MODE()
Definition: ntuser.h:1210
UINT_PTR HKL
Definition: msctf.idl:143
EXTERN_C HRESULT WINAPI CtfImeSetActiveContextAlways(_In_ HIMC hIMC, _In_ BOOL fActive, _In_ HWND hWnd, _In_ HKL hKL)
Definition: msctfime.cpp:775
#define TRACE(s)
Definition: solgame.cpp:4
BOOL WINAPI IsWindow(_In_opt_ HWND)
HKL WINAPI GetKeyboardLayout(_In_ DWORD)
#define WM_IME_SETCONTEXT
Definition: winuser.h:1832
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)

Referenced by ImmAssociateContext(), ImmAssociateContextEx(), ImmSetActiveContextConsoleIME(), ImmWINNLSEnableIME(), and User32SetImeActivenessOfWindow().

◆ IsWindowRedirectedForPrint()

BOOL WINAPI IsWindowRedirectedForPrint ( HWND  hwnd)

Definition at line 541 of file misc.c.

542{
543 FIXME("(%p): stub\n", hwnd);
544 return FALSE;
545}

◆ LoadLocalFonts()

VOID WINAPI LoadLocalFonts ( VOID  )

Definition at line 399 of file misc.c.

400{
401 /* are loaded. */
402 return;
403}

◆ LRESULT()

static LRESULT ( WINAPI imm_ime_wnd_proc)
static

◆ PackTouchHitTestingProximityEvaluation()

LRESULT WINAPI PackTouchHitTestingProximityEvaluation ( const TOUCH_HIT_TESTING_INPUT *  input,
const TOUCH_HIT_TESTING_PROXIMITY_EVALUATION *  proximity 
)

Definition at line 597 of file misc.c.

599{
600 FIXME("(%p,%p): stub\n", input, proximity);
602 return 0;
603}

◆ RegisterLogonProcess()

DWORD WINAPI RegisterLogonProcess ( HANDLE  hprocess,
BOOL  x 
)

Definition at line 312 of file misc.c.

313{
314 FIXME("(%p,%d),stub!\n",hprocess,x);
315 return 1;
316}
GLint GLint GLint GLint GLint x
Definition: gl.h:1548

◆ RegisterPointerDeviceNotifications()

BOOL WINAPI RegisterPointerDeviceNotifications ( HWND  hwnd,
BOOL  notifyrange 
)

Definition at line 550 of file misc.c.

551{
552 FIXME("(%p %d): stub\n", hwnd, notifyrange);
553 return TRUE;
554}

◆ RegisterPowerSettingNotification()

HPOWERNOTIFY WINAPI RegisterPowerSettingNotification ( HANDLE  recipient,
const GUID guid,
DWORD  flags 
)

Definition at line 505 of file misc.c.

506{
507 FIXME("(%p,%s,%lx): stub\n", recipient, debugstr_guid(guid), flags);
508 return (HPOWERNOTIFY)0xdeadbeef;
509}
GLbitfield flags
Definition: glext.h:7161
#define debugstr_guid
Definition: kernel32.h:35
const GUID * guid

◆ RegisterShellHookWindow()

BOOL WINAPI RegisterShellHookWindow ( HWND  hWnd)

Definition at line 338 of file misc.c.

339{
340 FIXME("(%p): stub\n", hWnd);
341 return FALSE;
342}

◆ RegisterSuspendResumeNotification()

HPOWERNOTIFY WINAPI RegisterSuspendResumeNotification ( HANDLE  recipient,
DWORD  flags 
)

Definition at line 523 of file misc.c.

524{
525 FIXME("%p, %#lx: stub.\n", recipient, flags);
526 return (HPOWERNOTIFY)0xdeadbeef;
527}

◆ RegisterSystemThread()

void WINAPI RegisterSystemThread ( DWORD  flags,
DWORD  reserved 
)

Definition at line 330 of file misc.c.

331{
332 FIXME("(%08lx, %08lx)\n", flags, reserved);
333}
r reserved
Definition: btrfs.c:3006

◆ RegisterTasklist()

DWORD WINAPI RegisterTasklist ( DWORD  x)

Definition at line 358 of file misc.c.

359{
360 FIXME("0x%08lx\n",x);
361 return TRUE;
362}

◆ RegisterTouchHitTestingWindow()

BOOL WINAPI RegisterTouchHitTestingWindow ( HWND  hwnd,
ULONG  value 
)

Definition at line 576 of file misc.c.

577{
578 FIXME("(%p %ld): stub\n", hwnd, value);
579 return TRUE;
580}
Definition: pdh_main.c:94

◆ SendIMEMessageExA()

LRESULT WINAPI SendIMEMessageExA ( HWND  hwnd,
LPARAM  lparam 
)

Definition at line 462 of file misc.c.

463{
464 FIXME("(%p,%Ix): stub\n", hwnd, lparam);
466 return 0;
467}
static UINT WPARAM LPARAM lparam
Definition: misc.c:135

◆ SendIMEMessageExW()

LRESULT WINAPI SendIMEMessageExW ( HWND  hwnd,
LPARAM  lparam 
)

Definition at line 473 of file misc.c.

474{
475 FIXME("(%p,%Ix): stub\n", hwnd, lparam);
477 return 0;
478}

◆ SetDebugErrorLevel()

VOID WINAPI SetDebugErrorLevel ( DWORD  dwLevel)

Definition at line 294 of file misc.c.

295{
296 FIXME("(%ld): stub\n", dwLevel);
297}

◆ SetLastErrorEx()

void WINAPI SetLastErrorEx ( DWORD  error,
DWORD  type 
)

Definition at line 247 of file misc.c.

250{
251 TRACE("(0x%08lx, 0x%08lx)\n", error,type);
252 switch(type) {
253 case 0:
254 break;
255 case SLE_ERROR:
256 case SLE_MINORERROR:
257 case SLE_WARNING:
258 /* Fall through for now */
259 default:
260 FIXME("(error=%08lx, type=%08lx): Unhandled type\n", error,type);
261 break;
262 }
264}
#define error(str)
Definition: mkdosfs.c:1605
#define SLE_ERROR
Definition: winbase.h:471
#define SLE_WARNING
Definition: winbase.h:473
#define SLE_MINORERROR
Definition: winbase.h:472

◆ SetLogonNotifyWindow()

DWORD WINAPI SetLogonNotifyWindow ( HWINSTA  hwinsta,
HWND  hwnd 
)

Definition at line 321 of file misc.c.

322{
323 FIXME("(%p,%p),stub!\n",hwinsta,hwnd);
324 return 1;
325}

◆ SetWindowStationUser()

DWORD WINAPI SetWindowStationUser ( DWORD  x1,
DWORD  x2 
)

Definition at line 303 of file misc.c.

304{
305 FIXME("(0x%08lx,0x%08lx),stub!\n",x1,x2);
306 return 1;
307}
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG x2
Definition: winddi.h:3710
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG x1
Definition: winddi.h:3708

◆ UnregisterPowerSettingNotification()

BOOL WINAPI UnregisterPowerSettingNotification ( HPOWERNOTIFY  handle)

Definition at line 514 of file misc.c.

515{
516 FIXME("(%p): stub\n", handle);
517 return TRUE;
518}

◆ UnregisterSuspendResumeNotification()

BOOL WINAPI UnregisterSuspendResumeNotification ( HPOWERNOTIFY  handle)

Definition at line 532 of file misc.c.

533{
534 FIXME("%p: stub.\n", handle);
535 return TRUE;
536}

◆ User32InitializeImmEntryTable()

BOOL WINAPI User32InitializeImmEntryTable ( DWORD  magic)

Definition at line 409 of file misc.c.

410{
411 HMODULE imm32 = GetModuleHandleW(L"imm32.dll");
412
413 TRACE("(%lx)\n", magic);
414
415 if (!imm32 || magic != IMM_INIT_MAGIC)
416 return FALSE;
417
418 if (imm_ime_wnd_proc)
419 return TRUE;
420
421 /* this part is not compatible with native imm32.dll */
422 imm_ime_wnd_proc = (void*)GetProcAddress(imm32, "__wine_ime_wnd_proc");
423 if (!imm_ime_wnd_proc)
424 FIXME("native imm32.dll not supported\n");
425 return TRUE;
426}
#define GetProcAddress(x, y)
Definition: compat.h:753
HMODULE WINAPI GetModuleHandleW(LPCWSTR lpModuleName)
Definition: loader.c:838
#define L(x)
Definition: ntvdm.h:50
#define IMM_INIT_MAGIC
Definition: misc.c:134

Referenced by ImmDllInitialize().

◆ UserHandleGrantAccess()

BOOL WINAPI UserHandleGrantAccess ( HANDLE  handle,
HANDLE  job,
BOOL  grant 
)

Definition at line 495 of file misc.c.

496{
497 FIXME("(%p,%p,%d): stub\n", handle, job, grant);
498 return TRUE;
499}
static HANDLE job
Definition: process.c:77

◆ UserSignalProc()

WORD WINAPI UserSignalProc ( UINT  uCode,
DWORD  dwThreadOrProcessID,
DWORD  dwFlags,
HMODULE16  hModule 
)

Definition at line 229 of file misc.c.

231{
232 FIXME("(%04x, %08lx, %04lx, %04x)\n",
233 uCode, dwThreadOrProcessID, dwFlags, hModule );
234 /* FIXME: Should chain to GdiSignalProc now. */
235 return 0;
236}
HMODULE hModule
Definition: animate.c:44
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1176

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( win  )

◆ WINNLSEnableIME()

BOOL WINAPI WINNLSEnableIME ( HWND  hwnd,
BOOL  enable 
)

Definition at line 442 of file misc.c.

443{
444 FIXME("hwnd %p enable %d: stub!\n", hwnd, enable);
445 return TRUE; /* success (?) */
446}
GLboolean enable
Definition: glext.h:11120

◆ WINNLSGetEnableStatus()

BOOL WINAPI WINNLSGetEnableStatus ( HWND  hwnd)

Definition at line 452 of file misc.c.

453{
454 FIXME("hwnd %p: stub!\n", hwnd);
455 return TRUE; /* success (?) */
456}

◆ WINNLSGetIMEHotkey()

UINT WINAPI WINNLSGetIMEHotkey ( HWND  hwnd)

Definition at line 432 of file misc.c.

433{
434 FIXME("hwnd %p: stub!\n", hwnd);
435 return 0; /* unknown */
436}

Variable Documentation

◆ ansi

◆ lparam

UINT WPARAM LPARAM lparam

Definition at line 135 of file misc.c.

Referenced by SendIMEMessageExA(), and SendIMEMessageExW().

◆ msg

UINT msg

Definition at line 135 of file misc.c.

◆ wparam

UINT WPARAM wparam

Definition at line 135 of file misc.c.