Am 08.02.2011 17:40, schrieb Kagamin:
Trass3r Wrote:
> HANDLE WINAPI FindFirstChangeNotification(
> __in LPCTSTR lpPathName,
> __in BOOL bWatchSubtree,
> __in DWORD dwNotifyFilter
> );
FindFirstChangeNotification is - like any other Windows function that receives
a string - just an alias that points to a version with suffix W or A depending
on whether your project is configured to be Unicode or not.
D string encoding is not configurable. What configuration are you talking about?
or these typical win-api phobos constructs
from std.file
auto h = useWfuncs ?
CreateFileW(std.utf.toUTF16z(name), defaults) :
CreateFileA(toMBSz(name), defaults);