https://bugs.winehq.org/show_bug.cgi?id=48620 --- Comment #5 from Leonid Yuriev <leo(a)yuriev.ru> --- (In reply to Nikolay Sivov from comment #4)
1) Do I understand correctly that GetProcAddress("NtExtendSection") will return NULL?
I don't think so, it will probably return a pointer to a stub that will crash when called.
It would be great and sufficient if the stub returned the corresponding error code instead of crashing. I'll look at the Wine source code for NtExtendSection().
2) If there is another way to increase the section size on Wine?
Is there another winapi function to do so besides NtExtendSection()?
No, there is no such Win32/Win64 API. According to the official documentation, Windows can't do this.
E.g. GetProcAddress("WineSecretFeature"), etc?
No, that's a bad idea. We'll need to properly implement this function, with tests. Workarounds are not very interesting.
Is enough to just return STATUS_NOT_IMPLEMENTED ((NTSTATUS)0xC0000002L) instead of crash. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.