Advances the internal pointer to the first discovered module whose name matches the parameter.
- Parameters
-
- 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.