차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
|
ko:bs2_getimagelog [2021/12/30 13:01] mark [반환값] |
ko:bs2_getimagelog [2021/12/30 13:02] (현재) mark [반환값] |
||
|---|---|---|---|
| 줄 108: | 줄 108: | ||
| IntPtr outEventLogObjs = IntPtr.Zero; | IntPtr outEventLogObjs = IntPtr.Zero; | ||
| UInt32 outNumEventLogs = 0; | UInt32 outNumEventLogs = 0; | ||
| - | |||
| - | result = (BS2ErrorCode)API.BS2_GetLog(sdkContext, deviceID, 0, 1024, out outEventLogObjs, out outNumEventLogs); | ||
| - | if (result != BS2ErrorCode.BS_SDK_SUCCESS) | ||
| - | { | ||
| - | Console.WriteLine("Got error({0}).", result); | ||
| - | return; | ||
| - | } | ||
| if (outNumEventLogs > 0) | if (outNumEventLogs > 0) | ||
| 줄 174: | 줄 167: | ||
| } | } | ||
| } | } | ||
| - | |||
| - | </code> | ||
| - | |||
| - | <code cpp> | ||
| </code> | </code> | ||