Re: setupapi: implement pSetupInstallCatalog
28 Jan
2009
28 Jan
'09
1:30 p.m.
Aric Stewart <aric(a)codeweavers.com> writes:
+ if (!CryptCATAdminAcquireContext(&admin,NULL,0)) + { + ERR("Could not acquire security context\n"); + return ERROR_GEN_FAILURE; + } + if (!(cat = CryptCATAdminAddCatalog(admin,catalog,basename,0))) + { + ERR("Could not add catalog\n"); + CryptCATAdminReleaseContext(admin, 0); + return ERROR_GEN_FAILURE;
You should return proper error codes based on the result of the called functions instead of a generic ERROR_GEN_FAILURE. -- Alexandre Julliard julliard(a)winehq.org
6164
Age (days ago)
6164
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard