internal unsafe void To(cef_key_info_t* ptr) { ptr->key = this.key; #if WINDOWS ptr->sysChar = this.sysChar ? 1 : 0; ptr->imeChar = this.imeChar ? 1 : 0; #endif }
internal unsafe CefKeyInfo(cef_key_info_t* ptr) { this.key = ptr->key; #if WINDOWS this.sysChar = ptr->sysChar != 0; this.imeChar = ptr->imeChar != 0; #endif }
internal static unsafe CefKeyInfo From(cef_key_info_t* ptr) { return new CefKeyInfo(ptr); }