Windows apps
Collapse the table of content
Expand the table of content
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.

ID3D11ClassInstance::GetInstanceName method

Gets the instance name of the current HLSL class.

Syntax


void GetInstanceName(
  [out, optional] LPSTR  pInstanceName,
  [in, out]       SIZE_T *pBufferLength
);

Parameters

pInstanceName [out, optional]

Type: LPSTR

The instance name of the current HLSL class.

pBufferLength [in, out]

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

Header

D3d11.h

Library

D3d11.lib

See also

ID3D11ClassInstance

 

 

Show:
© 2017 Microsoft