在驱动程序里,调试时,希望能输出变量。
//----------------------------------------------------------------------------//
//IRSIOcontrol//
//----------------------------------------------------------------------------//
BOOLIRS_IOControl(DWORDHandle,
DWORDdwIoControlCode,
PBYTEpInBuf,
DWORDnInBufSize,
PBYTEpOutBuf,
DWORDnOutBufSize,
PDWORDpBytesReturned){
OutputDebugString(dwIoControlCode)//输出变量dwIoControlCode
switch(dwIoControlCode){
caseIOCTL_COL0:
v_pIOPregs->GPECON&=(~0xf);
if((v_pIOPregs->GPEDAT)&(0x01
显示错误:错误1errorC2664:'OutputDebugStringW':cannotconvertparameter1from'DWORD'to'LPCWSTR'
分 -->
|