Back to Sealevel      

int SME_ModuleByName ( SME_HANDLE  handle,
char *  moduleName 
)

Advances the internal pointer to the first discovered module whose name matches the parameter.

Parameters:
[in] handle Valid handle returned by SME_Initialize().
[in] moduleName 
Return values:
0 Successful completion.
-1 Invalid SME_Initialize handle.
-2 No modules have been found. See SME_SearchForModules().
-3 Could not locate named module.
-4 Invalid name parameter.
Attempts to search for the first module whose name matches the 'moduleName' parameter. If SME_ModuleByName fails, the currently select module (if any) remains selected.

Note:
The moduleName parameter should be between 0 and 16 characters, null terminated.

 
 
Generated on 18 Sep 2007.