日期:2014-05-18 浏览次数:20680 次
typedef struct { int iBitmap; int idCommand; BYTE fsState; BYTE fsStyle; #ifdef _WIN64 BYTE bReserved[6]; #else #if defined(_WIN32) BYTE bReserved[2]; #endif #endif DWORD_PTR dwData; INT_PTR iString; } TBBUTTON, *PTBBUTTON, *LPTBBUTTON;
[MarshalAsAttribute(UnmanagedType.ByValArray, SizeConst = 6)] public byte[] bReserved;
[MarshalAsAttribute(UnmanagedType.ByValArray, SizeConst = 2)] public byte[] bReserved;