차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
ko:bs2_getfilteredlog [2021/12/30 11:03]
mark [샘플코드]
ko:bs2_getfilteredlog [2021/12/30 11:05]
mark [샘플코드]
줄 37: 줄 37:
 C# C#
 <code cpp> <code cpp>
 +Type structureType = typeof(BS2Event);​ 
 +int structSize = Marshal.SizeOf(structureType);​ 
 +IntPtr uid = IntPtr.Zero;​ 
 +UInt16 eventCode = 0; 
 +UInt32 start = 0; 
 +UInt32 end = 0; 
 +byte tnaKey = 0; 
 +IntPtr outEventLogObjs = IntPtr.Zero;​ 
 +UInt32 outNumEventLogs = 0;
  
 BS2ErrorCode result = (BS2ErrorCode)API.BS2_GetFilteredLog(sdkContext,​ deviceID, uid, eventCode, start, end, tnaKey, out outEventLogObjs,​ out outNumEventLogs);​ BS2ErrorCode result = (BS2ErrorCode)API.BS2_GetFilteredLog(sdkContext,​ deviceID, uid, eventCode, start, end, tnaKey, out outEventLogObjs,​ out outNumEventLogs);​