STRUCTPOINTER mystruct = NULL; PBYTE myByte = NULL ; mystruct = FillMyStruct(); myByte = &myStruct->BUFFER[0]; if (mystruct) { VirtualFree(mystruct , 0, MEM_RELEASE); }
// STRUCTPOINTER DEFENTION typedef struct { LARGE_INTEGER myint1; LARGE_INTEGER myint2; BYTE Buffer[1]; } MYSTRUCT, *STRUCTPOINTER ;
FillMyStruct
struct
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)