From 48845ef80abfd7fa56987bd11a02c8d8c908a86d Mon Sep 17 00:00:00 2001 From: miere43 Date: Mon, 25 Oct 2021 22:46:45 +0300 Subject: [PATCH] Return uint32 from COM_IUnknown.AddRef and Release methods --- BeefLibs/corlib/src/Windows.bf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BeefLibs/corlib/src/Windows.bf b/BeefLibs/corlib/src/Windows.bf index e1d1848c..44f3ba04 100644 --- a/BeefLibs/corlib/src/Windows.bf +++ b/BeefLibs/corlib/src/Windows.bf @@ -48,8 +48,8 @@ namespace System public struct VTable { public function HResult(COM_IUnknown* self, ref Guid riid, void** result) QueryInterface; - public function HResult(COM_IUnknown* self) AddRef; - public function HResult(COM_IUnknown* self) Release; + public function uint32(COM_IUnknown* self) AddRef; + public function uint32(COM_IUnknown* self) Release; } public enum HResult : int32