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.

41 lines
1.1 KiB

  1. /*
  2. * Microsoft Confidential
  3. * Copyright (C) Microsoft Corporation 1992,1993
  4. * All Rights Reserved.
  5. *
  6. *
  7. * PIFHOTP.H
  8. * Private PIFMGR include file
  9. *
  10. * History:
  11. * Created 22-Mar-1993 2:58pm by Jeff Parsons
  12. */
  13. #ifdef OLD_HOTKEY_GOOP
  14. #define CLASS_PIFHOTKEY TEXT("PIFHotKey")
  15. #define WM_SETPIFHOTKEY (WM_USER+0)
  16. #define WM_GETPIFHOTKEY (WM_USER+1)
  17. /* XLATOFF */
  18. #define ALT_LPARAM ((DWORD)((DWORD)(MapVirtualKey(VK_MENU,0)) << 16))
  19. #define CTRL_LPARAM ((DWORD)((DWORD)(MapVirtualKey(VK_CONTROL,0)) << 16))
  20. #define SHIFT_LPARAM ((DWORD)((DWORD)(MapVirtualKey(VK_SHIFT,0)) << 16))
  21. /* XLATON */
  22. /*
  23. * Internal function prototypes
  24. */
  25. BOOL LoadGlobalHotKeyEditData(void);
  26. void FreeGlobalHotKeyEditData(void);
  27. long HotKeyWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
  28. void SetHotKeyCaret(PHOTINFO phi);
  29. void ChangeHotKey(PHOTINFO phi);
  30. void SetHotKeyText(PHOTINFO phi, PHOTKEY phk);
  31. void SetHotKeyLen(PHOTINFO phi);
  32. void SetHotKeyState(PHOTINFO phi, WORD keyid, LONG lParam);
  33. #endif /* OLD_HOTKEY_GOOP */