hf (HFILE) - input
ulInfoLevel (ULONG) - input
A value of 1 or 2 can be specified, as shown in the following list.
The structures described in pInfoBuf indicate the information being set for each of these levels.
pInfoBuf (PVOID) - input
Level 1 File Information (ulInfoLevel == FIL_STANDARD)
Level 2 sets a series of EA name/value pairs. On input, pInfoBuf is an EAOP2 data structure. fpGEA2List is ignored. fpFEA2List points to a data area where the relevant is an FEA2 list is to be found. oError is ignored.
On output, fpGEA2List and fpFEA2List are unchanged. The area pointed to by fpFEA2List is unchanged. If an error occurred during the set, oError is the offset of the FEA2 where the error occurred. The return code is the error code corresponding to the condition generating the error. If no error occurred, oError is undefined.
cbInfoBuf (ULONG) - input
fhFileHandleLockID (FHLOCK) - input
ulrc (APIRET) - returns
DosProtectSetFileInfo returns one of the following values: