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.

33 lines
802 B

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1998
  6. //
  7. // File: directinput.cpp
  8. //
  9. //--------------------------------------------------------------------------
  10. // dInputDevice.cpp : Implementation of dInputDevice and DLL registration.
  11. #include "stdafx.h"
  12. #include "Direct.h"
  13. #include "dms.h"
  14. #include "DirectInput.h"
  15. CONSTRUCTOR(dInputDevice, {});
  16. DESTRUCTOR(dInputDevice, {});
  17. GETSET_OBJECT(dInputDevice);
  18. /////////////////////////////////////////////////////////////////////////////
  19. // Direct Input Device Object
  20. //
  21. #ifdef USING_IDISPATCH
  22. STDMETHODIMP dInputDevice::InterfaceSupportsErrorInfo(REFIID riid)
  23. {
  24. if (riid == IID_IdInputDevice)
  25. return S_OK;
  26. return S_FALSE;
  27. }
  28. #endif