windows-nt/Source/XPSP1/NT/multimedia/directx/dxvb/dx8vb/didevobjinstobj.h

74 lines
2 KiB
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
//+-------------------------------------------------------------------------
//
// 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_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(DIDEVICEOBJECTINSTANCEW *inst,I_dxj_DirectInputDeviceObjectInstance **ret);
void init(DIDEVICEOBJECTINSTANCEW *inst);
private:
DIDEVICEOBJECTINSTANCEW m_inst;
};