pa_win_wmme.c: replace LPCTSTR with LPCWSTR (#597)

This commit is contained in:
John Melas 2021-06-23 03:15:57 +03:00 committed by GitHub
commit 038a696aec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;