WSATTR_USERMASK
#define WSATTR_UNPACK_FLAG(attr) ((attr) & WSATTR_USERMASK)
flg &= WSATTR_USERMASK;
attr &= ~WSATTR_USERMASK;