Posted: Mon Aug 12, 2013 9:16 pm
Please help me.
I'm not sure if I am correctly calculated the size of the structure PAINTSTRUCT on x64.
size = 36 + 32*1 + 4 = 72
I'm not sure if I am correctly calculated the size of the structure PAINTSTRUCT on x64.
Code: Select all
typedef struct tagPAINTSTRUCT {
//offset size padding
HDC hdc; // 0 8 0
BOOL fErase; // 8 4 0
RECT rcPaint; // 12 4*4 0
BOOL fRestore; // 28 4 0
BOOL fIncUpdate; // 32 4 0
BYTE rgbReserved[32]; // 36 32*1 4
} PAINTSTRUCT, *PPAINTSTRUCT;