public RzResult Init(Guid guid) { var i = new BigInteger(guid.ToByteArray()); var a = (uint)((i >> 96) & 0xFFFFFFFF); var b = (uint)((i >> 64) & 0xFFFFFFFF); var c = (uint)((i >> 32) & 0xFFFFFFFF); var d = (uint)((i >> 0) & 0xFFFFFFFF); var initResult = RzChromaBroadcastAPINative.Init(a, b, c, d); if (initResult == RzResult.SUCCESS) { notificationCallback = new RzChromaBroadcastAPINative.RegisterEventNotificationCallback(EventNotificationCallback); initResult = RzChromaBroadcastAPINative.RegisterEventNotification(notificationCallback); } return(initResult); }
protected virtual void Dispose(bool disposing) { RzChromaBroadcastAPINative.UnRegisterEventNotification(); RzChromaBroadcastAPINative.UnInit(); }
public RzResult UnInit() { return(RzChromaBroadcastAPINative.UnInit()); }