| 771 | return; |
| 772 | } |
| 773 | bool IsOverlayNeededOrEnabled() |
| 774 | { |
| 775 | FARPROC OverLayEn = GetProcAddress(OverLayModule, "IsOverlayEnabled"); // Load IsOverlayEnabled from STEAMOVERLAY module |
| 776 | if (OverLayEn) |
| 777 | return ((bool(*)())OverLayEn)(); // Call the virtual loaded function, most of people uses typedef method but in this way more fast |
| 778 | return false; |
| 779 | } |
| 780 | bool OverlayNeedsPresent() |
| 781 | { |
| 782 | FARPROC OverLayEn = GetProcAddress(OverLayModule, "BOverlayNeedsPresent"); // Load BOverlayNeedsPresent from STEAMOVERLAY module |
no outgoing calls
no test coverage detected