![]() ![]() To use them, you must either define them yourself or compare against the numerical value. ![]() These are pre-Win32 error codes and are no longer supported or defined in any public header file.However, these values are provided with these warnings: ![]() Those particular values are detailed here, and for these specific values only these meanings should be accepted over the Winerror.h codes. However, several of its possible return values are based on pre-Win32 error codes, which in some cases overlap the later Winerror.h values without matching their meaning. To examine the nonzero values for troubleshooting purposes, they largely map to those defined in Winerror.h. If you do not check fAnyOperationsAborted as well as the return value, you cannot know that the function accomplished the full task you asked of it and you might proceed under incorrect assumptions.ĭo not use GetLastError with the return values of this function. SHFileOperation can return 0 for success if the user cancels the operation. It is good practice to examine the value of the fAnyOperationsAborted member of the SHFILEOPSTRUCT. Applications normally should simply check for zero or nonzero. Returns zero if successful otherwise nonzero. If you do not validate it, you will experience unexpected results. You are responsible for validating the value. This parameter must contain a valid value that is not NULL. Syntax int SHFileOperationW(Ī pointer to an SHFILEOPSTRUCT structure that contains information this function needs to carry out the specified operation. This function has been replaced in Windows Vista by IFileOperation. Copies, moves, renames, or deletes a file system object. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |