[ 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