Interop Structure: Should Unsigned Short be Mapped to byte[]?
- by Ngu Soon Hui
I have such a C++ structure:
typedef struct _FILE_OP_BLOCK
{
unsigned short fid; // objective file ID
unsigned short offset; // operating offset
unsigned char len; // buffer length(update)
…