[Solved] What is the purpose of adding a pointer in: typedef unsigned char UCHAR, *PUCHAR;
UCHAR stands for unsigned char which is 1 byte in size. PUCHAR stands for unsigned char*. To store a pointer you need 8 bytes (in a 64 bit application). That’s why the size of UCHAR is 1 byte and size of PUCHAR is 8 bytes. Why a pointer is 8 bytes? That’s because in a … Read more