1. The macros are defined in dutil.h
2. Typically, when dealing with Win32 APIs that return BOOL and set last
error, the pattern looks like this:
if (!::Win32ApiThatReturnsFalseOnError(param, param2))
{
ExitWithLastError(hr, "Failed to do what Win32 API was supposed to
do.");
}
Actually, "dut
Hi:
I'm currently writing a custom action that users a win32 api function that
return a bool. I want to exit the Wix custom action when the value of the
variable is falue.
Currently I'm using GetLastError, and then converting this error to a HRESULT
and using exitOnFailure.
Firstly, Where is Exi
2 matches
Mail list logo