Source code of Windows XP (NT5)
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.

35 lines
898 B

  1. ////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // File: Cmdhand.h
  4. //
  5. // Created: Jan 1996
  6. // By Ryan D. Marshall (ryanm)
  7. // Martin Holladay (a-martih)
  8. //
  9. // Project: Resource Kit Desktop Switcher
  10. //
  11. //
  12. ////////////////////////////////////////////////////////////////////////////////
  13. #ifndef __MULTIDESK_CMDHAND_H__
  14. #define __MULTIDESK_CMDHAND_H__
  15. //
  16. // Command Handlers
  17. //
  18. LRESULT CALLBACK TransparentMessageProc(HWND hWnd, UINT uMessage, WPARAM wParam, LPARAM lParam);
  19. LRESULT CALLBACK MainMessageProc(HWND hWnd, UINT uMessage, WPARAM wParam, LPARAM lParam);
  20. LRESULT CALLBACK RenameDialogProc(HWND hWnd, UINT uMesssage, WPARAM wParam, LPARAM lParam);
  21. //
  22. // Local Function Prototypes
  23. //
  24. void CreateNewDesktop(HWND hWnd);
  25. BOOL DeleteCurrentDesktop(HWND hWnd);
  26. BOOL DeleteDesktop(HWND hWnd, UINT nDesktop);
  27. void SwitchToDesktop(UINT nDesktop);
  28. #endif