Rockwell-automation 2711P Software Development Kit User Manual Manuel d'utilisateur Page 96

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 104
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 102 103 104

Commentaires sur ces manuels

Pas de commentaire