pub type AllJoynEventSelect = unsafe extern "system" fn(connectedbushandle: HANDLE, eventhandle: HANDLE, eventtypes: u32) -> BOOL;