Microsoft DirectX 8.1 (C++)

IDirect3DVolume8::GetContainer

Provides access to the parent volume texture object, if this surface is a child level of a volume texture.

HRESULT GetContainer(
  REFIID riid,
  void** ppContainer
);

Parameters

riid
[in] Reference identifier of the volume being requested.
ppContainer
[out, retval] Address of a pointer to fill with the container pointer, if the query succeeds.

Return Values

If the method succeeds, the return value is D3D_OK.

If the method fails, the return value can be D3DERR_INVALIDCALL.

Requirements

  Header: Declared in D3d8.h.
  Import Library: Use D3d8.lib.