Function steamworks_sys::SteamAPI_ManualDispatch_GetNextCallback[][src]

pub unsafe extern "C" fn SteamAPI_ManualDispatch_GetNextCallback(
    hSteamPipe: HSteamPipe,
    pCallbackMsg: *mut CallbackMsg_t
) -> bool

Fetch the next pending callback on the given pipe, if any. If a callback is available, true is returned and the structure is populated. In this case, you MUST call SteamAPI_ManualDispatch_FreeLastCallback (after dispatching the callback) before calling SteamAPI_ManualDispatch_GetNextCallback again.