IsDLLLoaded

From GECK
Jump to: navigation, search


A function added by the JohnnyGuitar NVSE Plugin.

Description

Returns 1 if a specified DLL is currently loaded into the game's executable. Optional parameter controls whether the function looks for any matching dlls, or only dlls originating from game folder.

Syntax

[help]
(0/1) IsDLLLoaded dllName:string checkOutsideOfGameFolder:0/1

Example

IsDLLLoaded "d3dx9_38" // returns 1 if New Vegas Heap Replacer is loaded
IsDLLLoaded "d3d9" // returns 1 if dxvk is loaded
IsDLLLoaded "usvfs_x86" 1 // returns 1 if the gsme was started through MO2

See Also