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.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function LoadResourceBitmap ( _
ByRef guidPackage As Guid, _
culture As Integer, _
pszResourceName As String, _
<OutAttribute> ByRef hbmpValue As IntPtr _
) As Integer
'Usage
Dim instance As IVsResourceManager
Dim guidPackage As Guid
Dim culture As Integer
Dim pszResourceName As String
Dim hbmpValue As IntPtr
Dim returnValue As Integer
returnValue = instance.LoadResourceBitmap(guidPackage, _
culture, pszResourceName, hbmpValue)
int LoadResourceBitmap(
ref Guid guidPackage,
int culture,
string pszResourceName,
out IntPtr hbmpValue
)
int LoadResourceBitmap(
[InAttribute] Guid% guidPackage,
[InAttribute] int culture,
[InAttribute] String^ pszResourceName,
[OutAttribute] IntPtr% hbmpValue
)
abstract LoadResourceBitmap :
guidPackage:Guid byref *
culture:int *
pszResourceName:string *
hbmpValue:IntPtr byref -> int
function LoadResourceBitmap(
guidPackage : Guid,
culture : int,
pszResourceName : String,
hbmpValue : IntPtr
) : int
Parameters
- guidPackage
Type: System.Guid%
Guid of the package into which the resource will be loaded.
- culture
Type: System.Int32
A LCID value specifying the culture for which the resource is valid. Supplying a value of 0 will select the LCID that the user selected when the application was started.
- pszResourceName
Type: System.String
The name of the resource.
- hbmpValue
Type: System.IntPtr%
Pointer to the resource.
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 vsshell80.idl:
[local] HRESULT LoadResourceBitmap(
[in] REFGUID guidPackage,
[in] int culture,
[in, string] LPCOLESTR pszResourceName,
[out, retval] HBITMAP *hbmpValue
);
.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.