Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 9012401

Browse files
authored
Merge pull request #3571 from maxsamukha/winbool
Fix issue 22328: Specific D types are used instead of Windows type aliases
2 parents 7532b00 + e0b9c6d commit 9012401

File tree

1 file changed

+2
-2
lines changed
  • src/core/sys/windows

1 file changed

+2
-2
lines changed

src/core/sys/windows/dll.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -556,10 +556,10 @@ bool dll_thread_detach( bool detach_thread = true, bool exitTls = true )
556556
/// ---
557557
mixin template SimpleDllMain()
558558
{
559-
import core.sys.windows.windef : HINSTANCE;
559+
import core.sys.windows.windef : HINSTANCE, BOOL, DWORD, LPVOID;
560560

561561
extern(Windows)
562-
bool DllMain(HINSTANCE hInstance, uint ulReason, void* reserved)
562+
BOOL DllMain(HINSTANCE hInstance, DWORD ulReason, LPVOID reserved)
563563
{
564564
import core.sys.windows.winnt;
565565
import core.sys.windows.dll :

0 commit comments

Comments
 (0)