Old revisions Add to book Export to PDF Book Creator Add this page to your book Book Creator Remove this page from your book Manage book (0 page(s)) Help Zone Control API > BS2_SetCheckGlobalAPBViolationHandler BS2_SetCheckGlobalAPBViolationHandler [+ 2.5.0] Registers callback function for global determination when an APB violation alarm occurs. Declaration #include "BS_API.h" int BS2_SetCheckGlobalAPBViolationHandler(void* context, OnCheckGlobalAPBViolation ptrCheckGlobalAPBViolation); See OnCheckGlobalAPBViolation callback function Parameter [In] context : Context [In] ptrCheckGlobalAPBViolation : Callback function called for global determination when Anti Passback alarm occurs NOTE To use Global Anti Passback service, BS2AuthConfig useGloable APB should be set to True. Return Value If successfully done, BS_SDK_SUCCESS will be returned. If there is an error, the corresponding error code will be returned. See Also BS2_CheckGlobalAPBViolation