20 lines
672 B
C#
20 lines
672 B
C#
|
|
|
|
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace SuperMap.RealEstate.SecurityDevice
|
|
{
|
|
[ComImport, GuidAttribute("CB5BDC81-93C1-11CF-8F20-00805F2CD064")]
|
|
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
|
|
public interface IObjectSafety
|
|
{
|
|
[PreserveSig]
|
|
int GetInterfaceSafetyOptions(ref Guid riid, [MarshalAs(UnmanagedType.U4)] ref int pdwSupportedOptions, [MarshalAs(UnmanagedType.U4)] ref int pdwEnabledOptions);
|
|
|
|
[PreserveSig()]
|
|
int SetInterfaceSafetyOptions(ref Guid riid, [MarshalAs(UnmanagedType.U4)] int dwOptionSetMask, [MarshalAs(UnmanagedType.U4)] int dwEnabledOptions);
|
|
}
|
|
|
|
|
|
} |