IconResourceDecoder: Decode

Decode

Decodes a byte array into a StdPicture that represents an icon.



 Public Function Decode(
	  ByVal Key As ResourceKey,
	  ByRef Bytes ( ) As Byte ) As Long

Parameters

Key
[ByVal] ResourceKey. The identifier for the icon.
Bytes
[ByRef] Byte. The bytes to be decoded into an icon.

Return Values

Long -  The number of icons decoded. This will return 0 or 1.

See Also

Project CorLib Overview

Class IconResourceDecoder Overview