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
2.2 KiB
73 lines
2.2 KiB
//+-------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
//
|
|
// Copyright (C) Microsoft Corporation, 1998 - 1999
|
|
//
|
|
// File: didevobjinstobj.h
|
|
//
|
|
//--------------------------------------------------------------------------
|
|
|
|
|
|
#include "resource.h"
|
|
|
|
class C_dxj_DIDeviceObjectInstanceObject :
|
|
public I_dxj_DirectInputDeviceObjectInstance,
|
|
public CComObjectRoot
|
|
{
|
|
public:
|
|
|
|
BEGIN_COM_MAP(C_dxj_DIDeviceObjectInstanceObject)
|
|
COM_INTERFACE_ENTRY(I_dxj_DirectInputDeviceObjectInstance)
|
|
END_COM_MAP()
|
|
|
|
// DECLARE_REGISTRY(CLSID_DPLConnection, "DIRECT.DPLConnection.5", "DIRECT.DPLConnection.5", IDS_DPLAY2_DESC, THREADFLAGS_BOTH)
|
|
DECLARE_AGGREGATABLE(C_dxj_DIDeviceObjectInstanceObject)
|
|
|
|
public:
|
|
C_dxj_DIDeviceObjectInstanceObject();
|
|
|
|
|
|
/* [propget] */ HRESULT STDMETHODCALLTYPE getGuidType(
|
|
/* [retval][out] */ BSTR __RPC_FAR *ret);
|
|
|
|
/* [propget] */ HRESULT STDMETHODCALLTYPE getOfs(
|
|
/* [retval][out] */ long __RPC_FAR *ret);
|
|
|
|
/* [propget] */ HRESULT STDMETHODCALLTYPE getType(
|
|
/* [retval][out] */ long __RPC_FAR *ret);
|
|
|
|
/* [propget] */ HRESULT STDMETHODCALLTYPE getFlags(
|
|
/* [retval][out] */ long __RPC_FAR *ret);
|
|
|
|
/* [propget] */ HRESULT STDMETHODCALLTYPE getName(
|
|
/* [retval][out] */ BSTR __RPC_FAR *ret);
|
|
|
|
/* [propget] */ HRESULT STDMETHODCALLTYPE getCollectionNumber(
|
|
/* [retval][out] */ short __RPC_FAR *ret);
|
|
|
|
/* [propget] */ HRESULT STDMETHODCALLTYPE getDesignatorIndex(
|
|
/* [retval][out] */ short __RPC_FAR *ret);
|
|
|
|
/* [propget] */ HRESULT STDMETHODCALLTYPE getUsagePage(
|
|
/* [retval][out] */ short __RPC_FAR *ret);
|
|
|
|
/* [propget] */ HRESULT STDMETHODCALLTYPE getUsage(
|
|
/* [retval][out] */ short __RPC_FAR *ret);
|
|
|
|
/* [propget] */ HRESULT STDMETHODCALLTYPE getDimension(
|
|
/* [retval][out] */ long __RPC_FAR *ret);
|
|
|
|
/* [propget] */ HRESULT STDMETHODCALLTYPE getExponent(
|
|
/* [retval][out] */ short __RPC_FAR *ret);
|
|
|
|
|
|
static HRESULT C_dxj_DIDeviceObjectInstanceObject::create(DIDEVICEOBJECTINSTANCE *inst,I_dxj_DirectInputDeviceObjectInstance **ret);
|
|
|
|
void init(DIDEVICEOBJECTINSTANCE *inst);
|
|
private:
|
|
DIDEVICEOBJECTINSTANCE m_inst;
|
|
|
|
};
|
|
|
|
|