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.
A version of this page is also available for
4/8/2010

This enumeration provides values that describe the memory pools for allocating Direct3D Mobile resources.

Syntax

typedef enum _D3DMPOOL {
  D3DMPOOL_VIDEOMEM	= 0,
  D3DMPOOL_SYSTEMMEM   = 1,
  D3DMPOOL_MANAGED	 = 2,
  D3DMPOOL_FORCE_ULONG = 0x7fffffff,
} D3DMPOOL;

Elements

D3DMPOOL_VIDEOMEM

Indicates that the memory pool is in a local memory store that is attached directly to the device.

D3DMPOOL_SYSTEMMEM

Indicates that the memory pool is in the device's main memory.

D3DMPOOL_MANAGED

Indicates that the device supports both video memory and system memory, and that the memory pool is a combination of the two types.

D3DMPOOL_FORCE_ULONG

Forces the compiler to interpret the enumeration as a ULONG value. This value is not used directly in Direct3D Mobile programming.

Requirements

Header d3dmtypes.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also