wwAPI::GetLastError

Returns the last Windows API error code. Should be called immediately after an API function if an error occurred to retrieve the error code.

o.GetLastError()

See also