int __stdcall SME_ModuleByMAC ( SME_HANDLE  handle,
char *  mac 
)

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

Parameters
[in]handleValid handle returned by SME_Initialize().
[in]macIn the form "xx-xx-xx-xx-xx-xx"
Return values
0Successful completion.
-1Invalid SME_Initialize handle.
-2No modules have been found. See SME_SearchForModules().
-3Could not locate named module.
-4Invalid MAC address parameter.

Attempts to search for the first module whose MAC address matches the 'mac' string parameter. If SME_ModuleByMAC fails, the currently select module (if any) remains selected.

Note
The mac parameter should be null terminated.
 
 
Generated on Mon Nov 26 2018.