Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

CloseEncryptedFileRaw function

Closes an encrypted file after a backup or restore operation, and frees associated system resources. This is one of a group of Encrypted File System (EFS) functions that is intended to implement backup and restore functionality, while maintaining files in their encrypted state.

Syntax


void WINAPI CloseEncryptedFileRaw(
  _In_  PVOID pvContext
);

Parameters

pvContext [in]

A pointer to a system-defined context block. The OpenEncryptedFileRaw function returns the context block.

Return value

This function does not return a value.

Remarks

The CloseEncryptedFileRaw function frees allocated system resources such as the system-defined context block and closes the file.

The BackupRead and BackupWrite functions handle backup and restore of unencrypted files.

In Windows 8 and Windows Server 2012, this function is supported by the following technologies.

TechnologySupported

Server Message Block (SMB) 3.0 protocol

Yes

SMB 3.0 Transparent Failover (TFO)

No

SMB 3.0 with Scale-out File Shares (SO)

No

Cluster Shared Volume File System (CsvFS)

No

Resilient File System (ReFS)

No

 

Note that SMB 3.0 does not support EFS on shares with continuous availability capability.

Requirements

Minimum supported client

Windows XP Professional [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

WinBase.h (include Windows.h)

Library

Advapi32.lib

DLL

Advapi32.dll

See also

BackupRead
BackupWrite
File Encryption
File Management Functions
OpenEncryptedFileRaw
ReadEncryptedFileRaw
WriteEncryptedFileRaw

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.