ReactOS 0.4.15-dev-7924-g5949c20
sfc.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _PROTECTED_FILE_DATA
 

Typedefs

typedef struct _PROTECTED_FILE_DATA PROTECTED_FILE_DATA
 
typedef struct _PROTECTED_FILE_DATAPPROTECTED_FILE_DATA
 

Functions

BOOL WINAPI SfcGetNextProtectedFile (HANDLE, PPROTECTED_FILE_DATA)
 
BOOL WINAPI SfcIsFileProtected (HANDLE, LPCWSTR)
 
BOOL WINAPI SfcIsKeyProtected (HKEY, LPCWSTR, REGSAM)
 
BOOL WINAPI SfpVerifyFile (LPCSTR, LPSTR, DWORD)
 

Typedef Documentation

◆ PPROTECTED_FILE_DATA

◆ PROTECTED_FILE_DATA

Function Documentation

◆ SfcGetNextProtectedFile()

BOOL WINAPI SfcGetNextProtectedFile ( HANDLE  RpcHandle,
PPROTECTED_FILE_DATA  ProtFileData 
)

Definition at line 142 of file sfc_os.c.

143{
144 if (!ProtFileData)
145 {
147 return FALSE;
148 }
149
152 return FALSE;
153}
#define UNIMPLEMENTED
Definition: debug.h:115
#define FALSE
Definition: types.h:117
#define ERROR_INVALID_PARAMETER
Definition: compat.h:101
#define SetLastError(x)
Definition: compat.h:752
#define ERROR_NO_MORE_FILES
Definition: winerror.h:121

Referenced by START_TEST().

◆ SfcIsFileProtected()

BOOL WINAPI SfcIsFileProtected ( HANDLE  RpcHandle,
LPCWSTR  ProtFileName 
)

Definition at line 83 of file sfc_os.c.

84{
85 static BOOL reported = FALSE;
86
87 if (reported) {
88 DPRINT("(%p, %S) stub\n", RpcHandle, ProtFileName);
89 }
90 else
91 {
92 DPRINT1("(%p, %S) stub\n", RpcHandle, ProtFileName);
93 reported = TRUE;
94 }
95
97 return FALSE;
98}
LPCWSTR ProtFileName
#define DPRINT1
Definition: precomp.h:8
#define TRUE
Definition: types.h:120
unsigned int BOOL
Definition: ntddk_ex.h:94
#define ERROR_FILE_NOT_FOUND
Definition: disk.h:79
#define DPRINT
Definition: sndvol32.h:71

Referenced by CLayerUIPropPage::InitFile(), START_TEST(), and Test_ProtectedFiles().

◆ SfcIsKeyProtected()

BOOL WINAPI SfcIsKeyProtected ( HKEY  hKey,
LPCWSTR  lpSubKey,
REGSAM  samDesired 
)

Definition at line 117 of file sfc_os.c.

118{
119 static BOOL reported = FALSE;
120
121 if (reported) {
122 DPRINT("(%p, %S) stub\n", hKey, lpSubKey);
123 }
124 else
125 {
126 DPRINT1("(%p, %S) stub\n", hKey, lpSubKey);
127 reported = TRUE;
128 }
129
130 if( !hKey ) {
132 return FALSE;
133 }
134
136 return FALSE;
137}
#define ERROR_INVALID_HANDLE
Definition: compat.h:98
FxAutoRegKey hKey

Referenced by START_TEST().

◆ SfpVerifyFile()

BOOL WINAPI SfpVerifyFile ( LPCSTR  pszFileName,
LPSTR  pszError,
DWORD  dwErrSize 
)

Definition at line 126 of file sfc.c.

127{
129 return FALSE;
130}
#define ERROR_CALL_NOT_IMPLEMENTED
Definition: compat.h:102