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.

73 lines
1.8 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1999 - 1999
  6. //
  7. // File: ddidentifierobj.h
  8. //
  9. //--------------------------------------------------------------------------
  10. class C_dxj_DirectDrawIdentifierObject :
  11. public I_dxj_DirectDrawIdentifier,
  12. public CComObjectRoot
  13. {
  14. public:
  15. C_dxj_DirectDrawIdentifierObject(){};
  16. ~C_dxj_DirectDrawIdentifierObject(){};
  17. BEGIN_COM_MAP(C_dxj_DirectDrawIdentifierObject)
  18. COM_INTERFACE_ENTRY(I_dxj_DirectDrawIdentifier)
  19. END_COM_MAP()
  20. DECLARE_AGGREGATABLE(C_dxj_DirectDrawIdentifierObject)
  21. public:
  22. HRESULT STDMETHODCALLTYPE getDriver(
  23. /* [retval][out] */ BSTR __RPC_FAR *ret);
  24. HRESULT STDMETHODCALLTYPE getDescription(
  25. /* [retval][out] */ BSTR __RPC_FAR *ret);
  26. HRESULT STDMETHODCALLTYPE getDriverVersion(
  27. /* [retval][out] */ long __RPC_FAR *ret);
  28. HRESULT STDMETHODCALLTYPE getDriverSubVersion(
  29. /* [retval][out] */ long __RPC_FAR *ret);
  30. HRESULT STDMETHODCALLTYPE getVendorId(
  31. /* [retval][out] */ long __RPC_FAR *ret);
  32. HRESULT STDMETHODCALLTYPE getDeviceId(
  33. /* [retval][out] */ long __RPC_FAR *ret);
  34. HRESULT STDMETHODCALLTYPE getSubSysId(
  35. /* [retval][out] */ long __RPC_FAR *ret);
  36. HRESULT STDMETHODCALLTYPE getRevision(
  37. /* [retval][out] */ long __RPC_FAR *ret);
  38. HRESULT STDMETHODCALLTYPE getDeviceIndentifier(
  39. /* [retval][out] */ BSTR __RPC_FAR *ret);
  40. HRESULT STDMETHODCALLTYPE getWHQLLevel(
  41. /* [retval][out] */ long __RPC_FAR *ret);
  42. static HRESULT C_dxj_DirectDrawIdentifierObject::Create(LPDIRECTDRAW7 lpdddi, DWORD dwFlags, I_dxj_DirectDrawIdentifier **ppret);
  43. DDDEVICEIDENTIFIER2 m_id;
  44. private:
  45. };