ScnLib_GetAudioSourceDeviceA/W() | 标准版 | 专业版 | 超级版 | 至尊版 |
C++ |
__declspec(dllimport) BOOL __stdcall ScnLib_GetAudioSourceDeviceA(BOOL bPlayback, int nIndex, LPSTR pszDevice, LPSTR pszDeviceID);
__declspec(dllimport) BOOL __stdcall ScnLib_GetAudioSourceDeviceW(BOOL bPlayback, int nIndex, LPWSTR pwszDevice, LPWSTR pwszDeviceID); |
✔ | ✔ | ✔ | ✔ |
C# |
[DllImport("ScnLib.dll", CharSet = CharSet.Unicode)] public static extern bool ScnLib_GetAudioSourceDeviceW(bool Playback, int Index, StringBuilder Device, StringBuilder DeviceID); |
Basic |
Public Declare Unicode Function ScnLib_GetAudioSourceDeviceW Lib "ScnLib.dll" (ByVal Playback As Boolean, ByVal Index As Int32, ByVal Device As StringBuilder, ByVal DeviceID As StringBuilder) As Boolean |
Delphi |
function ScnLib_GetAudioSourceDeviceA(Playback: LongBool; Index: Integer; Device: PAnsiChar; DeviceID: PAnsiChar): LongBool; stdcall; external 'ScnLib.dll';
function ScnLib_GetAudioSourceDeviceW(Playback: LongBool; Index: Integer; Device: PWideChar; DeviceID: PWideChar): LongBool; stdcall; external 'ScnLib.dll'; |
|