BCB-Tools.com

Home of
RAD DirectX

C++ Builder wrapping DirectX

...

Please Register

So we can
create more

the TDx_Library
the TDx9_Library



Welcome to BCB-Tools.com Latest News

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

Register Here! Available Downloads

Frequently Asked Questions Discussion Forums Receive emails from BCB-Tools.com Send us some Feedback

Links to other sites Information about the BCB-Tools.com website


    TDx_Draw_Library v1.90 Component Reference

    -= Click to navigate the reference =-

    -= Go to the TDx_Draw description =-   Component: TDX_DRAW::DDENUMERATE()

    Go to the Welcome Page
    [ TDx_Draw ]     [ next: Destroy() ]     [ prev: CreateSurface() ]

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

    If you would like to submit additions or improvements to this page, click: admin@bcb-tools.com.


    DESCRIPTION

    Top     Parameters     See Also

    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

    Top     See Also

      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     Parameters






























Top

Welcome |  Latest News |  Tools |  Demos |  Tutorials |  Reference |  Register |  Downloads
FAQ |  Forums |  Feedback |  Mailing List |  Links |  Site Information

This page is Copyright © 2008 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.