2004-03-27 Hosaka Yuji <hos@tamanegi.org>

* include/dbt.h (DBT_DEVTYP_DEVICEINTERFACE, DBT_DEVTYP_HANDLE):
	Add define.
	(DEV_BROADCAST_DEVICEINTERFACE, DEV_BROADCAST_HANDLE): Add struct.
	* include/winuser.h (UnregisterDeviceNotification): Add prototype.
	* lib/user32.def (UnregisterDeviceNotification): Add export stub.
This commit is contained in:
Luke Dunstan 2004-03-28 11:22:10 +00:00
parent f19da5f77d
commit f241377ee1
4 changed files with 52 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2004-03-27 Hosaka Yuji <hos@tamanegi.org>
* include/dbt.h (DBT_DEVTYP_DEVICEINTERFACE, DBT_DEVTYP_HANDLE):
Add define.
(DEV_BROADCAST_DEVICEINTERFACE, DEV_BROADCAST_HANDLE): Add struct.
* include/winuser.h (UnregisterDeviceNotification): Add prototype.
* lib/user32.def (UnregisterDeviceNotification): Add export stub.
2004-03-27 Filip Navara <xnavara@volny.cz> 2004-03-27 Filip Navara <xnavara@volny.cz>
* include/directx: New subdir. * include/directx: New subdir.

View File

@ -20,6 +20,10 @@ extern "C" {
#define DBT_DEVTYP_VOLUME 2 #define DBT_DEVTYP_VOLUME 2
#define DBT_DEVTYP_PORT 3 #define DBT_DEVTYP_PORT 3
#define DBT_DEVTYP_NET 4 #define DBT_DEVTYP_NET 4
#if (_WIN32_WINDOWS >= 0x0410 || _WIN32_WINNT >= 0x0500)
#define DBT_DEVTYP_DEVICEINTERFACE 5
#define DBT_DEVTYP_HANDLE 6
#endif /* (_WIN32_WINDOWS >= 0x0410 || _WIN32_WINNT >= 0x0500) */
#define DBT_APPYBEGIN 0 #define DBT_APPYBEGIN 0
#define DBT_APPYEND 1 #define DBT_APPYEND 1
#define DBT_DEVNODES_CHANGED 7 #define DBT_DEVNODES_CHANGED 7
@ -108,6 +112,42 @@ typedef DEV_BROADCAST_PORT_W DEV_BROADCAST_PORT, *PDEV_BROADCAST_PORT;
typedef DEV_BROADCAST_PORT_A DEV_BROADCAST_PORT, *PDEV_BROADCAST_PORT; typedef DEV_BROADCAST_PORT_A DEV_BROADCAST_PORT, *PDEV_BROADCAST_PORT;
#endif #endif
#if (_WIN32_WINDOWS >= 0x0410 || _WIN32_WINNT >= 0x0500)
typedef struct _DEV_BROADCAST_DEVICEINTERFACE_A {
DWORD dbcc_size;
DWORD dbcc_devicetype;
DWORD dbcc_reserved;
GUID dbcc_classguid;
char dbcc_name[1];
} DEV_BROADCAST_DEVICEINTERFACE_A, *PDEV_BROADCAST_DEVICEINTERFACE_A;
typedef struct _DEV_BROADCAST_DEVICEINTERFACE_W {
DWORD dbcc_size;
DWORD dbcc_devicetype;
DWORD dbcc_reserved;
GUID dbcc_classguid;
wchar_t dbcc_name[1];
} DEV_BROADCAST_DEVICEINTERFACE_W, *PDEV_BROADCAST_DEVICEINTERFACE_W;
#ifdef UNICODE
typedef DEV_BROADCAST_DEVICEINTERFACE_W DEV_BROADCAST_DEVICEINTERFACE;
typedef PDEV_BROADCAST_DEVICEINTERFACE_W PDEV_BROADCAST_DEVICEINTERFACE;
#else
typedef DEV_BROADCAST_DEVICEINTERFACE_A DEV_BROADCAST_DEVICEINTERFACE;
typedef PDEV_BROADCAST_DEVICEINTERFACE_A PDEV_BROADCAST_DEVICEINTERFACE;
#endif
typedef struct _DEV_BROADCAST_HANDLE {
DWORD dbch_size;
DWORD dbch_devicetype;
DWORD dbch_reserved;
HANDLE dbch_handle;
DWORD dbch_hdevnotify;
GUID dbch_eventguid;
LONG dbch_nameoffset;
BYTE dbch_data[1];
} DEV_BROADCAST_HANDLE, *PDEV_BROADCAST_HANDLE;
#endif /* (_WIN32_WINDOWS >= 0x0410 || _WIN32_WINNT >= 0x0500) */
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif

View File

@ -3754,6 +3754,9 @@ BOOL WINAPI UnionRect(LPRECT,LPCRECT,LPCRECT);
BOOL WINAPI UnloadKeyboardLayout(HKL); BOOL WINAPI UnloadKeyboardLayout(HKL);
BOOL WINAPI UnregisterClassA(LPCSTR,HINSTANCE); BOOL WINAPI UnregisterClassA(LPCSTR,HINSTANCE);
BOOL WINAPI UnregisterClassW(LPCWSTR,HINSTANCE); BOOL WINAPI UnregisterClassW(LPCWSTR,HINSTANCE);
#if (_WIN32_WINDOWS >= 0x0410 || _WIN32_WINNT >= 0x0500)
BOOL WINAPI UnregisterDeviceNotification(HANDLE);
#endif
BOOL WINAPI UnregisterHotKey(HWND,int); BOOL WINAPI UnregisterHotKey(HWND,int);
BOOL WINAPI UpdateWindow(HWND); BOOL WINAPI UpdateWindow(HWND);
#if (_WIN32_WINNT >= 0x0500) #if (_WIN32_WINNT >= 0x0500)

View File

@ -609,6 +609,7 @@ UnloadKeyboardLayout@4
UnpackDDElParam@16 UnpackDDElParam@16
UnregisterClassA@8 UnregisterClassA@8
UnregisterClassW@8 UnregisterClassW@8
UnregisterDeviceNotification@4
UnregisterHotKey@8 UnregisterHotKey@8
UpdateLayeredWindow@36 UpdateLayeredWindow@36
UpdateWindow@4 UpdateWindow@4