VCL RAD DirectX for C++ Builder

Welcome to

www.tdxlibrary.org

Home of the
the TDx_Library...

=- RAD DirectX =-

"RAD DirectX"
for
C++ Builder

...

Welcome to tdxlibrary.org Latest News

Development Tools Demo Applications Step-By-Step Tutorials Component Reference

Register our Tools Available Downloads

Frequently Asked Questions Links to other sites Information about the tdxlibrary.org website


    TDx_Input_Library v2.00 Component Reference

    -= Click to navigate the reference =-
    Go to the Welcome Page

    [ TDx_InputDevice::EnumEffects() ]     [ next: EnumEffectsInFile() ]     [ prev: EnumCreatedEffectObjects() ]

    public:

         virtual bool __fastcall EnumEffects( void* pReferenceData, dword pEffectType );





    -= Go to the TDx_InputDevice description =-    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.



























Top

Welcome |  Latest News |  Tools |  Demos |  Tutorials |  Reference |  Register |  Downloads
FAQ |  Links |  Site Information

This page is Copyright © 2019 Darren John Dwyer, Australia. All Rights Reserved.
Borland C++ Builder, CBuilder, etc are Trademarks of Borland Corporation.
DirectX, DirectDraw, Windows, etc are Trademarks of Microsoft Corporation.