odbccp32: Initialize the usage count in SQLRemoveDriverManager and SQLRemoveDriver (valgrind).
This commit is contained in:
parent
710b643b2f
commit
92405a2d98
|
@ -845,6 +845,7 @@ BOOL WINAPI SQLRemoveDriverW(LPCWSTR lpszDriver, BOOL fRemoveDSN,
|
||||||
{
|
{
|
||||||
clear_errors();
|
clear_errors();
|
||||||
FIXME("stub\n");
|
FIXME("stub\n");
|
||||||
|
if (lpdwUsageCount) *lpdwUsageCount = 1;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -853,6 +854,7 @@ BOOL WINAPI SQLRemoveDriver(LPCSTR lpszDriver, BOOL fRemoveDSN,
|
||||||
{
|
{
|
||||||
clear_errors();
|
clear_errors();
|
||||||
FIXME("stub\n");
|
FIXME("stub\n");
|
||||||
|
if (lpdwUsageCount) *lpdwUsageCount = 1;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -860,6 +862,7 @@ BOOL WINAPI SQLRemoveDriverManager(LPDWORD pdwUsageCount)
|
||||||
{
|
{
|
||||||
clear_errors();
|
clear_errors();
|
||||||
FIXME("stub\n");
|
FIXME("stub\n");
|
||||||
|
if (pdwUsageCount) *pdwUsageCount = 1;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue