| 554 | } |
| 555 | |
| 556 | STATIC BOOLEAN AddCustomLoaderEntry(IN CUSTOM_LOADER_ENTRY *Entry) |
| 557 | { |
| 558 | if (Entry == NULL) { |
| 559 | return FALSE; |
| 560 | } |
| 561 | if (gSettings.CustomEntries) { |
| 562 | CUSTOM_LOADER_ENTRY *Entries = gSettings.CustomEntries; |
| 563 | |
| 564 | while (Entries->Next != NULL) { |
| 565 | Entries = Entries->Next; |
| 566 | } |
| 567 | Entries->Next = Entry; |
| 568 | |
| 569 | } else { |
| 570 | gSettings.CustomEntries = Entry; |
| 571 | } |
| 572 | |
| 573 | return TRUE; |
| 574 | } |
| 575 | |
| 576 | STATIC BOOLEAN AddCustomLegacyEntry (IN CUSTOM_LEGACY_ENTRY *Entry) |
| 577 | { |
no outgoing calls
no test coverage detected