Skip to content

Commit

Permalink
Adapted #getVolumeInfo:into:size: for StWin32Info to changes done in p…
Browse files Browse the repository at this point in the history
…haro-project/pharo@15c6cf46bf05b5fa (“[…]Activate strict FFI[…]”).
  • Loading branch information
Rinzwind committed Mar 28, 2024
1 parent f2b13cd commit 5af2ef1
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 5af2ef1

Please sign in to comment.