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.

40 lines
1.0 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1998
  6. //
  7. // File: dpsessiondescobj.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #include "resource.h"
  11. class C_dxj_DPSessionDescObject :
  12. public I_dxj_DPSessionDesc,
  13. public CComCoClass<C_dxj_DPSessionDescObject, &CLSID__dxj_DPSessionDesc>,
  14. public CComObjectRoot
  15. {
  16. public:
  17. C_dxj_DPSessionDescObject() ;
  18. virtual ~C_dxj_DPSessionDescObject() ;
  19. BEGIN_COM_MAP(C_dxj_DPSessionDescObject)
  20. COM_INTERFACE_ENTRY( I_dxj_DPSessionDesc)
  21. END_COM_MAP()
  22. DECLARE_AGGREGATABLE(C_dxj_DPSessionDescObject)
  23. DECLARE_REGISTRY(CLSID__dxj_D3dDeviceDesc, "DIRECT.DPSessionDesc.5", "DIRECT.DPSessionDesc.5", IDS_GENERIC_DESC, THREADFLAGS_BOTH)
  24. public:
  25. HRESULT STDMETHODCALLTYPE getDescription( DPSessionDesc *desc);
  26. HRESULT STDMETHODCALLTYPE setDescription( DPSessionDesc *desc);
  27. private:
  28. DPSessionDesc m_desc;
  29. };