wined3d: Fix point handling.
[wine/wine64.git] / dlls / sfc / sfc_main.c
blob6563365790a4816c15ea75a92a87b1116339a756
1 /*
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
23 #include <stdarg.h>
25 #include "windef.h"
26 #include "winbase.h"
27 #include "winerror.h"
28 #include "sfc.h"
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
38 * PARAMS
39 * RpcHandle [I] This must be NULL
40 * ProtFileName [I] Filename with Path to check
42 * RETURNS
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
49 * BUGS
50 * We return always the Result for: "File is not Protected"
53 BOOL WINAPI SfcIsFileProtected(HANDLE RpcHandle, LPCWSTR ProtFileName)
55 static BOOL reported = FALSE;
57 if (reported) {
58 TRACE("(%p, %s) stub\n", RpcHandle, debugstr_w(ProtFileName));
60 else
62 FIXME("(%p, %s) stub\n", RpcHandle, debugstr_w(ProtFileName));
63 reported = TRUE;
66 SetLastError(ERROR_FILE_NOT_FOUND);
67 return FALSE;