Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Retrieves an HINSTANCE of the satellite DLL from which to obtain the localized strings.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function LoadUILibrary ( _
lpstrPath As String, _
lpstrDllName As String, _
dwExFlags As UInteger, _
<OutAttribute> ByRef phinstOut As UInteger _
) As Integer
'Usage
Dim instance As IUIHostLocale2
Dim lpstrPath As String
Dim lpstrDllName As String
Dim dwExFlags As UInteger
Dim phinstOut As UInteger
Dim returnValue As Integer
returnValue = instance.LoadUILibrary(lpstrPath, _
lpstrDllName, dwExFlags, phinstOut)
int LoadUILibrary(
string lpstrPath,
string lpstrDllName,
uint dwExFlags,
out uint phinstOut
)
int LoadUILibrary(
[InAttribute] String^ lpstrPath,
[InAttribute] String^ lpstrDllName,
[InAttribute] unsigned int dwExFlags,
[OutAttribute] unsigned int% phinstOut
)
abstract LoadUILibrary :
lpstrPath:string *
lpstrDllName:string *
dwExFlags:uint32 *
phinstOut:uint32 byref -> int
function LoadUILibrary(
lpstrPath : String,
lpstrDllName : String,
dwExFlags : uint,
phinstOut : uint
) : int
Parameters
- lpstrPath
Type: System.String
[in] Path to the satellite DLL to load.
- lpstrDllName
Type: System.String
[in] Name of the satellite DLL to load.
- dwExFlags
Type: System.UInt32
[in] DWORD values that determine how to load the DLL.
- phinstOut
Type: System.UInt32%
[out, retval] Pointer to the HINSTANCE from which the string can be obtained.
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::LoadUILibrary(
[in] LPCOLESTR lpstrPath,
[in] LPCOLESTR lpstrDllName,
[in] DWORD dwExFlags,
[out, retval] DWORD_PTR *phinstOut
);
The path to the satellite DLL is determined by concatenating the value of pszPath, locale ID of the host as a string, such as "1033," and the value of pszDllName.
.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.