4 (((ULONG_PTR)(x) > 0x0) && ((ULONG_PTR)(x) < 0x10000))
16 return ((
ULONG_PTR)lpWndProc & 0xFFFF0000) == 0xFFFF0000;
52IntGetAtomFromStringOrAtom(
INT UserGetClassName(IN PCLS Class, IN OUT PUNICODE_STRING ClassName, IN RTL_ATOM Atom, IN BOOL Ansi)
static __inline BOOL IsCallProcHandle(IN WNDPROC lpWndProc)
struct _WNDPROC_INFO * PWNDPROC_INFO
VOID UserAddCallProcToClass(IN OUT PCLS Class, IN PCALLPROCDATA CallProc)
PCALLPROCDATA CreateCallProc(IN PDESKTOP Desktop, IN WNDPROC WndProc, IN BOOL Unicode, IN PPROCESSINFO pi)
BOOL IntCheckProcessDesktopClasses(IN PDESKTOP Desktop, IN BOOL FreeOnFailure)
ULONG_PTR FASTCALL UserGetCPD(PVOID, GETCPD, ULONG_PTR)
void FASTCALL DestroyProcessClasses(PPROCESSINFO Process)
VOID IntDereferenceClass(IN OUT PCLS Class, IN PDESKTOPINFO Desktop, IN PPROCESSINFO pi)
struct _WNDPROC_INFO WNDPROC_INFO
BOOL UserGetCallProcInfo(IN HANDLE hCallProc, OUT PWNDPROC_INFO wpInfo)
_Must_inspect_result_ NTSTATUS NTAPI ProbeAndCaptureUnicodeStringOrAtom(_Out_ _When_(return >=0, _At_(pustrOut->Buffer, _Post_ _Notnull_)) PUNICODE_STRING pustrOut, __in_data_source(USER_MODE) _In_ PUNICODE_STRING pustrUnsafe)
PCLS IntGetAndReferenceClass(PUNICODE_STRING ClassName, HINSTANCE hInstance, BOOL bDesktopThread)
BOOL FASTCALL UserRegisterSystemClasses(VOID)
BOOLEAN DestroyCallProc(_Inout_ PVOID Object)
BOOL FASTCALL LookupFnIdToiCls(int FnId, int *iCls)
_Must_inspect_result_ _In_ PLARGE_INTEGER _In_ PLARGE_INTEGER _In_ ULONG _In_ PFILE_OBJECT _In_ PVOID Process
#define _Must_inspect_result_
LRESULT CALLBACK WndProc(HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam)
#define __in_data_source(src_sym)
_Must_inspect_result_ _In_ WDFCOLLECTION _In_ WDFOBJECT Object
LRESULT(CALLBACK * WNDPROC)(HWND, UINT, WPARAM, LPARAM)