Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
2.1 KiB

  1. /*****************************************************************************\
  2. * *
  3. * skbapi.h - Screen Keyboard Public Header File
  4. * *
  5. *
  6. * *
  7. * Copyright (c) 1992-1993, Microsoft Corp. All rights reserved. *
  8. * *
  9. \*****************************************************************************/
  10. #ifndef _INC_WINDOWS
  11. #include <windows.h> /* windows.h must be preincluded */
  12. #endif /* _INC_WINDOWS */
  13. #ifndef _INC_SKBAPI /* prevent multiple includes */
  14. #define _INC_SKBAPI
  15. /****** Screen Keyboard *****************************************************/
  16. #ifndef WM_SKB /* also defined in penwin.h */
  17. #define WM_SKB (WM_PENWINFIRST+4)
  18. #endif
  19. /* wCommand values */
  20. #define SKB_QUERY 0x0000
  21. #define SKB_SHOW 0x0001
  22. #define SKB_HIDE 0x0002
  23. #define SKB_CENTER 0x0010
  24. #define SKB_MOVE 0x0020
  25. #define SKB_MINIMIZE 0x0040
  26. /* wPad values */
  27. #define SKB_FULL 0x0100
  28. #define SKB_BASIC 0x0200
  29. #define SKB_NUMPAD 0x0400
  30. #define SKB_ATMPAD 0x0800
  31. #define SKB_DEFAULT SKB_FULL
  32. #define SKB_CURRENT 0x0000
  33. /* return values */
  34. #define SKB_OK 0x0000
  35. #define SKB_ERR 0xFFFF
  36. /* notification values */
  37. #define SKN_CHANGED 1
  38. #define SKN_POSCHANGED 1
  39. #define SKN_PADCHANGED 2
  40. #define SKN_MINCHANGED 4
  41. #define SKN_VISCHANGED 8
  42. #define SKN_TERMINATED 0xffff
  43. typedef struct tagSKBINFO
  44. {
  45. HWND hwnd;
  46. UINT nPad;
  47. BOOL fVisible;
  48. BOOL fMinimized;
  49. RECT rect;
  50. DWORD dwReserved;
  51. }
  52. SKBINFO, FAR *LPSKBINFO;
  53. UINT WINAPI ScreenKeyboard(HWND, UINT, UINT, LPPOINT, LPSKBINFO); /* skb.dll */
  54. #endif /* _INC_SKBAPI */