File Management Functions


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

C++
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.

Requirements

Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinBase.h (include Windows.h)
LibraryAdvapi32.lib
DLLAdvapi32.dll

See Also

BackupRead
BackupWrite
File Encryption
File Management Functions
OpenEncryptedFileRaw
ReadEncryptedFileRaw
WriteEncryptedFileRaw

Send comments about this topic to Microsoft

Build date: 11/12/2009

Tags :


Page view tracker