fixed declarations for W32kSetProp & W32kGetProp to eliminate build errors.

svn path=/trunk/; revision=5393
This commit is contained in:
Royce Mitchell III 2003-08-03 15:08:14 +00:00
parent 94880f6c27
commit c5edad3a6b
2 changed files with 45 additions and 18 deletions

View file

@ -1,11 +1,6 @@
#ifndef _WIN32K_PROP_H #ifndef _WIN32K_PROP_H
#define _WIN32K_PROP_H #define _WIN32K_PROP_H
BOOL FASTCALL
W32kSetProp(struct _WINDOW_OBJECT* Wnd, ATOM Atom, HANDLE Data);
struct _PROPERTY* FASTCALL
W32kGetProp(struct _WINDOW_OBJECT* WindowObject, ATOM Atom);
#endif /* _WIN32K_PROP_H */ #endif /* _WIN32K_PROP_H */

View file

@ -98,27 +98,59 @@ typedef struct _WINDOW_OBJECT
#define WINDOWOBJECT_NEED_INTERNALPAINT (0x00000010) #define WINDOWOBJECT_NEED_INTERNALPAINT (0x00000010)
#define WINDOWOBJECT_RESTOREMAX (0x00000020) #define WINDOWOBJECT_RESTOREMAX (0x00000020)
NTSTATUS FASTCALL InitWindowImpl (VOID); NTSTATUS FASTCALL
NTSTATUS FASTCALL CleanupWindowImpl (VOID); InitWindowImpl (VOID);
VOID FASTCALL W32kGetClientRect (PWINDOW_OBJECT WindowObject, PRECT Rect);
PWINDOW_OBJECT FASTCALL W32kGetWindowObject (HWND hWnd); NTSTATUS FASTCALL
VOID FASTCALL W32kReleaseWindowObject (PWINDOW_OBJECT Window); CleanupWindowImpl (VOID);
HWND STDCALL W32kCreateDesktopWindow (PWINSTATION_OBJECT WindowStation,
VOID FASTCALL
W32kGetClientRect (PWINDOW_OBJECT WindowObject, PRECT Rect);
PWINDOW_OBJECT FASTCALL
W32kGetWindowObject (HWND hWnd);
VOID FASTCALL
W32kReleaseWindowObject (PWINDOW_OBJECT Window);
HWND STDCALL
W32kCreateDesktopWindow (PWINSTATION_OBJECT WindowStation,
PWNDCLASS_OBJECT DesktopClass, PWNDCLASS_OBJECT DesktopClass,
ULONG Width, ULONG Height); ULONG Width, ULONG Height);
BOOL FASTCALL W32kIsDesktopWindow (PWINDOW_OBJECT Window);
HWND FASTCALL W32kGetActiveWindow (VOID); BOOL FASTCALL
BOOL FASTCALL W32kIsWindowVisible (HWND Wnd); W32kIsDesktopWindow (PWINDOW_OBJECT Window);
BOOL FASTCALL W32kIsChildWindow (HWND Parent, HWND Child);
HWND FASTCALL W32kGetDesktopWindow (VOID); HWND FASTCALL
HWND FASTCALL W32kGetFocusWindow (VOID); W32kGetActiveWindow (VOID);
HWND FASTCALL W32kSetFocusWindow (HWND hWnd);
BOOL FASTCALL
W32kIsWindowVisible (HWND Wnd);
BOOL FASTCALL
W32kIsChildWindow (HWND Parent, HWND Child);
HWND FASTCALL
W32kGetDesktopWindow (VOID);
HWND FASTCALL
W32kGetFocusWindow (VOID);
HWND FASTCALL
W32kSetFocusWindow (HWND hWnd);
BOOL FASTCALL
W32kSetProp(PWINDOW_OBJECT Wnd, ATOM Atom, HANDLE Data);
PPROPERTY FASTCALL
W32kGetProp(PWINDOW_OBJECT WindowObject, ATOM Atom);
DWORD FASTCALL DWORD FASTCALL
W32kGetWindowThreadProcessId(PWINDOW_OBJECT Wnd, PDWORD pid); W32kGetWindowThreadProcessId(PWINDOW_OBJECT Wnd, PDWORD pid);
ULONG ULONG
UserHasDlgFrameStyle(ULONG Style, ULONG ExStyle); UserHasDlgFrameStyle(ULONG Style, ULONG ExStyle);
ULONG ULONG
UserHasThickFrameStyle(ULONG Style, ULONG ExStyle); UserHasThickFrameStyle(ULONG Style, ULONG ExStyle);