USB Exported Control API > BS2_GetLogSmallBlobFromDirWithKey


BS2_GetLogSmallBlobFromDirWithKey

[+2.8.2] Import a certain amount of logs from the USB extracted data to match the Event Mask.
BS2EventBlob The difference from BS2_GetLogBlobFromDirWithKey is
For memory efficiency, all are the same except for the sixth factor BS2EventSmallBlob member imageObj, which is pointed out.

Declaration

#include "BS_API.h"
 
int BS2_GetLogSmallBlobFromDirWithKey(void* context, const char* szDir, uint16_t eventMask, BS2_EVENT_ID eventId, uint32_t amount, BS2EventSmallBlob** logsObj, uint32_t* numLog, const BS2EncryptKey* key);

Parameters

Note
The logsObj variable must be used and then returned to the system using the BS2_ReleaseObject function.

Return value

Returns BS_SDK_SUCCESS if performed successfully, or a corresponding error code if an error occurs.

See Also

BS2_GetUserDatabaseInfoFromDirWithKey
BS2_GetUserListFromDirWithKey
BS2_GetUserInfosFromDirWithKey
BS2_GetUserDatasFromDirWithKey
BS2_GetUserInfosExFromDirWithKey
BS2_GetUserDatasExFromDirWithKey
BS2_GetLogFromDirWithKey
BS2_GetFilteredLogFromDirWithKey
BS2_GetLogBlobFromDirWithKey