Smartcard API > BS2_GetLockOverride
[+ 2.9.12] Gets Lock Override information from the device by specifying conditions.
Search conditions can be specified by setting cardID and issueCount in BS2LockOverride.
#include "BS_API.h" int BS2_GetLockOverride(void* context, BS2_DEVICE_ID deviceId, const BS2LockOverride* request, uint32_t numOfRequest, BS2LockOverride** responseObj, uint32_t* numOfResponse);
context : ContextdeviceId : Device IDrequest : Address of the search condition structure arraynumOfRequest : Number of search condition structuresresponseObj : Pointer to receive the search result lock override informationnumOfResponse : Number of search result lock override information
Note
The responseObj variable must return memory to the system through the BS2_ReleaseObject function after use.
Returns BS_SDK_SUCCESS when performed successfully, and returns the corresponding error code when an error occurs.