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.
 
 
 
 
 
 

73 lines
2.0 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_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;
};