MCPcopy Create free account
hub / github.com/ValveSoftware/openvr / SharedLib_GetFunction

Function SharedLib_GetFunction

src/vrcore/sharedlibtools_public.cpp:44–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44void *SharedLib_GetFunction( SharedLibHandle lib, const char *pchFunctionName)
45{
46#if defined( _WIN32)
47 return (void*)GetProcAddress( (HMODULE)lib, pchFunctionName );
48#elif defined(POSIX)
49 return dlsym( lib, pchFunctionName );
50#endif
51}
52
53
54void SharedLib_Unload( SharedLibHandle lib )

Callers 1

VR_LoadHmdSystemInternalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected