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.

43 lines
1.1 KiB

  1. //
  2. // Microsoft Windows Media Technologies
  3. // Copyright (C) Microsoft Corporation, 1999 - 2001. All rights reserved.
  4. //
  5. //
  6. // This workspace contains two projects -
  7. // 1. ProgHelp which implements the Progress Interface
  8. // 2. The Sample application WmdmApp.
  9. //
  10. // ProgHelp.dll needs to be registered first for the SampleApp to run.
  11. #ifndef _WMDMAPP_H
  12. #define _WMDMAPP_H
  13. // User-defined windows messages
  14. //
  15. #define WM_DRM_UPDATEDEVICE ( WM_USER + 200 )
  16. #define WM_DRM_INIT ( WM_USER + 201 )
  17. #define WM_DRM_DELETEITEM ( WM_USER + 202 )
  18. #define WM_DRM_PROGRESS ( WM_USER + 300 )
  19. // Status Bar panes
  20. //
  21. #define SB_NUM_PANES 4
  22. #define SB_PANE_DEVICE 0
  23. #define SB_PANE_DEVFILES 1
  24. #define SB_PANE_DEVFILES_FREE 2
  25. #define SB_PANE_DEVFILES_USED 3
  26. // Global variables
  27. //
  28. extern HINSTANCE g_hInst;
  29. extern HWND g_hwndMain;
  30. extern CStatus g_cStatus;
  31. extern CDevices g_cDevices;
  32. extern CDevFiles g_cDevFiles;
  33. extern CWMDM g_cWmdm;
  34. extern BOOL g_bUseOperationInterface;
  35. #endif // _WMDMAPP_H