_getenv
function · crt · boundary
- Address
0x414e94· 33 bytes, up to0x414eb4- Signature
char * __cdecl (const char *name)- Meaning
- Returns the value of an environment variable, calling __getenv_lk under the environment lock 0xc
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- gx/opengl#extension-tests
Finding: Extension tests in gx: the OpenGL context and extensions
An extension is listed when its name starts a space-separated word of the extension string,
compared ignoring case over the name's length only, so GL_EXT_texture matches
GL_EXT_texture3D. For a GL extension the test first looks the name up in the environment: a
variable of that name whose text converts to 0 makes the extension absent. The GL string is
glGetString(GL_EXTENSIONS); the WGL string comes from wglGetExtensionsStringARB on the current
device context, and with no such entry point every WGL extension is absent. Both strings are
cached until the context is released.
The derivation is in the doc.
Callers 1
Callees 3
- __lock crt
- __unlock crt
- __getenv_lk crt
Calls and jumps by a bare address, from tables/calls.tsv.