Ignore:
Timestamp:
Jan 5, 2002, 8:11:10 PM (24 years ago)
Author:
umoeller
Message:

Tons of updates for turbo folders and replacement icons.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/wphandle.c

    r116 r127  
    949949 *      filename for hObject.
    950950 *      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.
    952953 *
    953954 *      Returns:
     
    956957 *
    957958 *      --  ERROR_INVALID_HANDLE: hObject is invalid.
     959 *
     960 *      --  ERROR_WPH_NOT_FILESYSTEM_HANDLE: hObject's hiword is wrong.
    958961 *
    959962 *@@changed V0.9.16 (2001-10-02) [umoeller]: rewritten
     
    983986            else
    984987            {
     988                USHORT usHiwordFileSystem = ((PHANDLESBUF)hHandles)->usHiwordFileSystem;
     989
    985990                // is this really a file-system object?
    986                 if (HIUSHORT(hObject) == ((PHANDLESBUF)hHandles)->usHiwordFileSystem)
     991                if (HIUSHORT(hObject) == usHiwordFileSystem)
    987992                {
    988993                    // use loword only
     
    9981003                    // _Pmpf((__FUNCTION__ ": wphFindPartName returned %d", arc));
    9991004                }
     1005                else
     1006                    arc = ERROR_WPH_NOT_FILESYSTEM_HANDLE;
    10001007
    10011008                wphFreeHandles(&hHandles);
Note: See TracChangeset for help on using the changeset viewer.