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.
 
 
 
 
 
 

74 lines
2.1 KiB

//+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 1999 - 1999
//
// File: dinputeffectobj.h
//
//--------------------------------------------------------------------------
#include "resource.h" // main symbols
extern void* g_dxj_DirectInputEffect;
#define typedef__dxj_DirectInputEffect LPDIRECTINPUTEFFECT
/////////////////////////////////////////////////////////////////////////////
// Direct
class C_dxj_DirectInputEffectObject :
public I_dxj_DirectInputEffect,
public CComObjectRoot
{
public:
C_dxj_DirectInputEffectObject() ;
virtual ~C_dxj_DirectInputEffectObject();
BEGIN_COM_MAP(C_dxj_DirectInputEffectObject)
COM_INTERFACE_ENTRY(I_dxj_DirectInputEffect)
END_COM_MAP()
DECLARE_AGGREGATABLE(C_dxj_DirectInputEffectObject)
public:
/* [hidden] */ HRESULT STDMETHODCALLTYPE InternalSetObject(
/* [in] */ IUnknown __RPC_FAR *lpdd) ;
/* [hidden] */ HRESULT STDMETHODCALLTYPE InternalGetObject(
/* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *lpdd) ;
HRESULT STDMETHODCALLTYPE download( void) ;
HRESULT STDMETHODCALLTYPE getEffectGuid(
/* [retval][out] */ BSTR *guid) ;
HRESULT STDMETHODCALLTYPE getEffectStatus(
/* [retval][out] */ long __RPC_FAR *ret) ;
HRESULT STDMETHODCALLTYPE start(
/* [in] */ long iterations,
/* [in] */ long flags) ;
HRESULT STDMETHODCALLTYPE stop( void) ;
HRESULT STDMETHODCALLTYPE unload( void) ;
HRESULT STDMETHODCALLTYPE setParameters(
/* [in] */ DIEffect __RPC_FAR *effectinfo, long flags) ;
HRESULT STDMETHODCALLTYPE getParameters(
/* [out][in] */ DIEffect __RPC_FAR *effectinfo) ;
private:
DECL_VARIABLE(_dxj_DirectInputEffect);
public:
DX3J_GLOBAL_LINKS(_dxj_DirectInputEffect);
};