Subversion Repositories factorylink.flntsys

Rev

Blame | Last modification | View Log | Download

// KeyBoardFilter.odl : type library source for ActiveX Control project.

// This file will be processed by the Make Type Library (mktyplib) tool to
// produce the type library (KeyBoardFilter.tlb) that will become a resource in
// KeyBoardFilter.ocx.

#include <olectl.h>
#include <idispids.h>

[ uuid(93890E42-57FA-450B-8D75-8945019F9975), version(1.0),
  helpfile("KeyBoardFilter.hlp"),
  helpstring("KeyBoardFilter ActiveX Control module"),
  control ]
library KEYBOARDFILTERLib
{
  importlib(STDOLE_TLB);
  importlib(STDTYPE_TLB);

  //  Primary dispatch interface for CKeyBoardFilterCtrl

  [ uuid(C52126D0-996E-4470-9BAE-A1270B528C8F),
    helpstring("Dispatch interface for KeyBoardFilter Control"), hidden ]
  dispinterface _DKeyBoardFilter
  {
    properties:
      // NOTE - ClassWizard will maintain property information here.
      //    Use extreme caution when editing this section.
      //{{AFX_ODL_PROP(CKeyBoardFilterCtrl)
      [id(1)] boolean Visible;
      //}}AFX_ODL_PROP

    methods:
      // NOTE - ClassWizard will maintain method information here.
      //    Use extreme caution when editing this section.
      //{{AFX_ODL_METHOD(CKeyBoardFilterCtrl)
      [id(2)] boolean EnableAllKeys();
      [id(3)] boolean EnableKey(short ScanCode, boolean Shift, boolean Alt, boolean Control);
      [id(4)] boolean DisableKey(short ScanCode, boolean Shift, boolean Alt, boolean Control);
      [id(5)] boolean ReplaceKey(short ScanCode, boolean Shift, boolean Alt, boolean Control, short ReplaceCode);
      [id(6)] boolean IsKeyDisabled(short ScanCode, boolean Shift, boolean Alt, boolean Control);
      [id(7)] void SetScreenSaverSecure(boolean Secure);
      [id(8)] void LockWorkStation();
      [id(9)] boolean DisableLockWorkstation(boolean Disable);
      [id(10)] void StartScreenSaver();
      [id(11)] boolean DisableTaskManager(boolean Disable);
      //}}AFX_ODL_METHOD

      [id(DISPID_ABOUTBOX)] void AboutBox();
  };

  //  Event dispatch interface for CKeyBoardFilterCtrl

  [ uuid(21E520DE-FE4D-42AF-915B-C4462B30D3EB),
    helpstring("Event interface for KeyBoardFilter Control") ]
  dispinterface _DKeyBoardFilterEvents
  {
    properties:
      //  Event interface has no properties

    methods:
      // NOTE - ClassWizard will maintain event information here.
      //    Use extreme caution when editing this section.
      //{{AFX_ODL_EVENT(CKeyBoardFilterCtrl)
      //}}AFX_ODL_EVENT
  };

  //  Class information for CKeyBoardFilterCtrl

  [ uuid(E872D000-B8AA-476F-A07E-0DA9BFDA2C7D),
    helpstring("KeyBoardFilter Control"), control ]
  coclass KeyBoardFilter
  {
    [default] dispinterface _DKeyBoardFilter;
    [default, source] dispinterface _DKeyBoardFilterEvents;
  };


  //{{AFX_APPEND_ODL}}
  //}}AFX_APPEND_ODL}}
};