I'm probably just not searching well enough, but its unclear to me how (or if its possible) to specify that the variable should be displayed in a particular way. All the examples are structs or classes with member variables, but uintptr_t has none.
Is it?
As the MSDN docs say
uintptr_tis atypedef unsigned __int64 uintptr_t;.So no, this is not possible in Visual Studio.
You can of course wrap the
uintptr_tin your own struct/class and then write a natvis visualizer for your struct/class, displaying the containeduintptr_tas hex.