Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #636 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

wrong FreeLibraryAndExitThread signature in tango.sys.win32.UserGdi

Reported by: CyberShadow Assigned to: kris
Priority: minor Milestone: 0.99.2 RC5
Component: Core Functionality Version: 0.99.1 RC4 Keep
Keywords: Cc: thecybershadow@gmail.com

Description

The function declaration for FreeLibraryAndExitThread is wrong. Instead of

void FreeLibraryAndExitThread(HMODULE);

it should be

void FreeLibraryAndExitThread(HMODULE, DWORD);

Compare with VC headers:

WINBASEAPI
DECLSPEC_NORETURN
VOID
WINAPI
FreeLibraryAndExitThread (
    __in HMODULE hLibModule,
    __in DWORD dwExitCode
    );

What's this function doing in UserGdi? anyway, given that it's in kernel32.dll?

Attachments

FreeLibraryAndExitThread.patch (467 bytes) - added by CyberShadow on 09/19/07 18:16:00.
proposed patch (for formality)

Change History

09/19/07 18:16:00 changed by CyberShadow

  • attachment FreeLibraryAndExitThread.patch added.

proposed patch (for formality)

09/30/07 17:57:53 changed by kris

  • owner changed from sean to kris.

09/30/07 17:58:52 changed by kris

  • status changed from new to closed.
  • resolution set to fixed.

(In [2593]) fixes #636

thanks!