StarBurn SDK (Software Development Kit)
ContentsIndexHome
PreviousUpNext
StarBurn_GetVersion Function
C++
__stdcall STARBURN_IMPEX_API ULONG StarBurn_GetVersion(IN VOID);

ULONG with the packed date. This function cannot fail.

This function returns a 32-bit unsigned long value that contains packed numbers that represent the year, the month and the date of the toolkit build. So 10th of March, year of 1978 will look like 0x19780310.

Actually it's a good idea to check for supported toolkit version before performing any actions.

Samples for more details about differences between newer and older toolkit versions.

This example checks for the toolkit version. 

 

// Somewhere in the data region
ULONG l__ULONG__Version;

// Get toolkit version
l__ULONG__Version =
StarBurn_GetVersion();

// Check for correct number
if ( l__ULONG__Version < SUPPORTED_VERSION_NUMBER )
{
// Handle error here...
}