Sha256: 6d318e6e55f7d7e533dfd9843cb45913c23fefbf6ab5bb31d31a18b5720dcbfe

Contents?: true

Size: 1.13 KB

Versions: 36

Compression:

Stored size: 1.13 KB

Contents

/**
*  \file KeyInjector.h
*  \brief Interface for the CKeyInjector class.
*  This class provides gives the ability to inject keys into the operating system
*  to allow 'Wedge' type behaviour.
*  \author	Darryn Campbell (DCC)
*  \date	January 2012 (DCC, Initial Port from RhoElements 1 Code)
*/
#pragma once
#include <windows.h>
#define ESCAPE_CHAR L'\\'	///< Definition of the escape character


/**
*  Class to inject keys into the operating system to allow 'Wedge' type behaviour.  
*  This class is a cut down version of the RhoElements 1.x CSIP.
*  \author	Darryn Campbell (DCC, JRQ768)
*  \date	January 2012, Initial Creation, DCC
*/
class CKeyInjector  
{
public:
	CKeyInjector();		///< Constructor, no implementation.
	~CKeyInjector();	///<  Destructor, no implementation.

	/**
	*  Repeatedly calls the SendKey to send an entire data
	*  string to the keyboard buffer.
	*  \param lpszString String to send
	*/
	void SendString(LPCTSTR lpszString);	
	
	/**
	*  Sends the Keystroke to the keyboard buffer.  Used by the
	*  scanner to 'fake' keystrokes from the input device.
	*  \param cKey Key to send (character)
	*/
	void SendKey(TCHAR cKey);

};

Version data entries

36 entries across 22 versions & 2 rubygems

Version Path
rho-tau-extensions-7.6.0 libs/enterprise-barcode/ext/platform/wm/src/KeyInjector.h
rhodes-7.6.0 neon/Helium/HeliumForWindows/Implementation/Plugins/WTG_Scanner_PLG/KeyInjector.h
rhodes-7.6.0 lib/commonAPI/barcode/ext/platform/wm/src/KeyInjector.h
rhodes-7.5.1 lib/commonAPI/barcode/ext/platform/wm/src/KeyInjector.h
rhodes-7.5.1 neon/Helium/HeliumForWindows/Implementation/Plugins/WTG_Scanner_PLG/KeyInjector.h
rho-tau-extensions-7.4.1 libs/enterprise-barcode/ext/platform/wm/src/KeyInjector.h
rhodes-7.4.1 neon/Helium/HeliumForWindows/Implementation/Plugins/WTG_Scanner_PLG/KeyInjector.h
rhodes-7.4.1 lib/commonAPI/barcode/ext/platform/wm/src/KeyInjector.h
rho-tau-extensions-7.1.17 libs/enterprise-barcode/ext/platform/wm/src/KeyInjector.h
rhodes-7.1.17 lib/commonAPI/barcode/ext/platform/wm/src/KeyInjector.h
rhodes-7.1.17 neon/Helium/HeliumForWindows/Implementation/Plugins/WTG_Scanner_PLG/KeyInjector.h
rho-tau-extensions-6.2.0 libs/enterprise-barcode/ext/platform/wm/src/KeyInjector.h
rhodes-6.2.0 neon/Helium/HeliumForWindows/Implementation/Plugins/WTG_Scanner_PLG/KeyInjector.h
rhodes-6.2.0 lib/commonAPI/barcode/ext/platform/wm/src/KeyInjector.h
rhodes-6.0.11 lib/commonAPI/barcode/ext/platform/wm/src/KeyInjector.h
rhodes-6.0.11 neon/Helium/HeliumForWindows/Implementation/Plugins/WTG_Scanner_PLG/KeyInjector.h
rho-tau-extensions-6.0.11 libs/enterprise-barcode/ext/platform/wm/src/KeyInjector.h
rho-tau-extensions-6.0.0 libs/enterprise-barcode/ext/platform/wm/src/KeyInjector.h
rho-tau-extensions-5.5.18 libs/enterprise-barcode/ext/platform/wm/src/KeyInjector.h
rhodes-5.5.18 lib/commonAPI/barcode/ext/platform/wm/src/KeyInjector.h