From: John Melas Date: Wed, 23 Jun 2021 00:15:57 +0000 (+0300) Subject: pa_win_wmme.c: replace LPCTSTR with LPCWSTR (#597) X-Git-Url: https://andrewgundersen.net/repos?a=commitdiff_plain;h=038a696aecffa3218589cf808cef0138e3bcc372;p=portaudio pa_win_wmme.c: replace LPCTSTR with LPCWSTR (#597) --- diff --git a/src/hostapi/wmme/pa_win_wmme.c b/src/hostapi/wmme/pa_win_wmme.c index 42a6601..22af147 100644 --- a/src/hostapi/wmme/pa_win_wmme.c +++ b/src/hostapi/wmme/pa_win_wmme.c @@ -329,13 +329,13 @@ static PaError CreateEventWithPaError( HANDLE *handle, LPSECURITY_ATTRIBUTES lpEventAttributes, BOOL bManualReset, BOOL bInitialState, - LPCTSTR lpName ) + LPCWSTR lpName ) { PaError result = paNoError; *handle = NULL; - *handle = CreateEvent( lpEventAttributes, bManualReset, bInitialState, lpName ); + *handle = CreateEventW( lpEventAttributes, bManualReset, bInitialState, lpName ); if( *handle == NULL ) { result = paUnanticipatedHostError;