mirror of https://github.com/dahall/Vanara.git
Fixed #262 and adjusted other functions in ICreateTypeInfo to include enums.
parent
b003cb62c1
commit
52af822dfd
|
@ -249,7 +249,7 @@ namespace Vanara.PInvoke
|
|||
/// </returns>
|
||||
// https://docs.microsoft.com/en-us/windows/win32/api/oaidl/nf-oaidl-icreatetypeinfo-settypeflags HRESULT SetTypeFlags(UINT uTypeFlags);
|
||||
[PreserveSig]
|
||||
HRESULT SetTypeFlags(uint uTypeFlags);
|
||||
HRESULT SetTypeFlags([MarshalAs(UnmanagedType.U4)] System.Runtime.InteropServices.ComTypes.TYPEFLAGS uTypeFlags);
|
||||
|
||||
/// <summary>Sets the documentation string displayed by type browsers.</summary>
|
||||
/// <param name="pStrDoc">A brief description of the type description.</param>
|
||||
|
@ -396,7 +396,7 @@ namespace Vanara.PInvoke
|
|||
// https://docs.microsoft.com/en-us/windows/win32/api/oaidl/nf-oaidl-icreatetypeinfo-addreftypeinfo HRESULT AddRefTypeInfo(//
|
||||
// ITypeInfo *pTInfo, HREFTYPE *phRefType);
|
||||
[PreserveSig]
|
||||
HRESULT AddRefTypeInfo([In] ITypeInfo pTInfo, in uint phRefType);
|
||||
HRESULT AddRefTypeInfo([In] ITypeInfo pTInfo, out uint phRefType);
|
||||
|
||||
/// <summary>Adds a function description to the type description.</summary>
|
||||
/// <param name="index">The index of the new FUNCDESC in the type information.</param>
|
||||
|
@ -549,7 +549,7 @@ namespace Vanara.PInvoke
|
|||
// https://docs.microsoft.com/en-us/windows/win32/api/oaidl/nf-oaidl-icreatetypeinfo-setimpltypeflags HRESULT
|
||||
// SetImplTypeFlags(// UINT index, INT implTypeFlags);
|
||||
[PreserveSig]
|
||||
HRESULT SetImplTypeFlags(uint index, int implTypeFlags);
|
||||
HRESULT SetImplTypeFlags(uint index, System.Runtime.InteropServices.ComTypes.IMPLTYPEFLAGS implTypeFlags);
|
||||
|
||||
/// <summary>Specifies the data alignment for an item of TYPEKIND=TKIND_RECORD.</summary>
|
||||
/// <param name="cbAlignment">
|
||||
|
@ -1197,7 +1197,7 @@ namespace Vanara.PInvoke
|
|||
/// </returns>
|
||||
// https://docs.microsoft.com/en-us/windows/win32/api/oaidl/nf-oaidl-icreatetypeinfo-settypeflags HRESULT SetTypeFlags(UINT uTypeFlags);
|
||||
[PreserveSig]
|
||||
new HRESULT SetTypeFlags(uint uTypeFlags);
|
||||
new HRESULT SetTypeFlags([MarshalAs(UnmanagedType.U4)] System.Runtime.InteropServices.ComTypes.TYPEFLAGS uTypeFlags);
|
||||
|
||||
/// <summary>Sets the documentation string displayed by type browsers.</summary>
|
||||
/// <param name="pStrDoc">A brief description of the type description.</param>
|
||||
|
@ -1344,7 +1344,7 @@ namespace Vanara.PInvoke
|
|||
// https://docs.microsoft.com/en-us/windows/win32/api/oaidl/nf-oaidl-icreatetypeinfo-addreftypeinfo HRESULT AddRefTypeInfo(//
|
||||
// ITypeInfo *pTInfo, HREFTYPE *phRefType);
|
||||
[PreserveSig]
|
||||
new HRESULT AddRefTypeInfo([In] ITypeInfo pTInfo, in uint phRefType);
|
||||
new HRESULT AddRefTypeInfo([In] ITypeInfo pTInfo, out uint phRefType);
|
||||
|
||||
/// <summary>Adds a function description to the type description.</summary>
|
||||
/// <param name="index">The index of the new FUNCDESC in the type information.</param>
|
||||
|
@ -1497,7 +1497,7 @@ namespace Vanara.PInvoke
|
|||
// https://docs.microsoft.com/en-us/windows/win32/api/oaidl/nf-oaidl-icreatetypeinfo-setimpltypeflags HRESULT
|
||||
// SetImplTypeFlags(// UINT index, INT implTypeFlags);
|
||||
[PreserveSig]
|
||||
new HRESULT SetImplTypeFlags(uint index, int implTypeFlags);
|
||||
new HRESULT SetImplTypeFlags(uint index, System.Runtime.InteropServices.ComTypes.IMPLTYPEFLAGS implTypeFlags);
|
||||
|
||||
/// <summary>Specifies the data alignment for an item of TYPEKIND=TKIND_RECORD.</summary>
|
||||
/// <param name="cbAlignment">
|
||||
|
|
Loading…
Reference in New Issue