Rockwell-automation 2711P Software Development Kit User Manual Manuale Utente Pagina 96

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 104
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 95
Publication 2711P-UM005A-EN-P - March 2007
96 Device Drivers
//
/////////////////////////////////////////////////////////////////////
DWORD WINAPI
IstThreadProc(
LPVOID lpParameter
)
{
PDRV_DATA pDrvData = (PDRV_DATA)lpParameter;
DWORD dwRet;
DEBUGMSG(ZONE_FUNC, (TEXT("IstThreadProc+\r\n")));
while ((dwRet = WaitForSingleObject(pDrvData->hEvent,INFINITE)) != WAIT_FAILED)
{
if (dwRet == WAIT_OBJECT_0)
{ if (pDrvData->bExitThread)
break;
RETAILMSG(1,(_T("IstThreadProc: IST HAS FIRED!\r\n")));
InterruptDone(pDrvData->Gii.SysIntr);
}
}
DEBUGMSG(ZONE_FUNC,(_T("IstThreadProc-\r\n")));
return (TRUE);
}
For a detailed explanation of the stream driver interface and how to
load a stream driver refer to the Microsoft documentation for stream
driver development.
Vedere la pagina 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 102 103 104

Commenti su questo manuale

Nessun commento