Product Site

8.72. SysWinEncryptFile (Windows only)

Encrypts a given file.

Parameter:
filename

The file to be encrypted.

Return codes:
0

Encryption was successful.
Other

A Windows System Error code. This may be one of the following, but could be others.
2

File not found.
4

Cannot open file.
5

Access denied.
82

Cannot encrypt.