In the Windows header file WinNT.h, HRESULT is defines as follows:
typedef __success(return >= 0) long HRESULT;
Doing some research I learned that the "__success" macro is part of the Microsoft source code annotation language SAL and is defined in sal.h. But for the life of me I can't figure out what it does or how it does it.
Thanks in advance.
Todd