windows-nt/Source/XPSP1/NT/multimedia/directx/dxvb/dx8vb/directinput.cpp

34 lines
802 B
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
//+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 1998 - 1998
//
// File: directinput.cpp
//
//--------------------------------------------------------------------------
// dInputDevice.cpp : Implementation of dInputDevice and DLL registration.
#include "stdafx.h"
#include "Direct.h"
#include "dms.h"
#include "DirectInput.h"
CONSTRUCTOR(dInputDevice, {});
DESTRUCTOR(dInputDevice, {});
GETSET_OBJECT(dInputDevice);
/////////////////////////////////////////////////////////////////////////////
// Direct Input Device Object
//
#ifdef USING_IDISPATCH
STDMETHODIMP dInputDevice::InterfaceSupportsErrorInfo(REFIID riid)
{
if (riid == IID_IdInputDevice)
return S_OK;
return S_FALSE;
}
#endif