Changeset 127 for trunk/src/helpers/wphandle.c
- Timestamp:
- Jan 5, 2002, 8:11:10 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/wphandle.c
r116 r127 949 949 * filename for hObject. 950 950 * This is a one-shot function, using wphQueryActiveHandles, 951 * wphReadAllBlocks, and wphFindPartName. 951 * wphLoadHandles, and wphComposePath. 952 * As a result, this function is _very_ expensive. 952 953 * 953 954 * Returns: … … 956 957 * 957 958 * -- ERROR_INVALID_HANDLE: hObject is invalid. 959 * 960 * -- ERROR_WPH_NOT_FILESYSTEM_HANDLE: hObject's hiword is wrong. 958 961 * 959 962 *@@changed V0.9.16 (2001-10-02) [umoeller]: rewritten … … 983 986 else 984 987 { 988 USHORT usHiwordFileSystem = ((PHANDLESBUF)hHandles)->usHiwordFileSystem; 989 985 990 // is this really a file-system object? 986 if (HIUSHORT(hObject) == ((PHANDLESBUF)hHandles)->usHiwordFileSystem)991 if (HIUSHORT(hObject) == usHiwordFileSystem) 987 992 { 988 993 // use loword only … … 998 1003 // _Pmpf((__FUNCTION__ ": wphFindPartName returned %d", arc)); 999 1004 } 1005 else 1006 arc = ERROR_WPH_NOT_FILESYSTEM_HANDLE; 1000 1007 1001 1008 wphFreeHandles(&hHandles);
Note:
See TracChangeset
for help on using the changeset viewer.