WMX3Api Class
Function |
C++ |
static WMX3APIFUNC ErrorToString(int errCode, char *pString, unsigned int size); |
Python |
def ErrorToString(errCode) |
|
Returns |
Type |
string |
Value |
error string |
|
Remarks |
||
Function |
C++ |
static WMX3APIFUNC ErrorToString(int errCode, wchar_t *pString, unsigned int size); |
Python |
||
Returns |
Type |
|
Value |
||
Remarks |
||
Function |
C++ |
|
Python |
def ApiLogToString(pLogData, logDataSize) |
|
Returns |
Type |
string |
Value |
API log string |
|
Remarks |
||
Function |
C++ |
|
Python |
||
Returns |
Type |
|
Value |
||
Remarks |
||
Function |
C++ |
|
Python |
def GetLibVersion() |
|
Returns |
Type |
tuple |
Value |
|
|
Remarks |
||
Function |
C++ |
static WMX3APIFUNC GetIMDllVersion(int *pVersion, int *pRevision); |
Python |
def GetIMDllVersion() |
|
Returns |
Type |
tuple |
Value |
|
|
Remarks |
||
Function |
C++ |
static WMX3APIFUNC PrintToFile(const char* filePath, const char * format, …); |
Python |
def PrintToFile(filePath, format) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
static WMX3APIFUNC PrintToFile(const wchar_t* filePath, const wchar_t * format, …); |
Python |
||
Returns |
Type |
|
Value |
||
Remarks |
||
Function |
C++ |
static WMX3APIFUNC PrintToFileIfExist(const char* filePath, const char * format, …); |
Python |
def PrintToFileIfExist(filePath, format) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
static WMX3APIFUNC PrintToFileIfExist(const wchar_t* filePath, const wchar_t * format, …); |
Python |
||
Returns |
Type |
|
Value |
||
Remarks |
||
Function |
C++ |
static WMX3APIFUNC GetStdOutStr(char* buff, int buffSize, unsigned char* isWideChar, int* strlen); |
Python |
def GetStdOutStr() |
|
Returns |
Type |
string |
Value |
WMX3 engine message |
|
Remarks |
||
Function |
C++ |
|
Python |
def GetStdOutDataSize(); |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def ClearStdOut(); |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def ReleaseStdOut(); |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def IsDeviceValid() |
|
Returns |
Type |
bool |
Value |
Whether the device is alive |
|
Remarks |
||
Function |
C++ |
|
Python |
|
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
||
Returns |
Type |
|
Value |
||
Remarks |
||
Function |
C++ |
|
Python |
|
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
||
Returns |
Type |
|
Value |
||
Remarks |
||
Function |
C++ |
WMX3APIFUNC StopEngine(unsigned int waitTimeMilliseconds = 0); |
Python |
|
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
|
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
||
Returns |
Type |
|
Value |
||
Remarks |
||
Function |
C++ |
|
Python |
def CloseDevice() |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def GetDeviceID() |
|
Returns |
Type |
tuple |
Value |
|
|
Remarks |
||
Function |
C++ |
|
Python |
def AutoQuitWithoutActiveDev(quit) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def SetWatchdog(watchdog) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
WMX3APIFUNC SetWatchdog(int deviceId, unsigned int watchdog); |
Python |
def SetWatchdog(deviceId, watchdog) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
WMX3APIFUNC GetWatchdog(unsigned int* watchdog, unsigned int* watchdogCount = NULL); |
Python |
def GetWatchDog() |
|
Returns |
Type |
tuple |
Value |
|
|
Remarks |
||
Function |
C++ |
|
Python |
def ResetWatchdogTimer() |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def SetStatistic(enable) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def GetStatistic() |
|
Returns |
Type |
tuple |
Value |
|
|
Remarks |
||
Function |
C++ |
|
Python |
def SetInterruptId(interrputId) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def GetInterruptId(interrputId) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
WMX3APIFUNC StartCommunication(unsigned int waitTimeMilliseconds = 0); |
Python |
|
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
WMX3APIFUNC StopCommunication(unsigned int waitTimeMilliseconds = 0); |
Python |
|
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def GetModulesInfo() |
|
Returns |
Type |
tuple |
Value |
|
|
Remarks |
||
Function |
C++ |
|
Python |
||
Returns |
Type |
|
Value |
||
Remarks |
||
Function |
C++ |
WMX3APIFUNC GetModuleInfo(int moduleId, ModuleInfoA* module); |
Python |
def GetModuleInfo(moduleId) |
|
Returns |
Type |
tuple |
Value |
|
|
Remarks |
||
Function |
C++ |
WMX3APIFUNC GetModuleInfo(int moduleId, ModuleInfoW* module); |
Python |
||
Returns |
Type |
|
Value |
||
Remarks |
||
Function |
C++ |
|
Python |
def GetEngineStatus() |
|
Returns |
Type |
tuple |
Value |
|
|
Remarks |
||
Function |
C++ |
|
Python |
def GetAllDevices() |
|
Returns |
Type |
tuple |
Value |
|
|
Remarks |
||
Function |
C++ |
|
Python |
||
Returns |
Type |
|
Value |
||
Remarks |
||
Function |
C++ |
|
Python |
def SetDeviceName(name) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
||
Returns |
Type |
|
Value |
||
Remarks |
||
Function |
C++ |
WMX3APIFUNC GetDeviceName(char* nameBuf, unsigned int bufSize); |
Python |
def GetDeviceName() |
|
Returns |
Type |
tuple |
Value |
|
|
Remarks |
||
Function |
C++ |
WMX3APIFUNC GetDeviceName(wchar_t* nameBuf, unsigned int bufSize); |
Python |
||
Returns |
Type |
|
Value |
||
Remarks |
||
Function |
C++ |
|
Python |
def SetDeviceWaitEvent(errCode); |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def ResetDeviceWaitEvent(); |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
WMX3APIFUNC WaitForDeviceWaitEvent(unsigned int waitTime, int* errCode); |
Python |
def WaitForDeviceWaitEvent(waitTime, errCode); |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def SetModuleSuspend(suspend) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def GetModuleSuspend() |
|
Returns |
Type |
tuple |
Value |
|
|
Remarks |
||
Function |
C++ |
|
Python |
def AbortModuleSuspend() |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def SleepAtEngine(microSecond) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
|
Python |
def PrintToServerConsole(format) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
WMX3APIFUNC PrintToServerConsole(const wchar_t * format, …); |
Python |
||
Returns |
Type |
|
Value |
||
Remarks |
||
Function |
C++ |
wmx3Api::WMX3Api:: WMX3APIFUNC RecordWindowsUpdates(unsigned int waitTimeMilliseconds); “ WMX3APIFUNC RecordWindowsUpdates(unsigned int waitTimeMilliseconds = 0);” |
Python |
def RecordWindowsUpdates() |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
wmx3Api::WMX3Api:: WMX3APIFUNC RecordWindowsUpdates(unsigned int waitTimeMilliseconds); “ WMX3APIFUNC RecordWindowsUpdates(unsigned int waitTimeMilliseconds = 0);” |
Python |
def RecordWindowsUpdates(waitTimeMilliseconds) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
wmx3Api::WMX3Api:: WMX3APIFUNC CompareWindowsUpdates(unsigned int waitTimeMilliseconds); “ WMX3APIFUNC CompareWindowsUpdates(unsigned int waitTimeMilliseconds = 0);” |
Python |
def CompareWindowsUpdates() |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||
Function |
C++ |
wmx3Api::WMX3Api:: WMX3APIFUNC CompareWindowsUpdates(unsigned int waitTimeMilliseconds); “ WMX3APIFUNC CompareWindowsUpdates(unsigned int waitTimeMilliseconds = 0);” |
Python |
def CompareWindowsUpdates(waitTimeMilliseconds) |
|
Returns |
Type |
int |
Value |
error code |
|
Remarks |
||