Leaked source code of windows server 2003
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.
 
 
 
 
 
 

64 lines
1.9 KiB

//+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 1998 - 1999
//
// File: didevinstobj.h
//
//--------------------------------------------------------------------------
#include "resource.h"
class C_dxj_DIDeviceInstanceObject :
public I_dxj_DirectInputDeviceInstance,
public CComObjectRoot
{
public:
BEGIN_COM_MAP(C_dxj_DIDeviceInstanceObject)
COM_INTERFACE_ENTRY(I_dxj_DirectInputDeviceInstance)
END_COM_MAP()
DECLARE_AGGREGATABLE(C_dxj_DIDeviceInstanceObject)
public:
C_dxj_DIDeviceInstanceObject();
/* [propget] */ HRESULT STDMETHODCALLTYPE getGuidInstance(
/* [retval][out] */ BSTR __RPC_FAR *ret);
/* [propget] */ HRESULT STDMETHODCALLTYPE getGuidProduct(
/* [retval][out] */ BSTR __RPC_FAR *ret);
/* [propget] */ HRESULT STDMETHODCALLTYPE getProductName(
/* [retval][out] */ BSTR __RPC_FAR *ret);
/* [propget] */ HRESULT STDMETHODCALLTYPE getInstanceName(
/* [retval][out] */ BSTR __RPC_FAR *ret);
/* [propget] */ HRESULT STDMETHODCALLTYPE getGuidFFDriver(
/* [retval][out] */ BSTR __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 getDevType(
/* [retval][out] */ long __RPC_FAR *ret);
void init(DIDEVICEINSTANCE *inst);
static HRESULT C_dxj_DIDeviceInstanceObject::create(DIDEVICEINSTANCE *inst,I_dxj_DirectInputDeviceInstance **ret);
private:
DIDEVICEINSTANCE m_inst;
};