none
LPSET_REPORT and lpSetReport what is the difference? RRS feed

  • Question

  • When I executing application with LPSET_REPORT, the execution returns not error.  However,  when I HID device type and calling pHidKbd->pHidFuncs->lpSetReport.  The application gives me an error message says that "the application encountering a serious problem and needs to shut down.  what is difference between them?

    DWORD result = (DWORD)((LPSET_REPORT)(hDriver, HidP_Output, lpout, (DWORD)

    sizeof(buf), INFINITE));

    PHID_KBD pHidKbd=NULL;

    BOOL dwet=pHidKbd->pHidFuncs->lpSetReport(pHidKbd->hDevice;, HidP_Output, lpout,

    sizeof(buf), INFINITE);


    • Edited by Liang1 Monday, January 28, 2013 4:34 PM
    Monday, January 28, 2013 4:09 PM