UNDER CONSTRUCTION
Reference
Home
Overview
Hardware
News
Download
License
Documentation
Reference
Help
FAQs
Contributing
Contact
Links

HaptikPlugin.hpp File Reference


Detailed Description

Haptik Library plugin API.

This header contains interfaces, structures and constants composing the plugin API.

Definition in file HaptikPlugin.hpp.

#include <RSLib\Haptik.hpp>

Go to the source code of this file.


Namespaces

namespace  RSLib

Classes

interface  RSLib::IHaptikLibraryLower
 Interface exposed by the library to the plugins. More...
interface  RSLib::IHaptikPlugin
 Interface exposed by plugins and used by the library. More...

Macros

Used when dealing with device identifiers.

#define IS_ORDINAL(id)   (!(id & 0x80000000))
#define ISNT_ORDINAL(id)   (id & 0x80000000)
#define HARDWAREID(id)   ((id & 0x0000FFFF)>>0)
#define PLUGINID(id)   ((id & 0x00FF0000)>>16)
#define NUMBER(id)   ((id & 0x1F000000)>>24)
#define FLAGS(id)   ((id & 0xE0000000)>>29)
#define MATCH_DEVICEID(a, b)   ( ((a & 0x0000FFFF) == 0xFFFF) || ((a & 0x1F00FFFF) == (b & 0x1F00FFFF)) )
#define MATCH_PLUGINID(a, b)   ( ((a & 0x00FF0000) == 0x00FF0000) || (PLUGINID(a) == b) )
#define UNMATCH_DEVICEID(a, b)   (!MATCH_DEVICEID(a,b))
#define UNMATCH_PLUGINID(a, b)   (!MATCH_PLUGINID(a,b))
#define FLAGGED_DEVICEID(flags, number, pluginid, hardwareid)   ( ((flags & 0x07)<<29) | ((number & 0x1F)<<24) | ((pluginid & 0xFF)<<16) | ((hardwareid& 0xFFFF)<<0) )
#define DEVICEID(number, pluginid, hardwareid)   ( ((0x004 & 0x07)<<29) | ((number & 0x1F)<<24) | ((pluginid & 0xFF)<<16) | ((hardwareid& 0xFFFF)<<0) )

Defines

#define HAPTIK_IHAPTIKLIBRARYLOWER   0x80008021

Typedefs

typedef PVOID(* RSLib::HAPTIK_PLUGIN_ENTRY_PROC )(UINT32)

Functions

void RSLib::InvokeCallback (PVOID method, PVOID object, PVOID argument1, PVOID argument2)
 Asm code for method/procedure callback invocation.
Last Updated on 2006/02/01 09:53:39 UTC info@haptiklibrary.org