Skip to content

Commit dad2045

Browse files
committed
Merge pull request #696 from MartinNowak/windowsAPI
add SetFileAttributes
2 parents 4c57269 + 575793f commit dad2045

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/sys/windows/windows.d

+2
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,8 @@ BOOL MoveFileA(in char *from, in char *to);
508508
BOOL MoveFileW(LPCWSTR lpExistingFileName, LPCWSTR lpNewFileName);
509509
BOOL ReadFile(HANDLE hFile, void *lpBuffer, DWORD nNumberOfBytesToRead,
510510
DWORD *lpNumberOfBytesRead, OVERLAPPED *lpOverlapped);
511+
BOOL SetFileAttributesA(in LPCSTR lpFileName, DWORD dwFileAttributes);
512+
BOOL SetFileAttributesW(in LPCWSTR lpFileName, DWORD dwFileAttributes);
511513
DWORD SetFilePointer(HANDLE hFile, LONG lDistanceToMove,
512514
LONG *lpDistanceToMoveHigh, DWORD dwMoveMethod);
513515
BOOL WriteFile(HANDLE hFile, in void *lpBuffer, DWORD nNumberOfBytesToWrite,

0 commit comments

Comments
 (0)