ID3D10StateBlock::GetDevice method (d3d10effect.h)

Get the device.

Syntax

HRESULT GetDevice(
  [out] ID3D10Device **ppDevice
);

Parameters

[out] ppDevice

Type: ID3D10Device**

Pointer to the ID3D10Device interface that is returned.

Return value

Type: HRESULT

Returns one of the following Direct3D 10 Return Codes.

Requirements

Requirement Value
Target Platform Windows
Header d3d10effect.h (include D3D10.h)
Library D3D10.lib

See also

ID3D10StateBlock Interface