Commit 33bd852c authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

sfc: Print a FIXME only once.

parent 425608a1
......@@ -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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment