コード例 #1
0
        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);
        }
コード例 #2
0
 protected virtual void Dispose(bool disposing)
 {
     RzChromaBroadcastAPINative.UnRegisterEventNotification();
     RzChromaBroadcastAPINative.UnInit();
 }
コード例 #3
0
 public RzResult UnInit()
 {
     return(RzChromaBroadcastAPINative.UnInit());
 }