Share via


IUIHostLocale2.GetUILibraryFileName Method

Returns a UI library (DLL) file.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

‘선언
Function GetUILibraryFileName ( _
    lpstrPath As String, _
    lpstrDllName As String, _
    <OutAttribute> ByRef pbstrOut As String _
) As Integer
‘사용 방법
Dim instance As IUIHostLocale2
Dim lpstrPath As String
Dim lpstrDllName As String
Dim pbstrOut As String
Dim returnValue As Integer

returnValue = instance.GetUILibraryFileName(lpstrPath, _
    lpstrDllName, pbstrOut)
int GetUILibraryFileName(
    string lpstrPath,
    string lpstrDllName,
    out string pbstrOut
)
int GetUILibraryFileName(
    [InAttribute] String^ lpstrPath, 
    [InAttribute] String^ lpstrDllName, 
    [OutAttribute] String^% pbstrOut
)
abstract GetUILibraryFileName : 
        lpstrPath:string * 
        lpstrDllName:string * 
        pbstrOut:string byref -> int 
function GetUILibraryFileName(
    lpstrPath : String, 
    lpstrDllName : String, 
    pbstrOut : String
) : int

Parameters

  • lpstrPath
    Type: System.String
    [in] Specifies the path to the DLL.
  • pbstrOut
    Type: System.String%
    [out] Pointer to a string containing the out.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From uilocale.idl:

HRESULT IUIHostLocale2::GetUILibraryFileName(
   [in] LPCOLESTR lpstrPath,
   [in] LPCOLESTR lpstrDllName,
   [out, retval] BSTR *pbstrOut
);

.NET Framework Security

See Also

Reference

IUIHostLocale2 Interface

IUIHostLocale2 Members

Microsoft.VisualStudio.Shell.Interop Namespace