Expand description
What compatdb.so needs to apply a Resolution inside a process.
That is the process’s arch, its image path, command line and environment block as Wine hands them over in UTF-16, the reader of an image’s version resource, and the values the library hands to Wine.
A launcher does not need this module. It builds rules, writes the table
into ENV_VAR and, to show what a program would get,
uses Table::preview with a VersionInfo it
fills in itself.
Enums§
- Arch
- The architecture of the program a process runs, which is that of its main executable.
Constants§
- IMAGE_
FILE_ MACHINE_ ARM64 - The COFF
Machinevalue of an ARM64 image.
Functions§
- append_
cmdline - Append each text to the command line unless it is already present.
- append_
cmdline_ each append_cmdline, also saying for each text whether it was appended: false for one that was already present, or empty.- basename_
of - The basename of a DOS image path (
...\Foo\Bar.exe->Bar.exe), decoded lossily from UTF-16. - default_
d3d9 - The D3D9 implementation a process loads when no rule names one.
- default_
dxgi - The DXGI-family implementation a process loads when no rule names one.
- effective_
d3d9 - The D3D9 implementation a process loads: the requested one, or
default_d3d9for the arch when nothing was requested. - effective_
dxgi - The DXGI-family implementation a process loads: the requested one, or
default_dxgifor the arch when nothing was requested. - env_
value - The value of the variable
namein aNAME=value\0...\0\0block, the first entry for it, matched case-insensitively and decoded lossily;Nonewhen the block has none. - merge_
env - Merge environment entries into a
NAME=value\0...\0\0block. - opengl_
hook_ value - The value ntdll’s
set_compat_opengltakes foropengl: 1 for Mesa’s EGL, 0 for Apple’s OpenGL. - version_
info - The standard fields of a
VS_VERSIONINFOblob. - wined3d_
config - The
WINE_D3D_CONFIGvalue for the rendererwined3don top ofconfig. - wined3d_
renderer_ in - The
rendereroption of aWINE_D3D_CONFIGvalue, the first one as wined3d reads it, orNonewhen the value has none.