Historical Content Alert
This is a historical content for Windows NT 4.0 product and is presented for informative purposes only. All content in this directory is copyrighted and owned by Microsoft.

GetName

The GetName method returns the alternate name at a specified index of an alternate name array.

[VB] BSTR GetName(
  long NameIndex  
);
 
[JAVA] java.lang.String GetName(
  int NameIndex               
);
 
[C++] HRESULT GetName(
  LONG NameIndex,             // in
  BSTR * pstrName             // out, return value
);
 

Parameters

[VB][JAVA][C++] NameIndex
Specifies the index of the alternate name entry.
[C++] pstrName
Points to the return value. See Return Values.

Return Values

Returns the alternate name at the specified index. The return value is a Unicode string.


Share this article: