In the Windows header file, WinNT.h HRESULT is defined as follows:
typedef __success(return >= 0) long HRESULT;
After some research, I found out that the __success macro is part of the Microsoft SAL source code annotation language and is defined in sal.h. But for my life, I canβt understand what she does and how she does it.
Thanks in advance.
Todd
source
share