Skip to content

Commit 743f071

Browse files
yebbliesMartinNowak
authored andcommitted
Merge pull request #696 from MartinNowak/windowsAPI
add SetFileAttributes
1 parent 69a6ef9 commit 743f071

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)