From: <ped...@us...> - 2007-06-10 17:41:06
|
Revision: 936 http://svn.sourceforge.net/cegcc/?rev=936&view=rev Author: pedroalves Date: 2007-06-10 10:41:04 -0700 (Sun, 10 Jun 2007) Log Message: ----------- * include/winbase.h (ActivateDevice, ActivateDeviceEx, DeactivateDevice): Declare. * include/devload.h: New file. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/winbase.h Added Paths: ----------- trunk/cegcc/src/w32api/include/devload.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2007-06-10 17:33:42 UTC (rev 935) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2007-06-10 17:41:04 UTC (rev 936) @@ -1,3 +1,7 @@ +2007-06-10 Pedro Alves <ped...@po...> + + * include/devload.h: New file. + 2007-05-31 Carsten S\xF8rensen <sur...@ri...> * include/winuser.h (SYSTEM_COLOR_BASE_OFFSET): Define. Added: trunk/cegcc/src/w32api/include/devload.h =================================================================== --- trunk/cegcc/src/w32api/include/devload.h (rev 0) +++ trunk/cegcc/src/w32api/include/devload.h 2007-06-10 17:41:04 UTC (rev 936) @@ -0,0 +1,25 @@ +#ifndef _DEVLOAD_H +#define _DEVLOAD_H +#if __GNUC__ >= 3 +#pragma GCC system_header +#endif + +/* NOTE: This strictly does not belong in the Win32 API. */ + +#include <windows.h> + +#define DEVFLAGS_NONE 0x00000000 +#define DEVFLAGS_UNLOAD 0x00000001 +#define DEVFLAGS_LOADLIBRARY 0x00000002 +#define DEVFLAGS_NOLOAD 0x00000004 +#define DEVFLAGS_NAKEDENTRIES 0x00000008 +#define DEVFLAGS_BOOTPHASE_1 0x00001000 +#define DEVFLAGS_IRQ_EXCLUSIVE 0x00000100 +#define DEVFLAGS_TRUSTEDCALLERONLY 0x00010000 + +#define DEVLOAD_CLIENTINFO_VALNAME L"ClientInfo" +#define DEVLOAD_HANDLE_VALNAME L"Hnd" +#define DEVLOAD_DEVNAME_VALNAME L"Name" +#define DEVLOAD_DEVKEY_VALNAME L"Key" + +#endif Property changes on: trunk/cegcc/src/w32api/include/devload.h ___________________________________________________________________ Name: svn:eol-style + native Modified: trunk/cegcc/src/w32api/include/winbase.h =================================================================== --- trunk/cegcc/src/w32api/include/winbase.h 2007-06-10 17:33:42 UTC (rev 935) +++ trunk/cegcc/src/w32api/include/winbase.h 2007-06-10 17:41:04 UTC (rev 936) @@ -2517,11 +2517,14 @@ #ifdef _WIN32_WCE #include <kfuncs.h> -#define lstrcpyW wcscpy -#define lstrcatW wcscat -#define lstrlenW wcslen +#define lstrcpyW wcscpy +#define lstrcatW wcscat +#define lstrlenW wcslen -#endif +WINBASEAPI HANDLE WINAPI ActivateDevice(LPCWSTR, DWORD); +WINBASEAPI HANDLE WINAPI ActivateDeviceEx(LPCWSTR, LPCVOID, DWORD, LPVOID); +WINBASEAPI BOOL WINAPI DeactivateDevice(HANDLE); +#endif /* _WIN32_WCE */ #ifdef __cplusplus } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |