|
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*=============================================================================
**
** Class: UCOMIBindCtx
**
**
** Purpose: UCOMIBindCtx interface definition.
**
**
=============================================================================*/
namespace System.Runtime.InteropServices {
using System;
[Obsolete("Use System.Runtime.InteropServices.ComTypes.BIND_OPTS instead. http://go.microsoft.com/fwlink/?linkid=14202", false)]
[StructLayout(LayoutKind.Sequential)]
public struct BIND_OPTS
{
public int cbStruct;
public int grfFlags;
public int grfMode;
public int dwTickCountDeadline;
}
[Obsolete("Use System.Runtime.InteropServices.ComTypes.IBindCtx instead. http://go.microsoft.com/fwlink/?linkid=14202", false)]
[Guid("0000000e-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[ComImport]
public interface UCOMIBindCtx
{
void RegisterObjectBound([MarshalAs(UnmanagedType.Interface)] Object punk);
void RevokeObjectBound([MarshalAs(UnmanagedType.Interface)] Object punk);
void ReleaseBoundObjects();
void SetBindOptions([In()] ref BIND_OPTS pbindopts);
void GetBindOptions(ref BIND_OPTS pbindopts);
void GetRunningObjectTable(out UCOMIRunningObjectTable pprot);
void RegisterObjectParam([MarshalAs(UnmanagedType.LPWStr)] String pszKey, [MarshalAs(UnmanagedType.Interface)] Object punk);
void GetObjectParam([MarshalAs(UnmanagedType.LPWStr)] String pszKey, [MarshalAs(UnmanagedType.Interface)] out Object ppunk);
void EnumObjectParam(out UCOMIEnumString ppenum);
void RevokeObjectParam([MarshalAs(UnmanagedType.LPWStr)] String pszKey);
}
}
|