From: <ped...@us...> - 2007-08-06 22:14:08
|
Revision: 1045 http://cegcc.svn.sourceforge.net/cegcc/?rev=1045&view=rev Author: pedroalves Date: 2007-08-06 15:14:05 -0700 (Mon, 06 Aug 2007) Log Message: ----------- * include/sipapi.h: New file. * include/aygshell.h (SIPINFO): Moved to new sipapi.h. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/aygshell.h Added Paths: ----------- trunk/cegcc/src/w32api/include/sipapi.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2007-08-06 21:32:34 UTC (rev 1044) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2007-08-06 22:14:05 UTC (rev 1045) @@ -1,5 +1,10 @@ 2007-08-06 Pedro Alves <ped...@po...> + * include/sipapi.h: New file. + * include/aygshell.h (SIPINFO): Moved to new sipapi.h. + +2007-08-06 Pedro Alves <ped...@po...> + * include/winbase.h (GetCharABCWidths): Remove the W suffix on WinCE. Modified: trunk/cegcc/src/w32api/include/aygshell.h =================================================================== --- trunk/cegcc/src/w32api/include/aygshell.h 2007-08-06 21:32:34 UTC (rev 1044) +++ trunk/cegcc/src/w32api/include/aygshell.h 2007-08-06 22:14:05 UTC (rev 1045) @@ -62,18 +62,6 @@ extern BOOL SHHandleWMSettingChange(HWND, WPARAM, LPARAM, SHACTIVATEINFO *); extern BOOL SHHandleWMActivate(HWND, WPARAM, LPARAM, SHACTIVATEINFO *, DWORD); -/* - * Query the SIP state - */ -typedef struct SIPINFO { - DWORD cbSize; - DWORD fdwFlags; - RECT rcVisibleDesktop; - RECT rcSipRect; - DWORD dwImDataSize; - void *pvImData; -} SIPINFO, *PSIPINFO; - #define SPI_SETCOMPLETIONINFO 223 #define SPI_SETSIPINFO 224 #define SPI_GETSIPINFO 225 Added: trunk/cegcc/src/w32api/include/sipapi.h =================================================================== --- trunk/cegcc/src/w32api/include/sipapi.h (rev 0) +++ trunk/cegcc/src/w32api/include/sipapi.h 2007-08-06 22:14:05 UTC (rev 1045) @@ -0,0 +1,58 @@ +#ifndef _SIPAPI_H +#define _SIPAPI_H +#if __GNUC__ >= 3 +#pragma GCC system_header +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +#if _WIN32_WCE >= 0x0201 + +/* + * Query the SIP state + */ +typedef struct SIPINFO { + DWORD cbSize; + DWORD fdwFlags; + RECT rcVisibleDesktop; + RECT rcSipRect; + DWORD dwImDataSize; + VOID* pvImData; +} SIPINFO, *PSIPINFO; + +#define SPI_SETCOMPLETIONINFO 223 +#define SPI_SETSIPINFO 224 +#define SPI_GETSIPINFO 225 +#define SPI_SETCURRENTIM 226 +#define SPI_GETCURRENTIM 227 +#define SPI_APPBUTTONCHANGE 228 +#define SPI_RESERVED 229 +#define SPI_SYNCSETTINGSCHANGE 230 + +#define SIPF_OFF 0 +#define SIPF_ON 1 +#define SIPF_DOCKED 2 +#define SIPF_LOCKED 4 + +BOOL WINAPI SipGetInfo(SIPINFO*); +BOOL WINAPI SipSetInfo(SIPINFO*); + +typedef struct tagIMENUMINFO +{ + WCHAR szName[MAX_PATH]; + CLSID clsid; +} IMENUMINFO, *PIMENUMINFO; + +typedef int (*IMENUMPROC)(IMENUMINFO *); + +int WINAPI SipEnumIM(IMENUMPROC); + +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* _SIPAPI_H */ Property changes on: trunk/cegcc/src/w32api/include/sipapi.h ___________________________________________________________________ Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |