advpack: Add tests for the TranslateInfStringEx trio of functions and
[wine/gsoc_dplay.git] / dlls / sfc / sfc_main.c
blob5ff09b462e38f3ef6d0c8f07a35c0e5f2b978aca
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 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 FIXME("(%p, %s) stub\n", RpcHandle, debugstr_w(ProtFileName));
56 SetLastError(ERROR_FILE_NOT_FOUND);
57 return FALSE;