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