PortAudio  2.0
Functions
pa_win_util.h File Reference
#include "portaudio.h"

Go to the source code of this file.

Functions

void PaWinUtil_SetLastSystemErrorInfo (PaHostApiTypeId hostApiType, long winError)
 

Function Documentation

void PaWinUtil_SetLastSystemErrorInfo ( PaHostApiTypeId  hostApiType,
long  winError 
)

Convert a Windows error code into a PaError. Sets the host-api specific error information if needed.

Parameters
hostApiTypeThe calling host api type. Used when reporting paUnanticipatedHostError
winErrorA Windows error code.

References PaUtil_SetLastHostErrorInfo().

Referenced by PaWinUtil_CoInitialize().