From df37574cb3a55b718a6ab2f87db54fa7c7cbf395 Mon Sep 17 00:00:00 2001 From: Kris <1611248+Rinzwind@users.noreply.github.com> Date: Thu, 28 Mar 2024 20:31:40 +0100 Subject: [PATCH] =?UTF-8?q?Fixed=20mistakes=20made=20in=20commit=205af2ef1?= =?UTF-8?q?cee2a1160=20(=E2=80=9CAdapted=20#getVolumeInfo:into:size:=20for?= =?UTF-8?q?=20StWin32Info=20to=20[=E2=80=A6]=E2=80=9D):=20the=20use=20of?= =?UTF-8?q?=20=E2=80=98ulong*=20nil=E2=80=99=20caused=20an=20Error=20?= =?UTF-8?q?=E2=80=9Cmissing=20argument=20name=E2=80=9D=20to=20be=20signale?= =?UTF-8?q?d,=20and=20the=20use=20of=20=E2=80=98Win32WideString=20nil?= =?UTF-8?q?=E2=80=99=20caused=20an=20FFIUnsupportedUntypedLiteral=20to=20b?= =?UTF-8?q?e=20signaled.?= 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 85a7f8e5..11a891c4 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, 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 ]