Welcome to
www.tdxlibrary.org
Home of the
the TDx_Library...
"RAD DirectX"
for
C++ Builder
...
|
TDx_Input_Library v2.00 Component Reference
|
|
[ TDx_InputDevice::EnumEffects() ]
[ next: EnumEffectsInFile() ]
[ prev: EnumCreatedEffectObjects() ]
public:
virtual bool __fastcall EnumEffects( void* pReferenceData, dword pEffectType );
TDX_INPUTDEVICE::ENUMEFFECTS()
[ component method ]
- Description
The
EnumEffects()
method
will
enumerate
the
effects
supported
by
the
device's
force
feedback
system.
The
returned
GUID's
may
represent
predefined
or
device
specific
effects.
General
effect
information
can
be
found
in
the
EffectType
parameter,
but
to
exploit
a
device
specific
effect
to
the
fullest,
consult
the
documentation
provided
by
the
manufacturer.
Error
values
that
can
be
generated
are:
DIERR_INVALIDPARAM
DIERR_NOTINITIALIZED
- Parameters
ReferenceData
The ReferenceData parameter references an application defined 32 bit value to be passed to the callback function for each enumeration.
EffectType
The EffectType parameter defines flags indicating which effect types should be enumerated.
The described effect applies when the flag is set.
DIEFT_ALL
All effects are to be enumerated, regardless of type.
DIEFT_CONDITION
Only conditions should be enumerated.
DIEFT_CONSTANTFORCE
Only constant force effects should be enumerated.
DIEFT_CUSTOMFORCE
Only custom forces should be enumerated.
DIEFT_HARDWARE
Only hardware specific effects should be enumerated.
DIEFT_PERIODIC
Only periodic effects should be enumerated.
DIEFT_RAMPFORCE
Only ramp force effects should be enumerated.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|