X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=specs%2Fdxgitype.py;h=c6202b58588d1ac9a088bf5f390e67d2d613c4a9;hb=a936afc3ebb349c3aec8b5a595706f3c9749ad37;hp=f5237c9e8038c68ace806f44156855137ecfb26a;hpb=44756655362254679ae8b6ecad66104175b5e773;p=apitrace diff --git a/specs/dxgitype.py b/specs/dxgitype.py index f5237c9..c6202b5 100644 --- a/specs/dxgitype.py +++ b/specs/dxgitype.py @@ -23,8 +23,36 @@ # ##########################################################################/ + from dxgiformat import * + +HRESULT = MAKE_HRESULT([ + "DXGI_STATUS_OCCLUDED", + "DXGI_STATUS_CLIPPED", + "DXGI_STATUS_NO_REDIRECTION", + "DXGI_STATUS_NO_DESKTOP_ACCESS", + "DXGI_STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE", + "DXGI_STATUS_MODE_CHANGED", + "DXGI_STATUS_MODE_CHANGE_IN_PROGRESS", + "DXGI_ERROR_INVALID_CALL", + "DXGI_ERROR_NOT_FOUND", + "DXGI_ERROR_MORE_DATA", + "DXGI_ERROR_UNSUPPORTED", + "DXGI_ERROR_DEVICE_REMOVED", + "DXGI_ERROR_DEVICE_HUNG", + "DXGI_ERROR_DEVICE_RESET", + "DXGI_ERROR_WAS_STILL_DRAWING", + "DXGI_ERROR_FRAME_STATISTICS_DISJOINT", + "DXGI_ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE", + "DXGI_ERROR_DRIVER_INTERNAL_ERROR", + "DXGI_ERROR_NONEXCLUSIVE", + "DXGI_ERROR_NOT_CURRENTLY_AVAILABLE", + "DXGI_ERROR_REMOTE_CLIENT_DISCONNECTED", + "DXGI_ERROR_REMOTE_OUTOFMEMORY", +]) + + DXGI_RGB = Struct("DXGI_RGB", [ (Float, "Red"), (Float, "Green"),