sfc: Print a FIXME only once.

This commit is contained in:
Detlef Riekenberg 2006-08-17 21:28:32 +02:00 committed by Alexandre Julliard
parent 425608a120
commit 33bd852cd2
1 changed files with 11 additions and 1 deletions

View File

@ -52,7 +52,17 @@ WINE_DEFAULT_DEBUG_CHANNEL(sfc);
*/
BOOL WINAPI SfcIsFileProtected(HANDLE RpcHandle, LPCWSTR ProtFileName)
{
FIXME("(%p, %s) stub\n", RpcHandle, debugstr_w(ProtFileName));
static BOOL reported = FALSE;
if (reported) {
TRACE("(%p, %s) stub\n", RpcHandle, debugstr_w(ProtFileName));
}
else
{
FIXME("(%p, %s) stub\n", RpcHandle, debugstr_w(ProtFileName));
reported = TRUE;
}
SetLastError(ERROR_FILE_NOT_FOUND);
return FALSE;
}