PRB: ERROR_VOLUME_EXISTS Defined Incorrectly in DDK Error.hLast reviewed: December 14, 1995Article ID: Q141046 |
The information in this article applies to:
SYMPTOMSERROR_VOLUME_EXISTS is defined in the Error.h file that ships with the Windows 95 DDK as 606h. However, the value of ERROR_VOLUME_EXISTS used internally by Windows 95 (IFSMGR and the FSDs shipped with the product) is 284h. As a result, IFSMGR rejects the remount request and forces a new mount if FSDs for removeable media returns ERROR_VOLUME_EXISTS.
RESOLUTIONThis has been fixed for future versions of Windows. FSDs for Windows 95 should use the value 284h for ERROR_VOLUME_EXISTS for Windows 95, and the value 606h for versions beyond Windows 95. The following code fragment might be used for FSDs to determine what error number to return for ERROR_VOLUME_EXISTS: DetermineVolumeExistsErrorcode proc near
VxDcall IFSMgr_GetVersion cmp eax, WIN95_IFSMGR ; this value is 022H for Windows 95 ja ret_nash_error ; use new errorcode for Nashville mov eax, OLD_ERROR_VOLUME_EXISTS ; this value is 0284H retret_nash_error: mov eax, ERROR_VOLUME_EXISTS ; defined in Error.inc that is ; part of Windows 95 DDK in INC16 dir retDetermineVolumeExistsErrorCode endp
|
Additional reference words: 4.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |