#include gnReturnCode checkPresentationQueueGetImageAsync(gnPresentationQueueHandle presentationQueue, uint64_t timeout, gnSemaphoreHandle semaphore, uint32_t* imageIndex); gnReturnCode checkCreateSemaphore(gnSemaphoreHandle semaphore, gnOutputDeviceHandle device); void checkDestroySemaphore(gnSemaphoreHandle semaphore); gnReturnCode checkCreateFence(gnFenceHandle fence, gnOutputDeviceHandle device); void checkWaitForFence(gnFenceHandle fence, uint64_t timeout); void checkResetFence(gnFenceHandle fence); void checkDestroyFence(gnFenceHandle fence);