Ignore:
Timestamp:
Nov 4, 2009, 4:21:24 PM (16 years ago)
Author:
pasha
Message:

Rebuild buffers supply, fix DDCMD_WRITE with len=0 in WAVE chain, remove/add debug output, change DebugInt3 for debug/nondebug version, move unused code to unused directore

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OCO/trunk/drv16/apmevent.cpp

    r221 r468  
    2828USHORT far APMEvent(APM_EVENT_MSG far *peventmsg)
    2929{
    30 #ifdef DEBUG
     30#ifdef DEBUG_APM
    3131    dprintf(("APM_event parm 1 %d, parm 2 %d", peventmsg->parm1, peventmsg->parm2));
    3232#endif
     
    8080USHORT DBGCALLCONV APM_suspend(USHORT state)
    8181{
    82 #ifdef DEBUG
     82#ifdef DEBUG_APM
    8383  dprintf(("APM_suspend %d", state));
    8484#endif
     
    112112USHORT DBGCALLCONV APM_resume(USHORT state)
    113113{
    114 #ifdef DEBUG
     114#ifdef DEBUG_APM
    115115  dprintf(("APM_resume %d", state));
    116116#endif
     
    163163        if((ret = APM_COMMAND(&APM_Reg_Req)) != 0)
    164164        {
    165 #ifdef DEBUG
     165#ifdef DEBUG_APM
    166166            dprintf(("APM_Init: cant register at APM.SYS: %d", ret));
    167167#endif
     
    172172    {
    173173        APM_Enabled = 0;
    174 #ifdef DEBUG
     174#ifdef DEBUG_APM
    175175        dprintf(("APM_Init: cant attach to APM.SYS"));
    176176#endif
    177177    }
    178178
    179 #ifdef DEBUG
     179#ifdef DEBUG_APM
    180180    dprintf(("APM_enabled %d", APM_Enabled));
    181181#endif
Note: See TracChangeset for help on using the changeset viewer.