On Tue, Aug 19, 2008 at 4:14 PM, Louis. Lenders <xerox_xerox2000(a)yahoo.co.uk> wrote:
Fixes a crash in Dameware utilities
@@ -6,7 +6,7 @@ 8 stub ADsBuildVarArrayInt 9 stdcall ADsOpenObject(wstr wstr wstr long ptr ptr) 12 stub ADsSetLastError -13 stub ADsGetLastError +13 stdcall ADsGetLastError(ptr wstr long wstr long) Both of those wstr parameters are out pointers so they should be ptr, not wstr. /***************************************************** + * ADsGetLastError [ACTIVEDS.13] + */ +HRESULT WINAPI ADsGetLastError(LPDWORD pError, LPWSTR buffer, DWORD buflen, LPWSTR bufname, DWORD bufnamelen) +{ + FIXME("(%p,%p,%d,%p,%d)stub\n", pError, buffer, buflen, bufname, bufnamelen); + return E_POINTER; +} Returning E_POINTER seems pretty wrong. -- James Hawkins
participants (1)
-
James Hawkins