ID3D11ClassInstance::GetInstanceName method

Gets the instance name of the current HLSL class.

Syntax

void GetInstanceName(
  LPSTR  pInstanceName,
  SIZE_T *pBufferLength
);

Parameters

pInstanceName

Type: LPSTR

The instance name of the current HLSL class.

pBufferLength

Type: SIZE_T*

The length of the pInstanceName parameter.

Return Value

This method does not return a value.

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

   
Target Platform Windows
Header d3d11.h
Library D3d11.lib

See Also

ID3D11ClassInstance