public APICallCallback()
 {
     callback = CallbackIdentities.GetCallbackIdentity(typeof(CallbackType));
     size     = Marshal.SizeOf(typeof(CallbackType));
 }
 public void UnRegister()
 {
     CallbackDispatcher.UnRegisterCallback(this, CallbackIdentities.GetCallbackIdentity(typeof(CallbackType)));
 }