PVOID
PVOID is a Windows-specific typedef for a generic pointer to void. It is defined as void in Windows headers and is used to hold references to data of any type without specifying that type in interface definitions. This makes PVOID a common choice in both user-mode and kernel-mode code for passing opaque pointers, buffers, or context information across API boundaries.
Because PVOID is a void pointer, it cannot be dereferenced or used in pointer arithmetic without first
In practice, PVOID enables flexible interfaces by allowing a function to accept or return a pointer without
Notes on usage: PVOID is widely encountered in driver development, Windows kernel APIs, and certain user-mode