|
using System;
using System.Runtime.InteropServices;
namespace ComExampleLib
{
/// <summary>
/// Interface for all public methods exposed to COM.
/// </summary>
[Guid("65152CDB-8530-4363-8036-E7F732E9E6F6")]
public interface IComExample
{
/// <summary>
/// Opens the specified drawer
/// </summary>
void OpenDrawer(int drawerNumber);
/// <summary>
/// Checks to see if the specified drawer is open.
/// </summary>
bool IsDrawerOpen(int drawerNumber);
/// <summary>
/// Marks any open drawer as closed.
/// </summary>
void CloseAllOpenDrawers();
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.