23 return gpsi->argbSystem[nIndex];
40 return gpsi->ahbrSystem[nIndex];
104 ERR(
"IDCWTO Nothing found\n");
170 if (lResult)
return 0;
195 FIXME(
"Unimplemented DefWndHandleSysCommand wParam 0x%x\n",
wParam);
222 return gpsi->hbrGray;
290 if (
wParam > ICON_SMALL2 )
335 ERR(
"WM_POPUPSYSTEMMENU\n");
370 ERR(
"WM_NCRBUTTONUP\n");
410 if (Ret)
return (Ret);
512 case WM_NOTIFYFORMAT:
543 case WM_INPUTLANGCHANGEREQUEST:
548 if ((
wParam & INPUTLANGCHANGE_BACKWARD) && (
wParam & INPUTLANGCHANGE_FORWARD))
552 if (hwndFocus && hwndFocus !=
hWnd &&
558 if (
wParam & INPUTLANGCHANGE_FORWARD)
560 else if (
wParam & INPUTLANGCHANGE_BACKWARD)
569 case WM_INPUTLANGCHANGE:
576 while (win_array[
count])
582 case WM_QUERYUISTATE:
589 Ret |= UISF_HIDEFOCUS;
591 Ret |= UISF_HIDEACCEL;
596 case WM_CHANGEUISTATE:
611 if (
Flags & ~(UISF_HIDEFOCUS | UISF_HIDEACCEL | UISF_ACTIVE))
614 if (
Flags & UISF_ACTIVE)
616 WARN(
"WM_CHANGEUISTATE does not yet support UISF_ACTIVE\n");
619 if (
Action == UIS_INITIALIZE)
626 Flags = UISF_HIDEFOCUS | UISF_HIDEACCEL;
655 WARN(
"WM_CHANGEUISTATE: Unsupported Action 0x%x\n",
Action);
668 Msg = WM_UPDATEUISTATE;
677 case WM_UPDATEUISTATE:
693 if (
Flags & ~(UISF_HIDEFOCUS | UISF_HIDEACCEL | UISF_ACTIVE))
696 if (
Flags & UISF_ACTIVE)
698 WARN(
"WM_UPDATEUISTATE does not yet support UISF_ACTIVE\n");
701 if (
Action == UIS_INITIALIZE)
708 Flags = UISF_HIDEFOCUS | UISF_HIDEACCEL;
739 WARN(
"WM_UPDATEUISTATE: Unsupported Action 0x%x\n",
Action);
949 case WM_IME_COMPOSITION:
953 unsigned char lead = 0;
968 unsigned char c =
buf[
i];
986 case WM_IME_STARTCOMPOSITION:
987 case WM_IME_ENDCOMPOSITION:
998 TRACE(
"This thread's IME is disabled\n");
1005 ERR(
"hwndIME was NULL\n");
1009 if (hwndIME ==
hWnd)
1024 goto NormalImeMsgHandling;
1165 case WM_IME_COMPOSITION:
1187 case WM_IME_STARTCOMPOSITION:
1188 case WM_IME_ENDCOMPOSITION:
1193NormalImeMsgHandling:
1199 TRACE(
"This thread's IME is disabled\n");
1206 ERR(
"hwndIME was NULL\n");
1210 if (hwndIME ==
hWnd)
1225 goto NormalImeMsgHandling;
1248 if(msgOverride ==
FALSE)
1255 if (!Hook || !msgOverride)
1264 ERR(
"Got exception in hooked DefWindowProcA\n");
1285 if(msgOverride ==
FALSE)
1292 if (!Hook || !msgOverride)
1301 ERR(
"Got exception in hooked DefWindowProcW\n");
#define DECLSPEC_HOTPATCH
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
INT copy(TCHAR source[MAX_PATH], TCHAR dest[MAX_PATH], INT append, DWORD lpdwFlags, BOOL bTouch)
#define UlongToHandle(ul)
LONG WINAPI ImmGetCompositionStringW(HIMC hIMC, DWORD dwIndex, LPVOID lpBuf, DWORD dwBufLen)
LONG WINAPI ImmGetCompositionStringA(HIMC hIMC, DWORD dwIndex, LPVOID lpBuf, DWORD dwBufLen)
#define NT_SUCCESS(StatCode)
#define ERROR_INVALID_PARAMETER
#define HeapFree(x, y, z)
#define WideCharToMultiByte
HWND WINAPI ImmGetDefaultIMEWnd(HWND hWnd)
HIMC WINAPI ImmGetContext(HWND hWnd)
BOOL WINAPI ImmReleaseContext(HWND hWnd, HIMC hIMC)
#define ValidateHwnd(hwnd)
static PVOID FASTCALL DesktopPtrToUser(PVOID ptr)
UINT WINAPI DECLSPEC_HOTPATCH WinExec(LPCSTR lpCmdLine, UINT uCmdShow)
BOOL WINAPI IsDBCSLeadByte(BYTE testchar)
unsigned short(__cdecl typeof(TIFFCurrentDirectory))(struct tiff *)
GLuint GLuint GLsizei count
GLenum GLuint GLenum GLsizei const GLchar * buf
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
UINT NTAPI GlobalFlags(HGLOBAL hMem)
#define ISITHOOKED(HookId)
#define EXCEPTION_EXECUTE_HANDLER
VOID NTAPI RtlInitLargeAnsiString(IN OUT PLARGE_ANSI_STRING, IN PCSZ, IN INT)
BOOL NTAPI NtUserMessageCall(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam, ULONG_PTR ResultInfo, DWORD dwType, BOOL Ansi)
HKL NTAPI NtUserActivateKeyboardLayout(HKL hKL, ULONG Flags)
#define FNID_DEFWINDOWPROC
#define UserHMGetHandle(obj)
BOOL NTAPI NtUserDefSetText(HWND WindowHandle, PLARGE_STRING WindowText)
BOOL NTAPI NtUserDrawCaption(HWND hWnd, HDC hDc, LPCRECT lpRc, UINT uFlags)
#define QUERY_WINDOW_FOREGROUND
DWORD_PTR NTAPI NtUserQueryWindow(HWND hWnd, DWORD Index)
VOID NTAPI RtlInitLargeUnicodeString(IN OUT PLARGE_UNICODE_STRING, IN PCWSTR, IN INT)
#define GetWin32ClientInfo()
BOOL NTAPI NtUserSetSysColors(int cElements, IN CONST INT *lpaElements, IN CONST COLORREF *lpaRgbValues, FLONG Flags)
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
_Out_writes_bytes_to_opt_ AbsoluteSecurityDescriptorSize PSECURITY_DESCRIPTOR _Inout_ PULONG _Out_writes_bytes_to_opt_ DaclSize PACL _Inout_ PULONG _Out_writes_bytes_to_opt_ SaclSize PACL _Inout_ PULONG _Out_writes_bytes_to_opt_ OwnerSize PSID Owner
_Use_decl_annotations_ NTSTATUS NTAPI RtlUnicodeToMultiByteSize(_Out_ PULONG MbSize, _In_ PCWCH UnicodeString, _In_ ULONG UnicodeSize)
LRESULT FASTCALL DefWndGetIcon(PWND pWnd, WPARAM wParam, LPARAM lParam)
LRESULT FASTCALL DefWndHandleSysCommand(PWND pWnd, WPARAM wParam, LPARAM lParam)
BOOL UserPaintCaption(PWND pWnd, INT Flags)
HBRUSH FASTCALL DefWndControlColor(HDC hDC, UINT ctlType)
EXTINLINE BOOL NtUserxUpdateUiState(HWND hWnd, DWORD Param)
#define WS_EX_ACCEPTFILES
#define _SEH2_EXCEPT(...)
LRESULT WINAPI ImeWndProc_common(HWND, UINT, WPARAM, LPARAM, BOOL)
root entry for file system trees
LARGE_UNICODE_STRING strName
struct _WND * spwndParent
#define RtlCopyMemory(Destination, Source, Length)
#define WM_COPYGLOBALDATA
#define WM_NCUAHDRAWCAPTION
#define WM_QUERYDROPOBJECT
#define WM_CLIENTSHUTDOWN
#define WM_POPUPSYSTEMMENU
#define WM_NCUAHDRAWFRAME
LRESULT WINAPI DoAppSwitch(WPARAM wParam, LPARAM lParam)
BOOL WINAPI SetSysColors(int cElements, CONST INT *lpaElements, CONST COLORREF *lpaRgbValues)
LRESULT WINAPI User32DefWindowProc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam, BOOL bUnicode)
LRESULT WINAPI RealDefWindowProcA(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
LRESULT WINAPI DefWindowProcA(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
HWND FASTCALL IntFindChildWindowToOwner(HWND hRoot, HWND hOwner)
LRESULT WINAPI RealDefWindowProcW(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
DWORD WINAPI DECLSPEC_HOTPATCH GetSysColor(int nIndex)
static BOOL CALLBACK UserSendUiUpdateMsg(HWND hwnd, LPARAM lParam)
static VOID DefWndTrackScrollBar(HWND Wnd, WPARAM wParam, POINT Pt)
HBRUSH WINAPI DECLSPEC_HOTPATCH GetSysColorBrush(int nIndex)
LRESULT WINAPI DefWindowProcW(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
void SPY_EnterMessage(INT iFlag, HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
HWND * WIN_ListChildren(HWND hWndparent)
BOOL FASTCALL EndUserApiHook(VOID)
BOOL FASTCALL BeginIfHookedUserApiHook(VOID)
BOOL FASTCALL IsMsgOverride(UINT, PUAHOWP)
#define SPY_RESULT_DEFWND
void SPY_ExitMessage(INT iFlag, HWND hwnd, UINT msg, LRESULT lReturn, WPARAM wParam, LPARAM lParam)
static __inline void LoadUserApiHook()
static __inline PDESKTOPINFO GetThreadDesktopInfo(VOID)
BOOL APIENTRY DefSetText(PWND Wnd, PCWSTR WindowText)
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFDEVICE Child
_In_ WDFIOTARGET _In_ _Strict_type_match_ WDF_IO_TARGET_SENT_IO_ACTION Action
VOID FASTCALL IntNotifyWinEvent(DWORD Event, PWND pWnd, LONG idObject, LONG idChild, DWORD flags)
HANDLE FASTCALL UserGetProp(_In_ PWND Window, _In_ ATOM Atom, _In_ BOOLEAN SystemProp)
BOOL WINAPI UnrealizeObject(_In_ HGDIOBJ)
int WINAPI GetClipBox(_In_ HDC, _Out_ LPRECT)
COLORREF WINAPI SetBkColor(_In_ HDC, _In_ COLORREF)
BOOL WINAPI DPtoLP(_In_ HDC hdc, _Inout_updates_(c) LPPOINT lppt, _In_ int c)
int WINAPI FillRect(HDC, LPCRECT, HBRUSH)
COLORREF WINAPI SetTextColor(_In_ HDC, _In_ COLORREF)
HWND WINAPI GetFocus(void)
int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC)
#define WM_CTLCOLORSTATIC
#define CTLCOLOR_SCROLLBAR
#define GetWindowLongPtrW
#define KLF_SETFORPROCESS
BOOL WINAPI PostMessageW(_In_opt_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
#define WM_WINDOWPOSCHANGING
struct tagCREATESTRUCTA * LPCREATESTRUCTA
BOOL WINAPI SetForegroundWindow(_In_ HWND)
LRESULT WINAPI SendMessageA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
HDC WINAPI GetDCEx(_In_opt_ HWND, _In_opt_ HRGN, _In_ DWORD)
#define WM_CTLCOLORSCROLLBAR
HMENU WINAPI GetSystemMenu(_In_ HWND, _In_ BOOL)
#define WM_SYSCOLORCHANGE
BOOL WINAPI EnumChildWindows(_In_opt_ HWND, _In_ WNDENUMPROC, _In_ LPARAM)
BOOL WINAPI ClientToScreen(_In_ HWND, _Inout_ LPPOINT)
#define WM_CTLCOLORMSGBOX
#define WM_NCLBUTTONDBLCLK
#define WM_IME_SETCONTEXT
BOOL WINAPI IsWindowUnicode(_In_ HWND)
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
HWND WINAPI SetFocus(_In_opt_ HWND)
#define WM_QUERYENDSESSION
#define GCL_HBRBACKGROUND
BOOL WINAPI SystemParametersInfoW(_In_ UINT uiAction, _In_ UINT uiParam, _Inout_opt_ PVOID pvParam, _In_ UINT fWinIni)
BOOL WINAPI IsWindowEnabled(_In_ HWND)
HWND WINAPI GetParent(_In_ HWND)
#define WM_CTLCOLORLISTBOX
BOOL WINAPI TrackPopupMenu(_In_ HMENU, _In_ UINT, _In_ int, _In_ int, _Reserved_ int, _In_ HWND, _Reserved_ LPCRECT)
int WINAPI SetScrollInfo(_In_ HWND, _In_ int, _In_ LPCSCROLLINFO, _In_ BOOL)
#define MAKEINTRESOURCEW(i)
#define WM_ICONERASEBKGND
#define WM_WINDOWPOSCHANGED
BOOL WINAPI DestroyWindow(_In_ HWND)
BOOL WINAPI PostMessageA(_In_opt_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
struct tagCREATESTRUCTW * LPCREATESTRUCTW
HICON WINAPI LoadIconW(_In_opt_ HINSTANCE hInstance, _In_ LPCWSTR lpIconName)
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO
_Must_inspect_result_ _In_ ULONG Flags