3 ms·
ULONGLONG is in fact a Windows Drivers Kit specific type. WDK has its own specialised set of weird and uncomfortable type conventions in the MS style [0] and al
by stevetrewick 10y ago
ULONGLONG is in fact a Windows Drivers Kit specific type. WDK has its own specialised set of weird and uncomfortable type conventions in the MS style [0] and although the author's point about C arithmetic type promotion is generic, his context is WDK device drivers, so ULONGLONG is absolutely correct, if possibly somewhat archaic (there's a ULONG64 lately).
[0] https://www.osr.com/blog/2015/05/27/newbie-corner-theres-type-unexpected-world-windows-kernel-types/ https://www.osr.com/blog/2015/05/27/newbie-corner-theres-typ...
- to3m 10y agoIt's in user mode too - as the return type of GetTickCount64, for example: https://msdn.microsoft.com/en-gb/library/windows/desktop/aa383751%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396 https://msdn.microsoft.com/en-gb/library/windows/desktop/aa3...