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.

42 lines
1.3 KiB

  1. #ifndef __AtlExeModule_h__
  2. #define __AtlExeModule_h__
  3. //You may derive a class from CComModule and use it if you want to override
  4. //something, but do not change the name of _Module
  5. class CExeModule : public CComModule
  6. {
  7. public: // Data
  8. DWORD m_dwThreadID;
  9. HINSTANCE m_hResourceModule;
  10. BOOL m_bInitControl;
  11. BOOL m_bVisible;
  12. BOOL m_bDisableH323;
  13. BOOL m_bDisableInitialILSLogon;
  14. BOOL m_bCallerIsRTC;
  15. // Construction / destriction
  16. CExeModule();
  17. // Fns
  18. void SetUIVisible(BOOL bVisible) { m_bVisible = bVisible; }
  19. BOOL IsUIVisible() { return m_bVisible; }
  20. BOOL IsUIActive();
  21. BOOL InitControlMode() { return m_bInitControl; }
  22. void SetInitControlMode(BOOL bInitControl) { m_bInitControl = bInitControl; }
  23. void SetSDKDisableH323(BOOL bDisable) { m_bDisableH323 = bDisable; };
  24. BOOL DidSDKDisableH323() { return m_bDisableH323; }
  25. void SetSDKDisableInitialILSLogon(BOOL bDisable) { m_bDisableInitialILSLogon = bDisable; };
  26. BOOL DidSDKDisableInitialILSLogon() { return m_bDisableInitialILSLogon; }
  27. void SetSDKCallerIsRTC (BOOL bCallerIsRTC) { m_bCallerIsRTC = bCallerIsRTC; }
  28. BOOL IsSDKCallerRTC () { return m_bCallerIsRTC; }
  29. HINSTANCE GetResourceModule(void) const { return m_hResourceModule; }
  30. LONG Unlock();
  31. };
  32. extern CExeModule _Module;
  33. #endif // __AtlExeModule_h__