mirror of
https://github.com/reactos/reactos.git
synced 2025-08-01 23:42:56 +00:00
[User32] Implement Device Event Message handler
Need a way to send WM_DEVICECHANGE from the Service manager application. Next step is to process it in the Client/Server Run-time Subsystem. See CORE-16492.
This commit is contained in:
parent
152265729b
commit
1e0bb66452
3 changed files with 59 additions and 4 deletions
|
@ -87,6 +87,14 @@ typedef struct _USER_CREATE_SYSTEM_THREAD
|
|||
BOOL bRemote;
|
||||
} USER_CREATE_SYSTEM_THREAD, *PUSER_CREATE_SYSTEM_THREAD;
|
||||
|
||||
typedef struct _USER_DEVICE_EVENT_MSG {
|
||||
HWND hwnd;
|
||||
WPARAM wParam;
|
||||
LPARAM lParam;
|
||||
DWORD Data;
|
||||
ULONG_PTR Result;
|
||||
} USER_DEVICE_EVENT_MSG, *PUSER_DEVICE_EVENT_MSG;
|
||||
|
||||
typedef struct _USER_API_MESSAGE
|
||||
{
|
||||
PORT_MESSAGE Header;
|
||||
|
@ -104,6 +112,7 @@ typedef struct _USER_API_MESSAGE
|
|||
USER_REGISTER_SERVICES_PROCESS RegisterServicesProcessRequest;
|
||||
USER_REGISTER_LOGON_PROCESS RegisterLogonProcessRequest;
|
||||
USER_CREATE_SYSTEM_THREAD CreateSystemThreadRequest;
|
||||
USER_DEVICE_EVENT_MSG DeviceEventMsg;
|
||||
} Data;
|
||||
} USER_API_MESSAGE, *PUSER_API_MESSAGE;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue