Archive
Adding “$err, hr” in Visual Studio’s watch window will show the value of GetLastError() and the associated error message.