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

dadwdw 0 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 Driver Kit (WDK)
Windows Driver Kit (WDK)
A set of Microsoft tools that are used to develop, test, and deploy Windows drivers.
122 questions
{count} votes

Your answer

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