home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / AutoPC / apcsdk10.exe / data1.cab / Emulation_Include_Files / apcshell.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-05-13  |  1.9 KB  |  54 lines

  1. //+----------------------------------------------------------------------------
  2. // 
  3. // File:        apcshell.h
  4. //
  5. // Copyight:    (c) 1997, Microsoft Corporation
  6. //                 All Rights Reserved
  7. //                Infomation Contained Herein Is Propprietary and Confidential
  8. //
  9. // Contents:     APC Shell functions
  10. //
  11. //-----------------------------------------------------------------------------
  12.  
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16.  
  17. BOOL WINAPI SHCloseApps( DWORD dwMemSought);
  18. int WINAPI  SHAppAlertState( BOOL fSet, BOOL fCurrentUser, const WCHAR * wcsAppName, 
  19.                                const WCHAR * wcsAlertName, LONG * pAlertInfo, LONG * pAlertVal);
  20. LRESULT WINAPI SH_keybd_event(BYTE Vk, BYTE Scan, DWORD dwFlags, DWORD dwExtraInfo );
  21. LRESULT WINAPI SH_HID_Register(LPWSTR szDevice, BOOL fArrive);
  22.  
  23.  
  24. // Defines for SHAppAlertState *pAlertInfo
  25. //
  26. // With fSet TRUE pAlertInfo is passed in as the SH_ALERTACTION_XXX Action to take
  27. // When fSet is FALSE, *pAlertInfo is returned as the TRUE/FALSE value of the alert
  28.  
  29. #define SH_ALERTACTION_CLEAR            0
  30. #define SH_ALERTACTION_RAISE_VALUE      1
  31. #define SH_ALERTACTION_CLEAR_MASK       2
  32. #define SH_ALERTACTION_RAISE_MASK       3
  33.  
  34.  
  35. typedef struct tagGLOBALGRAMMARINFO
  36. {
  37.     LONG        gi_lStat;            // 0 for InActive, 1 for Active, -1 for Always active
  38.     WCHAR *        gi_wcsPhrase;        // These pointers returned within the allocated buffer
  39. } GLOBALGRAMMARINFO, * PGLOBALGRAMMARINFO;
  40.  
  41. LRESULT WINAPI SHGetGlobalGrammar(  LONG * plCurrentEntries,
  42.                                     LONG * plMaxEntries,
  43.                                     LONG * plActiveEntries,
  44.                                     PGLOBALGRAMMARINFO * ppGGrammarInfo);
  45.  
  46. LRESULT WINAPI SHGlobalGrammarSetItemState( const WCHAR *   sPhrase, 
  47.                                             BOOL            fActive,
  48.                                             BOOL            fDeferRefresh);
  49.  
  50. #ifdef __cplusplus
  51. }
  52. #endif
  53.  
  54.