DismDriverPackageExtensionsGetClassBitmap Method
Gets the hardware class icon associated to the source DismDriverPackage.
Namespace: DevCase.ThirdParty.Dism.Extensions.DismDriverPackageExtensionsAssembly: DevCase.net48.ThirdParty.Dism (in DevCase.net48.ThirdParty.Dism.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[EditorBrowsableAttribute(EditorBrowsableState.Always)]
public static Bitmap GetClassBitmap(
this DismDriverPackage driverPackage,
ref IntPtr hIcon
)
<ExtensionAttribute>
<EditorBrowsableAttribute(EditorBrowsableState.Always)>
Public Shared Function GetClassBitmap (
driverPackage As DismDriverPackage,
ByRef hIcon As IntPtr
) As Bitmap
Dim driverPackage As DismDriverPackage
Dim hIcon As IntPtr
Dim returnValue As Bitmap
returnValue = driverPackage.GetClassBitmap(hIcon)
public:
[ExtensionAttribute]
[EditorBrowsableAttribute(EditorBrowsableState::Always)]
static Bitmap^ GetClassBitmap(
DismDriverPackage^ driverPackage,
IntPtr% hIcon
)
[<ExtensionAttribute>]
[<EditorBrowsableAttribute(EditorBrowsableState.Always)>]
static member GetClassBitmap :
driverPackage : DismDriverPackage *
hIcon : IntPtr byref -> Bitmap
No code example is currently available or this language may not be supported.
- driverPackage DismDriverPackage
-
The source DismDriverPackage object.
- hIcon IntPtr
-
Returns a handle to the native class icon.
The caller must call DestroyIcon(IntPtr) to free any memory the icon occupied.
Bitmap
The resulting
Bitmap.
In Visual Basic and C#, you can call this method as an instance method on any object of type
DismDriverPackage. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:
Microsoft.Dism by jeffkl