csrmsg.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
#ifndef _CSRMSG_H_
00012
#define _CSRMSG_H_
00013
00014
#include <ntcsrmsg.h>
00015
00016 typedef enum _USER_API_NUMBER {
00017
UserpExitWindowsEx = USERSRV_FIRST_API_NUMBER,
00018
UserpEndTask,
00019
UserpLogon,
00020
UserpRegisterServicesProcess,
00021
UserpActivateDebugger,
00022
UserpGetThreadConsoleDesktop,
00023
UserpDeviceEvent,
00024
UserpRegisterLogonProcess,
00025
UserpWin32HeapFail,
00026
UserpWin32HeapStat,
00027
UserpMaxApiNumber
00028 }
USER_API_NUMBER, *
PUSER_API_NUMBER;
00029
00030 typedef struct _EXITWINDOWSEXMSG {
00031 DWORD dwLastError;
00032 UINT uFlags;
00033 DWORD dwReserved;
00034 BOOL fSuccess;
00035 }
EXITWINDOWSEXMSG, *
PEXITWINDOWSEXMSG;
00036
00037 typedef struct _ENDTASKMSG {
00038 DWORD dwLastError;
00039 HWND
hwnd;
00040 BOOL fShutdown;
00041 BOOL fForce;
00042 BOOL fSuccess;
00043 }
ENDTASKMSG, *
PENDTASKMSG;
00044
00045 typedef struct _LOGONMSG {
00046 BOOL fLogon;
00047 }
LOGONMSG, *
PLOGONMSG;
00048
00049 typedef struct _ADDFONTMSG {
00050 PWCHAR
pwchName;
00051 DWORD dwFlags;
00052 }
ADDFONTMSG, *
PADDFONTMSG;
00053
00054 typedef struct _REGISTERSERVICESPROCESSMSG {
00055 DWORD dwLastError;
00056 DWORD dwProcessId;
00057 BOOL fSuccess;
00058 }
REGISTERSERVICESPROCESSMSG, *
PREGISTERSERVICESPROCESSMSG;
00059
00060 typedef struct _ACTIVATEDEBUGGERMSG {
00061 CLIENT_ID
ClientId;
00062 }
ACTIVATEDEBUGGERMSG, *
PACTIVATEDEBUGGERMSG;
00063
00064 typedef struct _GETTHREADCONSOLEDESKTOPMSG {
00065 DWORD dwThreadId;
00066 HDESK
hdeskConsole;
00067 }
GETTHREADCONSOLEDESKTOPMSG, *
PGETTHREADCONSOLEDESKTOPMSG;
00068
00069 typedef struct _WIN32HEAPFAILMSG {
00070 DWORD dwFlags;
00071 BOOL bFail;
00072 }
WIN32HEAPFAILMSG, *
PWIN32HEAPFAILMSG;
00073
00074 typedef struct _WIN32HEAPSTATMSG {
00075 PVOID
phs;
00076 DWORD dwLen;
00077 DWORD dwMaxTag;
00078 }
WIN32HEAPSTATMSG, *
PWIN32HEAPSTATMSG;
00079
00080 typedef struct _DEVICEEVENTMSG {
00081 HWND
hWnd;
00082 WPARAM
wParam;
00083 LPARAM
lParam;
00084 DWORD dwFlags;
00085 ULONG_PTR
dwResult;
00086 }
DEVICEEVENTMSG, *
PDEVICEEVENTMSG;
00087
00088 typedef struct _USER_API_MSG {
00089 PORT_MESSAGE
h;
00090 PCSR_CAPTURE_HEADER
CaptureBuffer;
00091 CSR_API_NUMBER
ApiNumber;
00092 ULONG
ReturnValue;
00093 ULONG
Reserved;
00094
union {
00095 EXITWINDOWSEXMSG ExitWindowsEx;
00096 ENDTASKMSG EndTask;
00097 LOGONMSG Logon;
00098 REGISTERSERVICESPROCESSMSG RegisterServicesProcess;
00099 ACTIVATEDEBUGGERMSG ActivateDebugger;
00100 GETTHREADCONSOLEDESKTOPMSG GetThreadConsoleDesktop;
00101 WIN32HEAPFAILMSG Win32HeapFail;
00102 WIN32HEAPSTATMSG Win32HeapStat;
00103 DEVICEEVENTMSG DeviceEvent;
00104 DWORD IdLogon;
00105 } u;
00106 }
USER_API_MSG, *
PUSER_API_MSG;
00107
00108
#endif // _CSRMSG_H_
Generated on Sat May 15 19:39:36 2004 for test by
1.3.7