mirror of https://github.com/tongzx/nt5src
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
33 lines
802 B
//+-------------------------------------------------------------------------
|
|
//
|
|
// 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
|