Tao.DevIl SDK Documentation |
|
Ilut.ilutLoadResource Method
ilutLoadResource is a Windows-specific function that loads a resource as the current bound image. This feature allows you to have images directly in your .exe and not worry whether a particular file is present on the user's harddrive. An alternative, more portable solution is to use ilSave with IL_CHEAD as the Type parameter.
[Visual Basic]
Public Shared Function ilutLoadResource( _
ByVal
hInst As
IntPtr, _
ByVal
ID As
Integer, _
ByVal
ResourceType As
String, _
ByVal
Type As
Integer _
) As
Boolean
Parameters
-
hInst
- The application-s HINSTANCE
-
ID
- The resource identifier of the resource to be loaded
-
ResourceType
- The type of user-defined resource (name used when creating)
-
Type
- The type of image to be loaded. Use IL_TYPE_UNKNOWN to let OpenIL determine the type
Return Value
See Also
Ilut Class | Tao.DevIl Namespace