Type Alias GUID

Source
pub type GUID = _GUID;
Expand description

Structs, types and constants defined by swell.h (on Linux and Mac OS X) and windows.h (on Windows).

When exposing a Windows API struct/types or a REAPER struct which contains Windows API structs/types, it would be good to recheck if its binary representation is the same in the Windows-generated bindings.rs (based on windows.h) as in the Linux-generated bindings.rs (based on swell.h). If not, that can introduce cross-platform issues.

It seems SWELL itself does a pretty good job already to keep the binary representations the same. E.g. DWORD ends up as c_ulong on Windows (= u32 on Windows) and c_uint on Linux (= u32 on Linux).

Aliased Type§

#[repr(C)]
pub struct GUID { pub Data1: u32, pub Data2: u16, pub Data3: u16, pub Data4: [u8; 8], }

Fields§

§Data1: u32§Data2: u16§Data3: u16§Data4: [u8; 8]