ID3D11ClassInstance::GetInstanceName method (d3d11.h)
Gets the instance name of the current HLSL class.
Syntax
void GetInstanceName(
[out, optional] LPSTR pInstanceName,
[in, out] SIZE_T *pBufferLength
);
Parameters
[out, optional] pInstanceName
Type: LPSTR
The instance name of the current HLSL class.
[in, out] pBufferLength
Type: SIZE_T*
The length of the pInstanceName parameter.
Return value
None
Remarks
GetInstanceName will return a valid name only for instances acquired using ID3D11ClassLinkage::GetClassInstance.
For more information about using the ID3D11ClassInstance interface, see Dynamic Linking.
Windows Phone 8: This API is supported.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d11.h |
Library | D3d11.lib |