PxIOPasswordSet |
|
Sets the keyed file password
int PxIOPasswordSet(PxIOFileHandle handle, const char *password, size_t passwordSize, unsigned char permission);
Where:
handle |
The handle of an open keyed file | ||||||||
password |
A character string containing the new password | ||||||||
passwordSize |
Length of the new password | ||||||||
permission |
The permissions that the new password will provide. The following predefined permissions are available:
|
If the function succeeds, a value of PXIO_SUCCESS_STATUS is returned; otherwise, an error value is returned. More information on the nature of the error can be found by calling PxIOGetError.