MCPcopy Create free account
hub / github.com/Rat431/ColdAPI_Steam / IsOverlayNeededOrEnabled

Function IsOverlayNeededOrEnabled

src/ColdAPI_Steam/ColdManager.cpp:773–779  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 6

IsOverlayEnabledMethod · 0.85
IsOverlayEnabledMethod · 0.85
IsOverlayEnabledMethod · 0.85
IsOverlayEnabledMethod · 0.85
IsOverlayEnabledMethod · 0.85
IsOverlayEnabledMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected