Skip to content

Commit

Permalink
Merge pull request #729 from Rinzwind/stwin32info-strictffi
Browse files Browse the repository at this point in the history
  • Loading branch information
jecisc authored Mar 28, 2024
2 parents de48507 + 5af2ef1 commit 0446170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NewTools-FileBrowser/StWin32Info.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ StWin32Info class >> getVolumeInfo: driveLetter [
{ #category : 'private-ffi' }
StWin32Info class >> getVolumeInfo: volumeName into: lpBuffer size: nSize [
"Primitive to obtain an environment variable using windows Wide Strings"
^ self ffiCall: #(uint GetVolumeInformationW (Win32WideString volumeName, Win32WideString lpBuffer, ulong nSize, nil, nil, nil, nil, 0)) module: #kernel32
^ self ffiCall: #(uint GetVolumeInformationW (Win32WideString volumeName, Win32WideString lpBuffer, ulong nSize, ulong* nil, ulong* nil, ulong* nil, Win32WideString nil, ulong 0)) module: #kernel32
]

0 comments on commit 0446170

Please sign in to comment.