Ignore:
Timestamp:
Nov 1, 2016, 7:26:35 PM (9 years ago)
Author:
bird
Message:

lib/nt: Got fts-nt halfways working, quite a few NT interface changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/nt/ntdir.h

    r2708 r2985  
    6565/** @}  */
    6666
     67/** @name BIRDDIR_F_XXX - birdDirOpenFromHandle & BirdDir_T::fFlags
     68 * @{ */
     69/** birdDirClose should also close pvHandle.  */
     70#define BIRDDIR_F_CLOSE_HANDLE  1U
     71/** birdDirClose should not close the handle.  */
     72#define BIRDDIR_F_KEEP_HANDLE   0U
     73/** Provide extra info (stat). */
     74#define BIRDDIR_F_EXTRA_INFO    2U
     75/** Whether to restart the scan. */
     76#define BIRDDIR_F_RESTART_SCAN  4U
     77/** @} */
     78
    6779typedef struct BirdDir
    6880{
    6981    /** Magic value. */
    7082    unsigned            uMagic;
     83    /** Flags. */
     84    unsigned            fFlags;
    7185    /** The directory handle. */
    7286    void               *pvHandle;
     
    98112BirdDir_T      *birdDirOpen(const char *pszPath);
    99113BirdDir_T      *birdDirOpenExtraInfo(const char *pszPath);
     114BirdDir_T      *birdDirOpenExW(void *hRoot, const wchar_t *pwszPath, const wchar_t *pwszFilter, unsigned fFlags);
     115BirdDir_T      *birdDirOpenFromHandle(void *hDir, const void *pvReserved, unsigned fFlags);
    100116BirdDirEntry_T *birdDirRead(BirdDir_T *pDir);
    101117long            birdDirTell(BirdDir_T *pDir);
Note: See TracChangeset for help on using the changeset viewer.