Sebastian Lackner <sebastian at fds-team.de> writes: > * Restructure setupapi code to set the error as a last step, after calling CloseServiceHandle. Yes, last error should always be set as the last step. Any call in between can legitimately modify it. -- Alexandre Julliard julliard at winehq.org