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_Draw_Library v2.00 Component Reference

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

    [ TDx_Draw::DDEnumerate() ]     [ next: Destroy() ]     [ prev: CreateSurface() ]

    public:

         virtual bool __fastcall DDEnumerate( LPVOID pContext, DWORD pFlags );





    -= Go to the TDx_Draw description =-    TDX_DRAW::DDENUMERATE()   [ component method ]

    • Description

        The TDx_Draw::DDEnumerate method scans all DirectDraw devices installed on the system and calls the OnDDEnumerate event for each device.
        There is no need to write a manual callback function, just place your code in the OnDDEnumerate event.

    • Parameters

        Context
        The Context parameter references an application defined object to be passed to the callback function for each device enumerated.

        Flags
        The Flags parameter defines flags indicating the scope the enumeration is to employ.
        The described effect applies when the flag is set.
        A setting of 0 will enumerate the primary display device and a non-display device if one is installed.


          DDENUM_ATTACHEDSECONDARYDEVICES
          Enumerate the primary device along with all display devices attached to the desktop.

          DDENUM_DETACHEDSECONDARYDEVICES
          Enumerate the primary device along with all display devices not attached to the desktop.


          DDENUM_NONDISPLAYDEVICES
          Enumerate all non-display devices.
          This could be 3-D accelerators that have no 2-D capabilities for example.


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