ID3D11ClassInstance::GetTypeName Method

Gets the type of the current HLSL class.

Syntax

public:
void GetTypeName(
         LPSTR pTypeName,
         SIZE_T *pBufferLength
)  

Parameters

pTypeName
Type: LPSTRĀ 

[out, optional] Type of the current HLSL class.

pBufferLength
Type: SIZE_TĀ *

[in, out] The length of the pTypeName parameter.

Return value

None.

Remarks

GetTypeName will return a valid name only for instances acquired using ID3D11ClassLinkage::GetClassInstance.

For more information about using the ID3D11ClassInstance interface, see Dynamic Linking.

Requirements

Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).

Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).

See also

ID3D11ClassInstance

ID3D11ClassInstance Members