Many Win32 structs (HDC, HMONITOR, etc.) lack the IntPtr conversion operator. For example, HWND has such an operator, but HDC does not. So, it's not even possible to check if HDC equals to zero.
Expected behavior
Maybe it's not a bug, however it's not clear why these stucts lack such an operator. Why does HWND have it and HDC does not?
Context
CsWin32 version: 0.3.106, built from the latest source code.
Actual behavior
Many Win32 structs (HDC, HMONITOR, etc.) lack the IntPtr conversion operator. For example, HWND has such an operator, but HDC does not. So, it's not even possible to check if HDC equals to zero.
Expected behavior
Maybe it's not a bug, however it's not clear why these stucts lack such an operator. Why does HWND have it and HDC does not?
Context