www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Is this Windows Win32 fileapi.h header accessible in D language?

reply BoQsc <vaidas.boqsc gmail.com> writes:
Unsure where to start, so I decided to ask here how to get use of 
this win32 header.

https://docs.microsoft.com/en-us/windows/win32/api/fileapi/
Feb 08 2022
next sibling parent Adam D Ruppe <destructionator gmail.com> writes:
On Tuesday, 8 February 2022 at 16:10:19 UTC, BoQsc wrote:
 Unsure where to start, so I decided to ask here how to get use 
 of this win32 header.

 https://docs.microsoft.com/en-us/windows/win32/api/fileapi/
There is this for all the upstream things: https://github.com/rumbu13/windows-d But for those functions, you can get through `import core.sys.windows.windows;` i think the name "fileapi.h" is a bit new but the functions aren't.
Feb 08 2022
prev sibling parent reply duser <duser neet.fi> writes:
On Tuesday, 8 February 2022 at 16:10:19 UTC, BoQsc wrote:
 Unsure where to start, so I decided to ask here how to get use 
 of this win32 header.

 https://docs.microsoft.com/en-us/windows/win32/api/fileapi/
the specific module containing that is `core.sys.windows.winbase` my trick to find these is to use github search with the function you want: https://github.com/dlang/druntime/search?q=AreFileApisANSI
Feb 08 2022
parent BoQsc <vaidas.boqsc gmail.com> writes:
On Tuesday, 8 February 2022 at 18:21:46 UTC, duser wrote:
 On Tuesday, 8 February 2022 at 16:10:19 UTC, BoQsc wrote:
 Unsure where to start, so I decided to ask here how to get use 
 of this win32 header.

 https://docs.microsoft.com/en-us/windows/win32/api/fileapi/
the specific module containing that is `core.sys.windows.winbase` my trick to find these is to use github search with the function you want: https://github.com/dlang/druntime/search?q=AreFileApisANSI
This is great. Thanks for now.
Feb 08 2022