Does anyone know what to do with the Buffer member of the windows RGNDATA struct? In the help file i''ve got it says this about it..
typedef struct _RGNDATA { // rgnd RGNDATAHEADER rdh; char Buffer[1]; } RGNDATA;BufferSpecifies an arbitrary-size buffer that contains the RECT structures that make up the region.
Buffer is a single byte and i need to store 16 bytes there so i''m guessing i would need to allocate memory or something? And if i have to allocate memory then how do i go about doing that? Buffer can''t be assigned to the new memory location because it''s a constant pointer.
Damn the windows API can be evil.