[CMAKE]
[reactos.git] / dll / win32 / advapi32 / sec / sec.c
index 2ad2bff..99222f3 100644 (file)
@@ -534,75 +534,4 @@ BuildSecurityDescriptorA(IN PTRUSTEE_A pOwner  OPTIONAL,
     return FALSE;
 }
 
-
-/*
- * @unimplemented
- */
-BOOL WINAPI DecryptFileW(LPCWSTR lpFileName, DWORD dwReserved)
-{
-    FIXME("%s(%S) not implemented!\n", __FUNCTION__, lpFileName);
-    return TRUE;
-}
-
-
-/*
- * @implemented
- */
-BOOL WINAPI
-DecryptFileA(LPCSTR lpFileName, DWORD dwReserved)
-{
-    UNICODE_STRING FileName;
-    NTSTATUS Status;
-    BOOL ret;
-
-    Status = RtlCreateUnicodeStringFromAsciiz(&FileName, lpFileName);
-    if (!NT_SUCCESS(Status))
-    {
-        SetLastError(RtlNtStatusToDosError(Status));
-        return FALSE;
-    }
-
-    ret = DecryptFileW(FileName.Buffer, dwReserved);
-
-    if (FileName.Buffer != NULL)
-        RtlFreeUnicodeString(&FileName);
-    return ret;
-}
-
-
-/*
- * @unimplemented
- */
-BOOL WINAPI
-EncryptFileW(LPCWSTR lpFileName)
-{
-    FIXME("%s() not implemented!\n", __FUNCTION__);
-    return TRUE;
-}
-
-
-/*
- * @implemented
- */
-BOOL WINAPI
-EncryptFileA(LPCSTR lpFileName)
-{
-    UNICODE_STRING FileName;
-    NTSTATUS Status;
-    BOOL ret;
-
-    Status = RtlCreateUnicodeStringFromAsciiz(&FileName, lpFileName);
-    if (!NT_SUCCESS(Status))
-    {
-        SetLastError(RtlNtStatusToDosError(Status));
-        return FALSE;
-    }
-
-    ret = EncryptFileW(FileName.Buffer);
-
-    if (FileName.Buffer != NULL)
-        RtlFreeUnicodeString(&FileName);
-    return ret;
-}
-
 /* EOF */