Compartir a través de


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

'Declaration
Function GetUILibraryFileName ( _
    lpstrPath As String, _
    lpstrDllName As String, _
    <OutAttribute> ByRef pbstrOut As String _
) As Integer
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: String

    [in] Specifies the path to the DLL.

  • lpstrDllName
    Type: String

    [in] Specifies DLL name.

  • pbstrOut
    Type: String%

    [out] Pointer to a string containing the out.

Return Value

Type: 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

Microsoft.VisualStudio.Shell.Interop Namespace