mb_get_module_version |
int mb_get_module_version( handle_t hModule, LPSTR lpVersion )
Returns the version string of the supplied module name.
Example
///////////////////////////////////////////////////////////////////////////// // Return Module Version int _get_module_version( mb_interpreter_t* s, void** l ) { // Parse Parameter(s) BEGIN_PARSE( s, l ) POP_HANDLE( hModule ) END_PARSE
// Make our return string MAKE_STRING( szVersion, 256 );
// Get the module version mb_get_module_version( hModule, szVersion );
// Return the string RETURN_STRING( szVersion ); }
|