DirectDrawEnumerate (Windows CE 5.0)

Send Feedback

This function is superseded by the DirectDrawEnumerateEx function.

The DirectDrawEnumerate function 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
    [in] Address of a DDEnumCallback function that will be called with a description of each enumerated DirectDraw-enabled HAL.
  • lpContext
    [in] 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

The W version of this function in Windows CE provides Unicode support.

Requirements

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Ddraw.h.
Link Library: Ddraw.lib.

See Also

DirectDrawEnumerateEx

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.