SURFACE_PHYSICALVIDMEM (Windows CE 5.0)

Send Feedback

This macro retrieves a linear physical memory address for the surface when given a global surface object.

SURFACE_PHYSICALVIDMEM(psurf_gbl) \( GET_LPDDRAWSURFACE_GBL_MORE(psurf_gbl)->fpPhysicalVidMem )

Parameters

  • psurf_gbl
    The current surface global object.

Return Values

This macro returns the linear physical memory address for the surface.

Remarks

The physical address field is only valid for surfaces in nonlocal display memory.

Requirements

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Ddrawi.h.

See Also

DDHAL Macros

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.