Microsoft Windows CE 3.0  

DirectDrawEnumerate

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This function is superseded by the DirectDrawEnumerateExfunction.

The DirectDrawEnumeratefunction enumerates the primary DirectDraw display device and a non-display device, such as a 3-D accelerator that has no 2-D capabilities, if one is installed. The NULL entry always identifies the primary display device shared with GDI.

HRESULT WINAPI DirectDrawEnumerate(
LPDDENUMCALLBACK
lpCallback
,
LPVOID
lpContext
);

Parameters

lpCallback
Address of a DDEnumCallbackfunction that will be called with a description of each enumerated DirectDraw-enabled HAL.
lpContext
Address of an application-defined context that will be passed to the enumeration callback function each time it is called.

Return Values

If the function succeeds, the return value is DD_OK.

If the function fails, the return value is DDERR_INVALIDPARAMS.

Remarks

Note that there is the �W' version of this function in CE for Unicode support.

Requirements

Runs on Versions Declared in Link to
Windows CE OS 2.12 or later. Version 2.12 requires DXPAK 1.0 or later. ddraw.h ddraw.lib

See Also

DirectDrawEnumerateEx