@@ -2496,6 +2496,8 @@ pub const LPCWSTR = [*:0]const WCHAR;
2496
2496
pub const PVOID = * anyopaque ;
2497
2497
pub const PWSTR = [* :0 ]WCHAR ;
2498
2498
pub const PCWSTR = [* :0 ]const WCHAR ;
2499
+ /// Allocated by SysAllocString, freed by SysFreeString
2500
+ pub const BSTR = [* :0 ]WCHAR ;
2499
2501
pub const SIZE_T = usize ;
2500
2502
pub const UINT = c_uint ;
2501
2503
pub const ULONG_PTR = usize ;
@@ -3253,6 +3255,7 @@ pub const KF_FLAG_SIMPLE_IDLIST = 256;
3253
3255
pub const KF_FLAG_ALIAS_ONLY = -2147483648 ;
3254
3256
3255
3257
pub const S_OK = 0 ;
3258
+ pub const S_FALSE = 0x00000001 ;
3256
3259
pub const E_NOTIMPL = @as (c_long , @bitCast (@as (c_ulong , 0x80004001 )));
3257
3260
pub const E_NOINTERFACE = @as (c_long , @bitCast (@as (c_ulong , 0x80004002 )));
3258
3261
pub const E_POINTER = @as (c_long , @bitCast (@as (c_ulong , 0x80004003 )));
@@ -3563,15 +3566,11 @@ pub const RTL_RUN_ONCE = extern struct {
3563
3566
3564
3567
pub const RTL_RUN_ONCE_INIT = RTL_RUN_ONCE { .Ptr = null };
3565
3568
3566
- pub const COINIT_APARTMENTTHREADED = COINIT .COINIT_APARTMENTTHREADED ;
3567
- pub const COINIT_MULTITHREADED = COINIT .COINIT_MULTITHREADED ;
3568
- pub const COINIT_DISABLE_OLE1DDE = COINIT .COINIT_DISABLE_OLE1DDE ;
3569
- pub const COINIT_SPEED_OVER_MEMORY = COINIT .COINIT_SPEED_OVER_MEMORY ;
3570
- pub const COINIT = enum (c_int ) {
3571
- COINIT_APARTMENTTHREADED = 2 ,
3572
- COINIT_MULTITHREADED = 0 ,
3573
- COINIT_DISABLE_OLE1DDE = 4 ,
3574
- COINIT_SPEED_OVER_MEMORY = 8 ,
3569
+ pub const COINIT = struct {
3570
+ pub const APARTMENTTHREADED = 2 ;
3571
+ pub const MULTITHREADED = 0 ;
3572
+ pub const DISABLE_OLE1DDE = 4 ;
3573
+ pub const SPEED_OVER_MEMORY = 8 ;
3575
3574
};
3576
3575
3577
3576
pub const MEMORY_BASIC_INFORMATION = extern struct {
0 commit comments