Skip to content

Conversation

@MrTraan
Copy link

@MrTraan MrTraan commented Aug 23, 2019

Switch DWORD to DWORD_PTR type for parameter dwInstance in waveOutProcWrap, as using a 32bit value as a pointer on a 64 bit system would result in a crash

Switch DWORD to DWORD_PTR type for parameter dwInstance in waveOutProcWrap, as using a 32bit value as a pointer on a 64 bit system would result in a crash
@joshbodily
Copy link

Per https://learn.microsoft.com/en-us/previous-versions/dd743869(v=vs.85), all three params (dwPointer, dwParam1, dwParam2) should be DWORD_PTR Also, consider updating dwParam1 & dwParam2 here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants