public int PutProperty(MONIKERPROPERTY mkp, [MarshalAs(UnmanagedType.LPWStr)] string val) { if (m_PutPropertyFunc == null) { var fp = GetFunctionPointer(3); m_PutPropertyFunc = (PutPropertyFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(PutPropertyFunc)); } return(m_PutPropertyFunc(m_ptr, mkp, val)); }
public HRESULT PutProperty(MONIKERPROPERTY mkp, [NativeTypeName("LPCWSTR")] ushort *val) { return(((delegate * unmanaged <IMonikerProp *, MONIKERPROPERTY, ushort *, int>)(lpVtbl[3]))((IMonikerProp *)Unsafe.AsPointer(ref this), mkp, val)); }