mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-09-26 13:45:16 -07:00
fix: BOOL import for windows crate 0.62
BOOL moved from Win32::Foundation to windows::core in 0.62. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
3f1ab75d49
commit
0b2a3cdc78
@@ -272,8 +272,8 @@ pub fn activate_pid(pid: i32) -> Result<(), String> {
|
|||||||
mod win {
|
mod win {
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
|
|
||||||
use windows::core::{IUnknown, BSTR, PWSTR};
|
use windows::core::{IUnknown, BOOL, BSTR, PWSTR};
|
||||||
use windows::Win32::Foundation::{CloseHandle, BOOL, HWND, LPARAM};
|
use windows::Win32::Foundation::{CloseHandle, HWND, LPARAM};
|
||||||
use windows::Win32::System::Com::{
|
use windows::Win32::System::Com::{
|
||||||
CoCreateInstance, CoInitializeEx, CLSCTX_INPROC_SERVER, COINIT_MULTITHREADED,
|
CoCreateInstance, CoInitializeEx, CLSCTX_INPROC_SERVER, COINIT_MULTITHREADED,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user