Skip to content

Commit

Permalink
Merge pull request #730 from Rinzwind/stwin32info-strictffi-fix
Browse files Browse the repository at this point in the history
Fix function signature in #getVolumeInfo:into:size: for StWin32Info
  • Loading branch information
MarcusDenker authored Mar 29, 2024
2 parents 0446170 + df37574 commit ea48b8b
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, ulong* nil, ulong* nil, ulong* nil, Win32WideString nil, ulong 0)) module: #kernel32
^ self ffiCall: #(uint GetVolumeInformationW (Win32WideString volumeName, Win32WideString lpBuffer, ulong nSize, void* 0, void* 0, void* 0, Win32WideString 0, ulong 0)) module: #kernel32
]

0 comments on commit ea48b8b

Please sign in to comment.