This is an old revision of the document!


USB Exported Control API > BS2_GetUserSmallDatasFromDir


[+ 2.6.3] Gets the user information of the given user ID & usermask from USB exported data.
The only difference between BS2_GetUserDatasFromDir which is using structure BS2UserBlob is that the 5th parameter BS2UserPhoto of BS2UserSmallBlob is using pointer for efficient memory use.


Declaration

#include "BS_API.h"
 
int BS2_GetUserSmallDatasFromDir(void* context, const char* szDir, char* uids, uint32_t uidCount, BS2UserSmallBlob* userBlob, BS2_USER_MASK userMask);

Parameter

  • [In] context : Context
  • [In] szDir : Storage path in device
  • [In] uids : User ID list trying to get
  • [In] uidCount : Number of user ID
  • [Out] userBlob : Pointer to store the user information
  • [In] userMask : User Mask

Return Value

If successfully done, BS_SDK_SUCCESS will be returned.

See Also