From 8ca58cc2c8d5ca87c19a434f06b6b2f6810aa313 Mon Sep 17 00:00:00 2001 From: Mark Lechtermann Date: Thu, 6 Jan 2022 16:54:05 +0100 Subject: [PATCH] TYPEFLAGS changed to uint (#267) --- PInvoke/Ole/OleAut32/OAIdl.Interfaces.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PInvoke/Ole/OleAut32/OAIdl.Interfaces.cs b/PInvoke/Ole/OleAut32/OAIdl.Interfaces.cs index 0c720910..49b8a59b 100644 --- a/PInvoke/Ole/OleAut32/OAIdl.Interfaces.cs +++ b/PInvoke/Ole/OleAut32/OAIdl.Interfaces.cs @@ -249,7 +249,7 @@ namespace Vanara.PInvoke /// // https://docs.microsoft.com/en-us/windows/win32/api/oaidl/nf-oaidl-icreatetypeinfo-settypeflags HRESULT SetTypeFlags(UINT uTypeFlags); [PreserveSig] - HRESULT SetTypeFlags([MarshalAs(UnmanagedType.U4)] System.Runtime.InteropServices.ComTypes.TYPEFLAGS uTypeFlags); + HRESULT SetTypeFlags(uint uTypeFlags); /// Sets the documentation string displayed by type browsers. /// A brief description of the type description. @@ -1197,7 +1197,7 @@ namespace Vanara.PInvoke /// // https://docs.microsoft.com/en-us/windows/win32/api/oaidl/nf-oaidl-icreatetypeinfo-settypeflags HRESULT SetTypeFlags(UINT uTypeFlags); [PreserveSig] - new HRESULT SetTypeFlags([MarshalAs(UnmanagedType.U4)] System.Runtime.InteropServices.ComTypes.TYPEFLAGS uTypeFlags); + new HRESULT SetTypeFlags(uint uTypeFlags); /// Sets the documentation string displayed by type browsers. /// A brief description of the type description.