kernel32: Print a fixme only once.

This commit is contained in:
Louis Lenders 2007-03-22 08:51:57 +00:00 committed by Alexandre Julliard
parent e39dca6af6
commit b335a25638
1 changed files with 20 additions and 2 deletions

View File

@ -86,8 +86,17 @@ HANDLE WINAPI CreateActCtxW(PCACTCTXW pActCtx)
* Activate an activation context.
*/
BOOL WINAPI ActivateActCtx(HANDLE hActCtx, ULONG_PTR *ulCookie)
{
static BOOL reported = FALSE;
if (reported)
TRACE("%p %p\n", hActCtx, ulCookie);
else
{
FIXME("%p %p\n", hActCtx, ulCookie);
reported = TRUE;
}
if (ulCookie)
*ulCookie = ACTCTX_FAKE_COOKIE;
return TRUE;
@ -99,8 +108,17 @@ BOOL WINAPI ActivateActCtx(HANDLE hActCtx, ULONG_PTR *ulCookie)
* Deactivate an activation context.
*/
BOOL WINAPI DeactivateActCtx(DWORD dwFlags, ULONG_PTR ulCookie)
{
static BOOL reported = FALSE;
if (reported)
TRACE("%08x %08lx\n", dwFlags, ulCookie);
else
{
FIXME("%08x %08lx\n", dwFlags, ulCookie);
reported = TRUE;
}
if (ulCookie != ACTCTX_FAKE_COOKIE)
return FALSE;
return TRUE;