From 5af2ef1cee2a1160c6222fb02a301fa23809325b Mon Sep 17 00:00:00 2001 From: Kris <1611248+Rinzwind@users.noreply.github.com> Date: Thu, 28 Mar 2024 18:07:14 +0100 Subject: [PATCH] =?UTF-8?q?Adapted=20#getVolumeInfo:into:size:=20for=20StW?= =?UTF-8?q?in32Info=20to=20changes=20done=20in=20https://github.com/pharo-?= =?UTF-8?q?project/pharo/commit/15c6cf46bf05b5fa=20(=E2=80=9C[=E2=80=A6]Ac?= =?UTF-8?q?tivate=20strict=20FFI[=E2=80=A6]=E2=80=9D).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/NewTools-FileBrowser/StWin32Info.class.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NewTools-FileBrowser/StWin32Info.class.st b/src/NewTools-FileBrowser/StWin32Info.class.st index 68455a0e..85a7f8e5 100644 --- a/src/NewTools-FileBrowser/StWin32Info.class.st +++ b/src/NewTools-FileBrowser/StWin32Info.class.st @@ -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 ]