dos12.hlp (Table of Contents; Topic list)
DosSetVerify (1.2)
Function Group  Overview                          Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_DOSFILEMGR
 
USHORT DosSetVerify(fVerify)
USHORT fVerify;    /* verify on/off */
 
The DosSetVerify function enables or disables data verification. When
verification is enabled, the system verifies that data is written correctly
whenever a process writes to a disk file.
 
The DosSetVerify function is a family API function.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
fVerify    Specifies whether data verification is enabled. If the fVerify
           parameter is TRUE, verification is enabled. If it is FALSE,
           verification is disabled.
 
Return Value
 
The return value is zero if the function is successful. Otherwise, it is an
error value, which may be the following:
 
     ERROR_INVALID_VERIFY_SWITCH
 
Comments
 
Errors when writing to a disk file are very rare. This DosSetVerify function
allows a process to verify the proper recording of critical data.
 
See Also
 
DosQVerify