INativeHandleContract Interface

 

Provides access to a window's handle (Hwnd) from native code.

Namespace:   System.AddIn.Contract
Assembly:  System.AddIn.Contract (in System.AddIn.Contract.dll)

public interface INativeHandleContract : IContract

NameDescription
System_CAPS_pubmethodAcquireLifetimeToken()

Specifies that the contract is accessible to a client until the client revokes the contract.(Inherited from IContract.)

System_CAPS_pubmethodGetHandle()

Obtains the window's handle (Hwnd).

System_CAPS_pubmethodGetRemoteHashCode()

Returns a hash code for the IContract.(Inherited from IContract.)

System_CAPS_pubmethodQueryContract(String)

Returns a contract that is implemented by this contract.(Inherited from IContract.)

System_CAPS_pubmethodRemoteEquals(IContract)

Indicates whether the specified contract is equal to this IContract.(Inherited from IContract.)

System_CAPS_pubmethodRemoteToString()

Returns a string representation of the current IContract.(Inherited from IContract.)

System_CAPS_pubmethodRevokeLifetimeToken(Int32)

Specifies that the contract is no longer accessible to a client.(Inherited from IContract.)

This interface enables adding user interface features to add-ins by obtaining handles to native Window resources and passing them between application domains.

.NET Framework
Available since 3.5
Return to top
Show: