Microsoft Specific
type __based( base ) declarator
The __based keyword specifies that a pointer is a 32-bit offset from a 32-bit pointer base. For compatibility with previous versions, _based is a synonym for __based.
END Microsoft Specific
Example
In the following example, the memory pointed to by bpi
is adjusted by the base address value of vpi
:
// Example of the __based keyword
int *vpi;
int __based(vpi)*bpi;
For more information, see #pragma alloc_text