int __stdcall SME_ModuleByName ( SME_HANDLE  handle,
char *  moduleName 
)

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

Parameters
[in]handleValid handle returned by SME_Initialize().
[in]moduleName
Return values
0Successful completion.
-1Invalid SME_Initialize handle.
-2No modules have been found. See SME_SearchForModules().
-3Could not locate named module.
-4Invalid 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 Mon Nov 26 2018.