|
ASX Version4.37.03
|
The error functions operate on all ASX objects to collect, report and clear errors. More...
Functions | |
| ASX32_API ASX_ERROR | ASX_Error_GetLast (ASX_HANDLE hASXObject, ASX_ERROR *pnAsxErrorCode, int *pnAsxSubSystemErrorCode) |
| Get the last error. | |
| ASX32_API ASX_ERROR | ASX_Error_GetLastString (ASX_HANDLE hASXObject, char *pszAsxErrorString, const int nAsxErrorStringLength, int *pnRequiredAsxErrorStringLength, char *pszAsxSubSystemErrorString, const int nAsxSubSystemErrorStringLength, int *pnRequiredAsxSubSystemErrorStringLength) |
| Get the last error string information. | |
| ASX32_API ASX_ERROR | ASX_Error_Clear (ASX_HANDLE hASXObject) |
| Clears the last error. | |
| ASX32_API ASX_BOOL | ASX_Error_SupressCallback (ASX_HANDLE hASXObject, ASX_BOOL bSupressCallback) |
| Supresses error callback messages. | |
The error functions operate on all ASX objects to collect, report and clear errors.
| ASX32_API ASX_ERROR ASX_Error_Clear | ( | ASX_HANDLE | hASXObject | ) |
Clears the last error.
This function clears error information for the last error generated by hASXObject.
| hASXObject | The ASX object handle. |
| ASX32_API ASX_ERROR ASX_Error_GetLast | ( | ASX_HANDLE | hASXObject, |
| ASX_ERROR * | pnAsxErrorCode, | ||
| int * | pnAsxSubSystemErrorCode | ||
| ) |
Get the last error.
This function returns error information for the last error generated by hASXObject.
| hASXObject | The ASX object handle that generated the error. This can be any ASX object. |
| pnAsxErrorCode | The returned ASX error code. If this parameter is set to 0, it will be ignored. |
| pnAsxSubSystemErrorCode | The returned SubSystem error code. This code will be an HPI error if the HPI subsystem is being used, or a MMSYSTEM error if MMSYSTEM is being use. If this parameter is set to 0, it will be ignored. |
| ASX32_API ASX_ERROR ASX_Error_GetLastString | ( | ASX_HANDLE | hASXObject, |
| char * | pszAsxErrorString, | ||
| const int | nAsxErrorStringLength, | ||
| int * | pnRequiredAsxErrorStringLength, | ||
| char * | pszAsxSubSystemErrorString, | ||
| const int | nAsxSubSystemErrorStringLength, | ||
| int * | pnRequiredAsxSubSystemErrorStringLength | ||
| ) |
Get the last error string information.
This function returns error information for the last error generated by hASXObject. Note that errors are automatically cleared the next time any operation is performed using hASXObject.
| hASXObject | The ASX object handle that generated the error. This can be any ASX object. |
| pszAsxErrorString | The returned ASX error string. If this parameter is set to 0, it will be ignored. |
| nAsxErrorStringLength | The length of pszAsxErrorString on bytes. |
| pnRequiredAsxErrorStringLength | The required length of pszAsxErrorString in bytes. |
| pszAsxSubSystemErrorString | The returned SubSystem error string. This string will describe an HPI error if the HPI subsystem is being used, or a MMSYSTEM error if MMSYSTEM is being use. If this parameter is set to 0, it will be ignored. |
| nAsxSubSystemErrorStringLength | The length of pszAsxSubSystemErrorString in bytes. |
| pnRequiredAsxSubSystemErrorStringLength | The required length of pszAsxSubSystemErrorString in bytes. |
| ASX32_API ASX_BOOL ASX_Error_SupressCallback | ( | ASX_HANDLE | hASXObject, |
| ASX_BOOL | bSupressCallback | ||
| ) |
Supresses error callback messages.
| hASXObject | The ASX object handle. |
| bSupressCallback | true to supress callbacks, false to enable callbacks. |
1.7.3