ID3D11Linker::UseLibrary method (d3d11shader.h)

Adds an instance of a library module to be used for linking.

Syntax

HRESULT UseLibrary(
  [in] ID3D11ModuleInstance *pLibraryMI
);

Parameters

[in] pLibraryMI

Type: ID3D11ModuleInstance*

A pointer to the ID3D11ModuleInstance interface for the library module instance.

Return value

Type: HRESULT

Returns S_OK if successful; otherwise, returns one of the Direct3D 11 Return Codes.

Requirements

Requirement Value
Target Platform Windows
Header d3d11shader.h
Library D3DCompiler.lib
DLL D3DCompiler_47.dll

See also

ID3D11Linker