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

53 lines
1.2 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
//+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 1998 - 1998
//
// File: dienumdeviceobjectsobj.h
//
//--------------------------------------------------------------------------
#include "resource.h"
class C_dxj_DIEnumDeviceObjectsObject :
public I_dxj_DIEnumDeviceObjects,
public CComObjectRoot
{
public:
C_dxj_DIEnumDeviceObjectsObject() ;
virtual ~C_dxj_DIEnumDeviceObjectsObject() ;
BEGIN_COM_MAP(C_dxj_DIEnumDeviceObjectsObject)
COM_INTERFACE_ENTRY(I_dxj_DIEnumDeviceObjects)
END_COM_MAP()
DECLARE_AGGREGATABLE(C_dxj_DIEnumDeviceObjectsObject)
public:
HRESULT STDMETHODCALLTYPE getItem(
/* [in] */ long index,
/* [out][in] */ I_dxj_DirectInputDeviceObjectInstance __RPC_FAR **info);
HRESULT STDMETHODCALLTYPE getCount(
/* [retval][out] */ long __RPC_FAR *count);
static HRESULT C_dxj_DIEnumDeviceObjectsObject::create(LPDIRECTINPUTDEVICE8W pDI, long flags,I_dxj_DIEnumDeviceObjects **ppRet);
public:
DIDEVICEOBJECTINSTANCEW *m_pList;
long m_nCount;
long m_nMax;
BOOL m_bProblem;
};