winapi - ULIB.dll -- Any API documentation? How do you use it? -
a little peeking @ disassembly of tree.com
(the command shows directory tree given folder) shows functionality lies in ulib.dll
, same file system library used chkdsk.exe
.
which pretty funny, considering enumerating directory tree should pretty straightforward findfirstfile
, findnextfile
...
so here come 2 questions:
- why
tree.com
useulib.dll
(seemingly) trivial? why not use standard traversal methods? - is there any documentation whatsoever (official or unofficial) on api of library? thing i've found this api listing, there more?
because has version of findfirstfile declared as:
void* __stdcall findfirstfilew(class path const *, struct _win32_find_dataw *)
why use c api when you've got nice c++ implementation lying around. internal microsoft library, not documented.
Comments
Post a Comment