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_InputEffect::GetParameters() ]     [ next: SetParameters() ]     [ prev: GetEffectStatus() ]

    public:

         virtual bool __fastcall GetParameters( TDIEffect* pEffect, dword pFlags );





    -= Go to the TDx_InputEffect description =-    TDX_INPUTEFFECT::GETPARAMETERS()   [ component method ]

    • Description
    • Parameters

        Effect
        The Effect parameter references a TDIEffect component for holding the effect information if this method returns successfully.

        Flags
        The Flags parameter defines flags indicating which properties of the TDIEffect component referenced by the Effect parameter are to be retrieved.
        The described effect applies when the flag is set.

          DIEP_ALLPARAMS
          All the TDIEffect properties are to be retrieved.

          This is equivilent to setting all the other flags of this parameter.

          DIEP_ALLPARAMS_DX5
          All the TDIEffect properties except TDIEffect::StartDelay are to be retrieved.

          This is equivilent to setting all the other flags of this parameter except DIEP_STARTDELAY.

          DIEP_AXES
          TDIEffect::NumAxes and TDIEffect::Axes are to be retrieved.

          TDIEffect::NumAxes holds the size of the buffer referenced by TDIEffect::Axes.
          When the TDIEffect::Axes buffer is too small, a DIERR_MOREDATA error is generated and TDIEffect::NumAxes will indicate the required buffer size.

          DIEP_DIRECTION
          TDIEffect::NumAxes and TDIEffect::Direction are to be retrieved.

          TDIEffect::NumAxes holds the size of the buffer referenced by TDIEffect::Direction.
          When the TDIEffect::Direction buffer is too small, a DIERR_MOREDATA error is generated and TDIEffect::NumAxes will indicate the required buffer size.

          One or more of the DIEFF_CARTESIAN, DIEFF_POLAR or DIEFF_SPHERICAL flags must be set in TDIEffect::Flags to indicate in which coordinate system the directions should be reported.
          Setting all three will result in the coordinates being retrieved using the same system as when they were set.
          On returning, only one of the coordinate system flags will be set, indicating how the TDIEffect::Direction coordinates should be interpreted.

          DIEP_DURATION
          TDIEffect::Duration is to be retrieved.

          DIEP_ENVELOPE
          The TDIEnvelope component referenced by TDIEffect::Envelope is to be filled and retrieved.

          When there is no envelope TDIEffect::Envelope will be NULL when the method returns.

          DIEP_GAIN
          TDIEffect::GAIN is to be retrieved.

          DIEP_SAMPLEPERIOD
          TDIEffect::SamplePeriod is to be retrieved.

          DIEP_STARTDELAY
          TDIEffect::StartDelay is to be retrieved.

          DIEP_TRIGGERBUTTON
          TDIEffect::TriggerButton is to be retrieved.

          DIEP_TRIGGERREPEATINTERVAL
          TDIEffect::TriggerRepeatInterval is to be retrieved.

          DIEP_TYPESPECIFICPARAMS
          Any type specific parameters referenced by TDIEffect::TypeSpecificParams are retrieved.

          TDIEffect::TypeSpecificParamsSize initially holds the size the TDIEffect::TypeSpecificParams buffer and the actual amount of data written to the buffer on return.
          When the TDIEffect::TypeSpecificParams buffer is too small, a DIERR_MOREDATA error is generated and TDIEffect::TypeSpecificParamsSize will indicate the required buffer size.


    • 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.