ID3D11Linker::UseLibrary method

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

Syntax

HRESULT UseLibrary(
  ID3D11ModuleInstance *pLibraryMI
);

Parameters

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

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

See Also

ID3D11Linker