| 643 | /* Set debug levels to a given value */ |
| 644 | |
| 645 | void WINAPI DbgSetModuleLevel(DWORD Type, DWORD Level) |
| 646 | { |
| 647 | DWORD Mask = 0x01; |
| 648 | |
| 649 | for (LONG lKeyPos = 0; lKeyPos < iMAXLEVELS; lKeyPos++) |
| 650 | { |
| 651 | if (Type & Mask) |
| 652 | { |
| 653 | m_Levels[lKeyPos] = Level | LOG_FORCIBLY_SET; |
| 654 | } |
| 655 | Mask <<= 1; |
| 656 | } |
| 657 | } |
| 658 | |
| 659 | /* whether to check registry values periodically. this isn't turned |
| 660 | automatically because of the potential performance hit. */ |
no outgoing calls
no test coverage detected