How to Write a printer bluetooth (hcrp) language monitor.When I use pfnReadPort, I get error code 87.pfnWritePort can be written.

dadwdw 5 Reputation points
2024-05-20T06:13:54.31+00:00
flag = (*pIniPort->fn.pfnReadPort)(pIniPort->hPort, pBuffer, cbBuf, pcbRead);    
if (!flag) {
    a = GetLastError();         
    MyDebug("LmReadPort:error code is %d", a);     
}

Windows development | Windows Driver Kit (WDK)
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.