- Topics - 2
- Replies - 5
- Total Posts - 7
Ok, but the driver I’m making don’t need UI. It’s a driver for a digital camera, and the purpose is medical imagery. So i have to make sure that user cannot modify parameters of the camera.
I made something. I wonder if it’s dangerous. In my PS_Entry, when I receive an event, and my camera is ready to shoot, i set the message’s pData struct to MSG_XFERREADY:
if ((!m_appIdent_ity.Id) || (m_appIdent_ity.Id == twMsg.pSrc->Id))
if ( twMsg.MSG == MSG_PROCESSEVENT )
twRc = TWRC_DSEVENT;
pTW_EVENT pEvent = static_cast
if ( pDsManager->IsReadyForXFerr() ) //pDsManager is an object that manage the driver (states, status, errors, ...)
pEvent->TWMessage = MSG_XFERREADY;
What do you think about this?
ps: what the hell is happening on this phpbb forum with the word “ident ity” ? I’m forced to insert a white space else the word is replaced by “no”.