IDirectDrawVideo::GetSurfaceDesc (Windows CE 5.0)

Send Feedback

This method retrieves a DDSURFACEDESC structure describing the current DirectDraw surface.

HRESULT GetSurfaceDesc( DDSURFACEDESC* pSurfaceDesc);

Parameters

  • pSurfaceDesc
    DDSURFACEDESC structure describing the current DirectDraw surface.

Return Values

Returns an HRESULT value.

Remarks

If no surface is allocated, this method returns E_FAIL.

If a DCI primary surface is in use, the DDSURFACEDESC structure is not filled in and the call returns S_FALSE.

Surfaces are allocated only when the renderer is paused. If the renderer is paused, it cannot release the surfaces when stopped.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

Pocket PC: Windows Mobile 5.0 and later
Smartphone: Windows Mobile 5.0 and later
OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.