pa_win_wmme.c: replace LPCTSTR with LPCWSTR (#597)
This commit is contained in:
parent
d859f7d5df
commit
038a696aec
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue