[PATCH] wmvcore/tests: Access IWMDRMReader(|2|3) interfaces on Windows.
Nikolay Sivov
bunglehead at gmail.com
Tue Oct 24 01:52:37 CDT 2017
On 24.10.2017 8:36, Jefferson Carpenter wrote:
> +#if defined(__MINGW32__) || defined(__MINGW64__)
> +#ifdef _WIN64
> + flagPtrAddr = (unsigned long long)(reader) - 24;
> + flagMem[556] = 1;
> +#elif _WIN32
> + flagPtrAddr = (unsigned int)(reader) - 12;
> + flagMem[288] = 1;
> +#endif
> + *(unsigned char **)flagPtrAddr = flagMem;
> +#endif
Why would you need something like that to match potential Wine's
implementation? How do applications access this thing?
More information about the wine-devel
mailing list