Welcome to
www.tdxlibrary.org
Home of the
the TDx_Library...
"RAD DirectX"
for
C++ Builder
...
|
TDx_Draw_Library v2.00 Component Reference
|
|
[ TDx_Draw::DDEnumerate() ]
[ next: Destroy() ]
[ prev: CreateSurface() ]
public:
virtual bool __fastcall DDEnumerate( LPVOID pContext, DWORD pFlags );
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.
|
|