activeds: add stub for ADsGetLastError
James Hawkins
truiken at gmail.com
Thu Aug 21 13:16:50 CDT 2008
On Tue, Aug 19, 2008 at 4:14 PM, Louis. Lenders
<xerox_xerox2000 at 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
More information about the wine-devel
mailing list