Mike McCormack : kernel32: Print parameters, call SetLastError()
when failing.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Aug 21 05:58:51 CDT 2006
Module: wine
Branch: master
Commit: 0c20afe6948a1988383d2ae263b86148f2d1ff1f
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=0c20afe6948a1988383d2ae263b86148f2d1ff1f
Author: Mike McCormack <mike at codeweavers.com>
Date: Mon Aug 21 14:28:20 2006 +0900
kernel32: Print parameters, call SetLastError() when failing.
---
dlls/kernel/actctx.c | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/dlls/kernel/actctx.c b/dlls/kernel/actctx.c
index 9daae0a..9bb698f 100644
--- a/dlls/kernel/actctx.c
+++ b/dlls/kernel/actctx.c
@@ -160,7 +160,9 @@ BOOL WINAPI FindActCtxSectionStringA(DWO
ULONG ulId, LPCSTR lpSearchStr,
PACTCTX_SECTION_KEYED_DATA pInfo)
{
- FIXME("stub!\n");
+ FIXME("%08lx %s %lu %s %p\n", dwFlags, debugstr_guid(lpExtGuid),
+ ulId, debugstr_a(lpSearchStr), pInfo);
+ SetLastError( ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
@@ -173,7 +175,9 @@ BOOL WINAPI FindActCtxSectionStringW(DWO
ULONG ulId, LPCWSTR lpSearchStr,
PACTCTX_SECTION_KEYED_DATA pInfo)
{
- FIXME("stub!\n");
+ FIXME("%08lx %s %lu %s %p\n", dwFlags, debugstr_guid(lpExtGuid),
+ ulId, debugstr_w(lpSearchStr), pInfo);
+ SetLastError( ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
@@ -186,7 +190,9 @@ BOOL WINAPI FindActCtxSectionGuid(DWORD
ULONG ulId, const GUID* lpSearchGuid,
PACTCTX_SECTION_KEYED_DATA pInfo)
{
- FIXME("stub!\n");
+ FIXME("%08lx %s %lu %s %p\n", dwFlags, debugstr_guid(lpExtGuid),
+ ulId, debugstr_guid(lpSearchGuid), pInfo);
+ SetLastError( ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
@@ -199,7 +205,8 @@ BOOL WINAPI QueryActCtxW(DWORD dwFlags,
ULONG ulClass, PVOID pvBuff, SIZE_T cbBuff,
SIZE_T *pcbLen)
{
- FIXME("stub!\n");
+ FIXME("%08lx %p %p %lu %p %ld %p\n", dwFlags, hActCtx,
+ pvSubInst, ulClass, pvBuff, cbBuff, pcbLen);
/* this makes Adobe Photoshop 7.0 happy */
SetLastError( ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
More information about the wine-cvs
mailing list