// d3d10umddi.h
PFND3DWDDM1_3DDI_RESIZETILEPOOL Pfnd3dwddm13DdiResizetilepool;
VOID Pfnd3dwddm13DdiResizetilepool(
D3D10DDI_HDEVICE hDevice,
D3D10DDI_HRESOURCE hTilePool,
UINT64 NewSizeInBytes
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Resizes a tile pool.
hDeviceA handle to the display device (graphics context).
hTilePoolA handle to the tile pool to resize.
NewSizeInBytesThe new size, in bytes, of the tile pool. The size must be a multiple of 64 KB or zero.
The driver can use the pfnSetErrorCb callback function to set an error code, setting S_OK if successful; otherwise, returning one of the following:
| Return code | Description |
|---|---|
| E_INVALIDARG | The new tile pool size isn't a multiple of 64 KB or zero. The existing tile pool remains unchanged, which includes existing mappings. |
| E_OUTOFMEMORY | The driver had to allocate space for new page table mappings but ran out of memory. The existing tile pool remains unchanged, which includes existing mappings. |
The Direct3D runtime performs minimal validation of parameters, but it will fail the call if the new tile pool size isn't a multiple of the tile size, or zero.