2 * Implementation of the System File Checker (Windows File Protection)
4 * Copyright 2006 Detlef Riekenberg
6 * This file contains only stubs to get the localspl.dll up and running
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
29 #include "wine/debug.h"
31 WINE_DEFAULT_DEBUG_CHANNEL(sfc);
33 /******************************************************************
34 * SfcIsFileProtected [SFC.@]
36 * Check, if the given File is protected by the System
39 * RpcHandle [I] This must be NULL
40 * ProtFileName [I] Filename with Path to check
43 * Failure: FALSE with GetLastError() != ERROR_FILE_NOT_FOUND
44 * Success: TRUE, when the File is Protected
45 * FALSE with GetLastError() == ERROR_FILE_NOT_FOUND,
46 * when the File is not Protected
50 * We return always the Result for: "File is not Protected"
53 BOOL WINAPI SfcIsFileProtected(HANDLE RpcHandle, LPCWSTR ProtFileName)
55 static BOOL reported = FALSE;
58 TRACE("(%p, %s) stub\n", RpcHandle, debugstr_w(ProtFileName));
62 FIXME("(%p, %s) stub\n", RpcHandle, debugstr_w(ProtFileName));
66 SetLastError(ERROR_FILE_NOT_FOUND);