bonjour
J'utilise la dll "mchid.dll" (avec delphi) qui permet d'utiliser l'interface USB d'un pc.
Je recherche une description de chaque instruction de cette dll. Par exemple, a quoi sert l'instruction "getitem" ?
merci pour votre réponse et meilleurs voeux 2009.
détail de la dll
DLL_NAME = 'mcHID.dll';
function Connect(pHostWin:HWND):BOOL;
function Disconnect:BOOL;
function GetItem(pIndex:UINT):UINT;
function GetItemCount:UINT;
function Read(pHandle:UINT;pData:pointer):BOOL;
function Write(pHandle:UINT;pData:pointer):BOOL;
function ReadEx(pVendorID,pProductID:UINT;pData:pointer):BOOL;
function WriteEx(pVendorID,pProductID:UINT;pData:pointer):BOOL;
function GetHandle(pVendorID,pProductID:UINT):UINT;
function GetVendorID(pHandle:UINT):UINT;
function GetProductID(pHandle:UINT):UINT;
function GetVersion(pHandle:UINT):UINT;
function GetVendorName(pHandle:UINT;pText:LPSTR;pLen:UINT):UINT;
function GetProductName(pHandle:UINT;pText:LPSTR;pLen:UINT):UINT;
function GetSerialNumber(pHandle:UINT;pText:LPSTR;pLen:UINT):UINT;
function GetInputReportLength(pHandle:UINT):UINT;
function GetOutputReportLength(pHandle:UINT):UINT;
procedure SetReadNotify(pHandle:UINT;pValue:BOOL);
function IsReadNotifyEnabled(pHandle:UINT):BOOL;
function IsAvailable(pVendorID,pProductID:UINT):BOOL;
Partager