Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commented out C library functions #43

Merged
merged 1 commit into from
Apr 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: win32cr
version: 0.3.5
version: 0.3.6

authors:
- Matthew J. Black <mjblack@gmail.com>
Expand Down
6 changes: 4 additions & 2 deletions src/win32cr/storage/filesystem.cr
Original file line number Diff line number Diff line change
Expand Up @@ -3110,7 +3110,8 @@ lib LibWin32
fun CreateDirectoryA(lppathname : PSTR, lpsecurityattributes : SECURITY_ATTRIBUTES*) : LibC::BOOL

# Params # lppathname : LibC::LPWSTR [In],lpsecurityattributes : SECURITY_ATTRIBUTES* [In]
fun CreateDirectoryW(lppathname : LibC::LPWSTR, lpsecurityattributes : SECURITY_ATTRIBUTES*) : LibC::BOOL
# Commented out because function is part of Lib C
#fun CreateDirectoryW(lppathname : LibC::LPWSTR, lpsecurityattributes : SECURITY_ATTRIBUTES*) : LibC::BOOL

# Params # lpfilename : PSTR [In],dwdesiredaccess : FILE_ACCESS_FLAGS [In],dwsharemode : FILE_SHARE_MODE [In],lpsecurityattributes : SECURITY_ATTRIBUTES* [In],dwcreationdisposition : FILE_CREATION_DISPOSITION [In],dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES [In],htemplatefile : LibC::HANDLE [In]
fun CreateFileA(lpfilename : PSTR, dwdesiredaccess : FILE_ACCESS_FLAGS, dwsharemode : FILE_SHARE_MODE, lpsecurityattributes : SECURITY_ATTRIBUTES*, dwcreationdisposition : FILE_CREATION_DISPOSITION, dwflagsandattributes : FILE_FLAGS_AND_ATTRIBUTES, htemplatefile : LibC::HANDLE) : LibC::HANDLE
Expand Down Expand Up @@ -3327,7 +3328,8 @@ lib LibWin32
fun SetFilePointer(hfile : LibC::HANDLE, ldistancetomove : Int32, lpdistancetomovehigh : Int32*, dwmovemethod : SET_FILE_POINTER_MOVE_METHOD) : UInt32

# Params # hfile : LibC::HANDLE [In],lidistancetomove : LARGE_INTEGER [In],lpnewfilepointer : LARGE_INTEGER* [In],dwmovemethod : SET_FILE_POINTER_MOVE_METHOD [In]
fun SetFilePointerEx(hfile : LibC::HANDLE, lidistancetomove : LARGE_INTEGER, lpnewfilepointer : LARGE_INTEGER*, dwmovemethod : SET_FILE_POINTER_MOVE_METHOD) : LibC::BOOL
# Commented out because function is part of Lib C
#fun SetFilePointerEx(hfile : LibC::HANDLE, lidistancetomove : LARGE_INTEGER, lpnewfilepointer : LARGE_INTEGER*, dwmovemethod : SET_FILE_POINTER_MOVE_METHOD) : LibC::BOOL

# Params # hfile : LibC::HANDLE [In],lpcreationtime : FILETIME* [In],lplastaccesstime : FILETIME* [In],lplastwritetime : FILETIME* [In]
# Commented out because function is part of Lib C
Expand Down
Loading