Stewart Gordon:
> Windows handles are, AIUI, always of the platform pointer size.
> A zero-size handle type would be useless, as only one distinct
> handle could exist that way.
struct HWND {}
void main() {
static assert(HWND().sizeof == 1);
}
Bye,
bearophile