Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3D11FunctionLinkingGraph::CallFunction method

Creates a call-function linking node to use in the function-linking-graph.

Syntax


HRESULT CallFunction(
  [in, optional] LPCSTR            pModuleInstanceNamespace,
  [in]           ID3D11Module      *pModuleWithFunctionPrototype,
  [in]           LPCSTR            pFunctionName,
  [out]          ID3D11LinkingNode **ppCallNode
);

Parameters

pModuleInstanceNamespace [in, optional]

Type: LPCSTR

The optional namespace for the function, or NULL if no namespace is needed.

pModuleWithFunctionPrototype [in]

Type: ID3D11Module*

A pointer to the ID3D11ModuleInstance interface for the library module that contains the function prototype.

pFunctionName [in]

Type: LPCSTR

The name of the function.

ppCallNode [out]

Type: ID3D11LinkingNode**

A pointer to a variable that receives a pointer to the ID3D11LinkingNode interface that represents the function in the function-linking-graph.

Return value

Type: HRESULT

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

Requirements

Header

D3D11Shader.h

Library

D3DCompiler.lib

DLL

D3DCompiler_47.dll

See also

ID3D11FunctionLinkingGraph

 

 

Community Additions

Show:
© 2015 Microsoft