msptiResult
msptiResult enumerates the error and result codes returned by MSPTI. The definition is as follows:
1 2 3 4 5 6 7 8 | class MsptiResult(Enum): MSPTI_SUCCESS = 0 # MSPTI execution is successful and no error occurs. MSPTI_ERROR_INVALID_PARAMETER = 1 # Returned when the callback function is NULL, indicating that MSPTI fails to be executed. MSPTI_ERROR_MULTIPLE_SUBSCRIBERS_NOT_SUPPORTED = 2 # Returned when the MSPTI user already exists, indicating that MSPTI fails to be executed. MSPTI_ERROR_MAX_LIMIT_REACHED = 3 # Returned when there are no more records in the activity buffer, indicating that MSPTI fails to be executed. MSPTI_ERROR_DEVICE_OFFLINE = 4 # Returned when device-side information cannot be retrieved. MSPTI_ERROR_INNER = 999 # Returned when MSPTI fails to be initialized, indicating that MSPTI fails to be executed. MSPTI_ERROR_FORCE_INT = 0x7fffffff |
Parent topic: Enumeration Type