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: System.String
[in] Specifies the path to the DLL.
- lpstrDllName
Type: System.String
[in] Specifies DLL name.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.