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.

92 lines
2.6 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1999
  6. //
  7. // File: dinput1obj.h
  8. //
  9. //--------------------------------------------------------------------------
  10. // ddPaletteObj.h : Declaration of the C_dxj_DirectDrawColorControlObject
  11. #include "resource.h" // main symbols
  12. #define typedef__dxj_DirectInput8 LPDIRECTINPUT8W
  13. /////////////////////////////////////////////////////////////////////////////
  14. // Direct
  15. class C_dxj_DirectInput8Object :
  16. public I_dxj_DirectInput8,
  17. public CComObjectRoot
  18. {
  19. public:
  20. C_dxj_DirectInput8Object() ;
  21. virtual ~C_dxj_DirectInput8Object();
  22. BEGIN_COM_MAP(C_dxj_DirectInput8Object)
  23. COM_INTERFACE_ENTRY(I_dxj_DirectInput8)
  24. END_COM_MAP()
  25. DECLARE_AGGREGATABLE(C_dxj_DirectInput8Object)
  26. public:
  27. /* [hidden] */ HRESULT STDMETHODCALLTYPE InternalSetObject(
  28. /* [in] */ IUnknown __RPC_FAR *lpdd);
  29. /* [hidden] */ HRESULT STDMETHODCALLTYPE InternalGetObject(
  30. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *lpdd);
  31. HRESULT STDMETHODCALLTYPE createDevice(
  32. /* [in] */ BSTR guid,
  33. /* [retval][out] */ I_dxj_DirectInputDevice8 __RPC_FAR *__RPC_FAR *dev);
  34. HRESULT STDMETHODCALLTYPE getDIDevices(
  35. /* [in] */ long deviceType,
  36. /* [in] */ long flags,
  37. /* [retval][out] */ I_dxj_DIEnumDevices8 __RPC_FAR *__RPC_FAR *retVal);
  38. HRESULT STDMETHODCALLTYPE GetDeviceStatus(
  39. /* [in] */ BSTR guid,
  40. /* [retval][out] */ VARIANT_BOOL *status);
  41. #ifdef _WIN64
  42. HRESULT STDMETHODCALLTYPE RunControlPanel(
  43. /* [in] */ HWND hwndOwner
  44. ///* [in] */ long flags
  45. );
  46. #else
  47. HRESULT STDMETHODCALLTYPE RunControlPanel(
  48. /* [in] */ LONG hwndOwner
  49. ///* [in] */ long flags
  50. );
  51. #endif
  52. HRESULT STDMETHODCALLTYPE getDevicesBySemantics(
  53. /* [in] */ BSTR str1,
  54. /* [in] */ DIACTIONFORMAT_CDESC __RPC_FAR *format,
  55. /* [in] */ long flags,
  56. /* [retval][out] */ I_dxj_DIEnumDevices8 __RPC_FAR *__RPC_FAR *ret);
  57. HRESULT STDMETHODCALLTYPE ConfigureDevices (
  58. #ifdef _WIN64
  59. HANDLE hEvent,
  60. #else
  61. long hEvent,
  62. #endif
  63. DICONFIGUREDEVICESPARAMS_CDESC *CDParams,
  64. long flags);
  65. private:
  66. DECL_VARIABLE(_dxj_DirectInput8);
  67. public:
  68. DX3J_GLOBAL_LINKS(_dxj_DirectInput8)
  69. };