Hresult enumeration

Custom HRESULT values for the graphics diagnostics capture interface.

Syntax


enum Hresult {  PIX_S_OK                                                      = 0, 
  PIX_S_FALSE                                                   = 1, 
  PIX_ERROR_FILE_NOT_FOUND                                      = ERROR_FILE_NOT_FOUND, 
  PIX_ERROR_BAD_ENVIRONMENT                                     = ERROR_BAD_ENVIRONMENT, 
  PIX_ERROR_BAD_FORMAT                                          = ERROR_BAD_FORMAT, 
  PIX_ERROR_SHARING_VIOLATION                                   = ERROR_SHARING_VIOLATION, 
  PIX_ERROR_DISK_FULL                                           = ERROR_DISK_FULL, 
  PIX_ERROR_MORE_DATA                                           = ERROR_MORE_DATA, 
  PIX_E_MISSING_DEBUG_KITS_POLICY                               = 577, 
  PIX_E_INVALID_VERSION                                         = 1638, 
  PIX_E_USING_DCOMP                                             = 1639, 
  PIX_E_USING_DIRECTWRITE                                       = 1640, 
  PIX_E_USING_D3D9                                              = 1641, 
  PIX_E_CANT_CREATE_SHADER                                      = 1642, 
  PIX_E_USING_D2D                                               = 1643, 
  PIX_E_NO_FRAMES                                               = 0x00FFFFE5, 
  PIX_E_DISABLE_SPY                                             = 0x00FFFFE6, 
  PIX_E_WIN8LOG_ON_WIN7                                         = 0x00FFFFE7, 
  PIX_E_BUILD_SHADER_TRACE                                      = 0x00FFFFE8, 
  PIX_E_NO_CS_DATA_VISUALIZATION                                = 0x00FFFFE9, 
  PIX_E_MISMATCH_SDK                                            = 0x00FFFFEA, 
  PIX_E_POSSIBLE_MISMATCH_SDK                                   = 0x00FFFFEB, 
  PIX_E_UNDETECTABLE_PIXEL                                      = 0x00FFFFEC, 
  PIX_E_CANT_DEBUG_SHADER_USING_SYSTEM_VALUE_SEMANTICS          = 0x00FFFFED, 
  PIX_S_UPDATEAVAILABLE                                         = 0x08790000, 
  PIX_DXGI_STATUS_NO_REDIRECTION                                = DXGI_STATUS_NO_REDIRECTION, 
  PIX_DXGI_STATUS_NO_DESKTOP_ACCESS                             = DXGI_STATUS_NO_DESKTOP_ACCESS, 
  PIX_DXGI_STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE                  = DXGI_STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE, 
  PIX_DXGI_STATUS_MODE_CHANGED                                  = DXGI_STATUS_MODE_CHANGED, 
  PIX_DXGI_STATUS_MODE_CHANGE_IN_PROGRESS                       = DXGI_STATUS_MODE_CHANGE_IN_PROGRESS, 
  PIX_DXGI_STATUS_UNOCCLUDED                                    = DXGI_STATUS_UNOCCLUDED, 
  PIX_DXGI_STATUS_DDA_WAS_STILL_DRAWING                         = DXGI_STATUS_DDA_WAS_STILL_DRAWING, 
  PIX_E_NOTIMPL                                                 = E_NOTIMPL, 
  PIX_E_NOINTERFACE                                             = E_NOINTERFACE, 
  PIX_E_POINTER                                                 = E_POINTER, 
  PIX_E_ABORT                                                   = E_ABORT, 
  PIX_E_FAIL                                                    = E_FAIL, 
  PIX_E_UNEXPECTED                                              = E_UNEXPECTED, 
  PIX_E_ACCESSDENIED                                            = E_ACCESSDENIED, 
  PIX_E_HANDLE                                                  = E_HANDLE, 
  PIX_E_OUTOFMEMORY                                             = E_OUTOFMEMORY, 
  PIX_E_INVALIDARG                                              = E_INVALIDARG, 
  PIX_XBOX_ERROR_DISK_FULL                                      = 0x80070070, 
  PIX_WS_E_ADDRESS_IN_USE                                       = 0x803D000BL, 
  PIX_WS_E_MISSING_KITS_POLICY                                  = 0x8031800A, 
  PIX_TE_FAILEDTOLOADSOFTWAREMODULE                             = 0x80630000, 
  PIX_TE_USEDSOFTWAREMODULETHATWASNTWARPORREF                   = 0x80630001, 
  PIX_TE_CORRUPTEDFILE                                          = 0x80630002, 
  PIX_TE_FAILEDTOOPENFILE                                       = 0x80630003, 
  PIX_TE_CALLFAILEDONPLAYBACK                                   = 0x80630004, 
  PIX_TE_UNKNOWNUUID                                            = 0x80630005, 
  PIX_TE_NOTCAPTUREFILEORCORRUPTED                              = 0x80630006, 
  PIX_TE_NEWERFILE                                              = 0x80630007, 
  PIX_TE_OLDERFILE                                              = 0x80630008, 
  PIX_TE_INVALIDMOMENT                                          = 0x80630009, 
  PIX_TE_BAD_DRIVER                                             = 0x8065000E, 
  PIX_ERROR_CANT_ACCESS_DEPTHSTENCIL_IN_CPU                     = 0x88760b5d, 
  PIX_ERROR_CANT_RESOLVE_MULTISAMPLED_TEXTURE                   = 0x88760b5e, 
  PIX_DXGI_ERROR_INVALID_CALL                                   = DXGI_ERROR_INVALID_CALL, 
  PIX_DXGI_ERROR_NOT_FOUND                                      = DXGI_ERROR_NOT_FOUND, 
  PIX_DXGI_ERROR_MORE_DATA                                      = DXGI_ERROR_MORE_DATA, 
  PIX_DXGI_ERROR_UNSUPPORTED                                    = DXGI_ERROR_UNSUPPORTED, 
  PIX_DXGI_ERROR_DEVICE_REMOVED                                 = DXGI_ERROR_DEVICE_REMOVED, 
  PIX_DXGI_ERROR_DEVICE_HUNG                                    = DXGI_ERROR_DEVICE_HUNG, 
  PIX_DXGI_ERROR_DEVICE_RESET                                   = DXGI_ERROR_DEVICE_RESET, 
  PIX_DXGI_ERROR_WAS_STILL_DRAWING                              = DXGI_ERROR_WAS_STILL_DRAWING, 
  PIX_DXGI_ERROR_FRAME_STATISTICS_DISJOINT                      = DXGI_ERROR_FRAME_STATISTICS_DISJOINT, 
  PIX_DXGI_ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE                   = DXGI_ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE, 
  PIX_DXGI_ERROR_DRIVER_INTERNAL_ERROR                          = DXGI_ERROR_DRIVER_INTERNAL_ERROR, 
  PIX_DXGI_ERROR_NONEXCLUSIVE                                   = DXGI_ERROR_NONEXCLUSIVE, 
  PIX_DXGI_ERROR_NOT_CURRENTLY_AVAILABLE                        = DXGI_ERROR_NOT_CURRENTLY_AVAILABLE, 
  PIX_DXGI_ERROR_REMOTE_CLIENT_DISCONNECTED                     = DXGI_ERROR_REMOTE_CLIENT_DISCONNECTED, 
  PIX_DXGI_ERROR_REMOTE_OUTOFMEMORY                             = DXGI_ERROR_REMOTE_OUTOFMEMORY, 
  PIX_DXGI_ERROR_MODE_CHANGE_IN_PROGRESS                        = DXGI_ERROR_MODE_CHANGE_IN_PROGRESS, 
  PIX_DXGI_ERROR_ACCESS_LOST                                    = DXGI_ERROR_ACCESS_LOST, 
  PIX_DXGI_ERROR_WAIT_TIMEOUT                                   = DXGI_ERROR_WAIT_TIMEOUT, 
  PIX_DXGI_ERROR_SESSION_DISCONNECTED                           = DXGI_ERROR_SESSION_DISCONNECTED, 
  PIX_DXGI_ERROR_RESTRICT_TO_OUTPUT_STALE                       = DXGI_ERROR_RESTRICT_TO_OUTPUT_STALE, 
  PIX_DXGI_ERROR_CANNOT_PROTECT_CONTENT                         = DXGI_ERROR_CANNOT_PROTECT_CONTENT, 
  PIX_DXGI_ERROR_ACCESS_DENIED                                  = DXGI_ERROR_ACCESS_DENIED, 
  PIX_DXGI_ERROR_NAME_ALREADY_EXISTS                            = DXGI_ERROR_NAME_ALREADY_EXISTS, 
  PIX_DXGI_ERROR_SDK_COMPONENT_MISSING                          = DXGI_ERROR_SDK_COMPONENT_MISSING, 
  PIX_DXGI_DDI_ERR_WASSTILLDRAWING                              = DXGI_DDI_ERR_WASSTILLDRAWING, 
  PIX_DXGI_DDI_ERR_UNSUPPORTED                                  = DXGI_DDI_ERR_UNSUPPORTED, 
  PIX_DXGI_DDI_ERR_NONEXCLUSIVE                                 = DXGI_DDI_ERR_NONEXCLUSIVE, 
  PIX_D3D10_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS                 = D3D10_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS, 
  PIX_D3D10_ERROR_FILE_NOT_FOUND                                = D3D10_ERROR_FILE_NOT_FOUND, 
  PIX_D3D11_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS                 = D3D11_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS, 
  PIX_D3D11_ERROR_FILE_NOT_FOUND                                = D3D11_ERROR_FILE_NOT_FOUND, 
  PIX_D3D11_ERROR_TOO_MANY_UNIQUE_VIEW_OBJECTS                  = D3D11_ERROR_TOO_MANY_UNIQUE_VIEW_OBJECTS, 
  PIX_D3D11_ERROR_DEFERRED_CONTEXT_MAP_WITHOUT_INITIAL_DISCARD  = D3D11_ERROR_DEFERRED_CONTEXT_MAP_WITHOUT_INITIAL_DISCARD, 
  PIX_ERROR_OCCLUDED_DRAW_CALL                                  = 0xC0262006 

};

Constants

PIX_S_OK

A common HRESULT which indicates that the operation succeeded as expected.

PIX_S_FALSE

A common HRESULT which indicates that the operation succeeded, but in a different way than was expected.

PIX_ERROR_FILE_NOT_FOUND

A custom HRESULT that echos ERROR_FILE_NOT_FOUND.

PIX_ERROR_BAD_ENVIRONMENT

A custom HRESULT that echos ERROR_BAD_ENVIRONMENT.

PIX_ERROR_BAD_FORMAT

A custom HRESULT that echos ERROR_BAD_FORMAT.

PIX_ERROR_SHARING_VIOLATION

A custom HRESULT that echos ERROR_SHARING_VIOLATION.

PIX_ERROR_DISK_FULL

A custom HRESULT that echos ERROR_DISK_FULL.

PIX_ERROR_MORE_DATA

A custom HRESULT that echos ERROR_MORE_DATA.

PIX_E_MISSING_DEBUG_KITS_POLICY

A custom HRESULT which indicates that the Debug Kits policy is missing.

PIX_E_INVALID_VERSION

A custom HRESULT which indicates that an invalid version is being used.

PIX_E_USING_DCOMP

A custom HRESULT which indicates that DirectComposition is in use (capture of DirectComposition is not supported.)

PIX_E_USING_DIRECTWRITE

A custom HRESULT which indicates that DirectWrite is in use (capture of DirectWrite is not supported.)

PIX_E_USING_D3D9

A custom HRESULT which indicates that Direct3D9 is in use (capture of Direct3D9 is not supported in Windows 10.)

PIX_E_CANT_CREATE_SHADER

A custom HRESULT which indicates that a specified shader can't be created.

PIX_E_USING_D2D

A custom HRESULT which indicates that Direct2D is in use (capture of Direct2D is not supported.)

PIX_E_NO_FRAMES

A custom HRESULT which indicates that no frames have been captured.

PIX_E_DISABLE_SPY
PIX_E_WIN8LOG_ON_WIN7

A custom HRESULT which indicates that a Windows 8 vsglog cannot be played back on Windows 7.

PIX_E_BUILD_SHADER_TRACE

A custom HRESULT which indicates that there was an error building the shader trace.

PIX_E_NO_CS_DATA_VISUALIZATION

A custom HRESULT which indicates that there is no compute shader data visualization.

PIX_E_MISMATCH_SDK

A custom HRESULT which indicates that there is a mismatch with the current SDK.

PIX_E_POSSIBLE_MISMATCH_SDK

A custom HRESULT which indicates that there is a possible mismatch with the current SDK.

PIX_E_UNDETECTABLE_PIXEL

A custom HRESULT which indicates that there is an undetectable pixel.

PIX_E_CANT_DEBUG_SHADER_USING_SYSTEM_VALUE_SEMANTICS

A custom HRESULT which indicates that the sahder can't be debugged using system value semantics.

PIX_S_UPDATEAVAILABLE

A custom HRESULT which indicates that there is an update available.

PIX_DXGI_STATUS_NO_REDIRECTION

A custom HRESULT that echos DXGI_STATUS_NO_REDIRECTION.

PIX_DXGI_STATUS_NO_DESKTOP_ACCESS

A custom HRESULT that echos DXGI_STATUS_NO_DESKTOP_ACCESS.

PIX_DXGI_STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE

A custom HRESULT that echos DXGI_STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE.

PIX_DXGI_STATUS_MODE_CHANGED

A custom HRESULT that echos DXGI_STATUS_MODE_CHANGED.

PIX_DXGI_STATUS_MODE_CHANGE_IN_PROGRESS

A custom HRESULT that echos DXGI_STATUS_MODE_CHANGE_IN_PROGRESS.

PIX_DXGI_STATUS_UNOCCLUDED

A custom HRESULT that echos DXGI_STATUS_UNOCCLUDED.

PIX_DXGI_STATUS_DDA_WAS_STILL_DRAWING

A custom HRESULT that echos DXGI_STATUS_DDA_WAS_STILL_DRAWING.

PIX_E_NOTIMPL

A custom HRESULT that echos E_NOTIMPL.

PIX_E_NOINTERFACE

A custom HRESULT that echos E_NOINTERFACE.

PIX_E_POINTER

A custom HRESULT that echos E_POINTER.

PIX_E_ABORT

A custom HRESULT that echos E_ABORT.

PIX_E_FAIL

A custom HRESULT that echos E_FAIL.

PIX_E_UNEXPECTED

A custom HRESULT that echos E_UNEXPECTED.

PIX_E_ACCESSDENIED

A custom HRESULT that echos E_ACCESSDENIED.

PIX_E_HANDLE

A custom HRESULT that echos E_HANDLE.

PIX_E_OUTOFMEMORY

A custom HRESULT that echos E_OUTOFMEMORY.

PIX_E_INVALIDARG

A custom HRESULT that echos E_INVALIDARG.

PIX_XBOX_ERROR_DISK_FULL

A custom HRESULT which indicates that the disk is full.

PIX_WS_E_ADDRESS_IN_USE

A custom HRESULT which indicates that the address is already in use.

PIX_WS_E_MISSING_KITS_POLICY

A custom HRESULT which indicates that the address is not available.

PIX_TE_FAILEDTOLOADSOFTWAREMODULE

A custom HRESULT which indicates that a necessary software module failed to load.

PIX_TE_USEDSOFTWAREMODULETHATWASNTWARPORREF

A custom HRESULT which indicates that the used software module was not the WARP or REF driver.

PIX_TE_CORRUPTEDFILE

A custom HRESULT which indicates that the file is corrupted.

PIX_TE_FAILEDTOOPENFILE

A custom HRESULT which indicates that the file failed to open.

PIX_TE_CALLFAILEDONPLAYBACK

A custom HRESULT which indicates that a call failed during playback.

PIX_TE_UNKNOWNUUID

A custom HRESULT which indicates that an unknown UUID was encountered; this should never occur.

PIX_TE_NOTCAPTUREFILEORCORRUPTED

A custom HRESULT which indicates that the file is not a capture file or is corrupted.

PIX_TE_NEWERFILE
PIX_TE_OLDERFILE
PIX_TE_INVALIDMOMENT
PIX_TE_BAD_DRIVER

A custom HRESULT which indicates that the driver is bad.

PIX_ERROR_CANT_ACCESS_DEPTHSTENCIL_IN_CPU

A custom HRESULT which indicates that the CPU attempted to access the depth-stencil buffer, resulting in an error.

PIX_ERROR_CANT_RESOLVE_MULTISAMPLED_TEXTURE

A custom HRESULT which indicates that there was an attempt to resolve a multi-sampled texture, resulting in an error.

PIX_DXGI_ERROR_INVALID_CALL

A custom HRESULT that echos DXGI_ERROR_INVALID_CALL.

PIX_DXGI_ERROR_NOT_FOUND

A custom HRESULT that echos DXGI_ERROR_NOT_FOUND.

PIX_DXGI_ERROR_MORE_DATA

A custom HRESULT that echos DXGI_ERROR_MORE_DATA.

PIX_DXGI_ERROR_UNSUPPORTED

A custom HRESULT that echos DXGI_ERROR_UNSUPPORTED.

PIX_DXGI_ERROR_DEVICE_REMOVED

A custom HRESULT that echos DXGI_ERROR_DEVICE_REMOVED.

PIX_DXGI_ERROR_DEVICE_HUNG

A custom HRESULT that echos DXGI_ERROR_DEVICE_HUNG.

PIX_DXGI_ERROR_DEVICE_RESET

A custom HRESULT that echos DXGI_ERROR_DEVICE_RESET.

PIX_DXGI_ERROR_WAS_STILL_DRAWING

A custom HRESULT that echos DXGI_ERROR_WAS_STILL_DRAWING.

PIX_DXGI_ERROR_FRAME_STATISTICS_DISJOINT

A custom HRESULT that echos DXGI_ERROR_FRAME_STATISTICS_DISJOINT.

PIX_DXGI_ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE

A custom HRESULT that echos DXGI_ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE.

PIX_DXGI_ERROR_DRIVER_INTERNAL_ERROR

A custom HRESULT that echos DXGI_ERROR_DRIVER_INTERNAL_ERROR.

PIX_DXGI_ERROR_NONEXCLUSIVE

A custom HRESULT that echos DXGI_ERROR_NONEXCLUSIVE.

PIX_DXGI_ERROR_NOT_CURRENTLY_AVAILABLE

A custom HRESULT that echos DXGI_ERROR_NOT_CURRENTLY_AVAILABLE.

PIX_DXGI_ERROR_REMOTE_CLIENT_DISCONNECTED

A custom HRESULT that echos DXGI_ERROR_REMOTE_CLIENT_DISCONNECTED.

PIX_DXGI_ERROR_REMOTE_OUTOFMEMORY

A custom HRESULT that echos DXGI_ERROR_REMOTE_OUTOFMEMORY.

PIX_DXGI_ERROR_MODE_CHANGE_IN_PROGRESS

A custom HRESULT that echos DXGI_ERROR_MODE_CHANGE_IN_PROGRESS.

PIX_DXGI_ERROR_ACCESS_LOST

A custom HRESULT that echos DXGI_ERROR_ACCESS_LOST.

PIX_DXGI_ERROR_WAIT_TIMEOUT

A custom HRESULT that echos DXGI_ERROR_WAIT_TIMEOUT.

PIX_DXGI_ERROR_SESSION_DISCONNECTED

A custom HRESULT that echos DXGI_ERROR_SESSION_DISCONNECTED.

PIX_DXGI_ERROR_RESTRICT_TO_OUTPUT_STALE

A custom HRESULT that echos DXGI_ERROR_RESTRICT_TO_OUTPUT_STALE.

PIX_DXGI_ERROR_CANNOT_PROTECT_CONTENT

A custom HRESULT that echos DXGI_ERROR_CANNOT_PROTECT_CONTENT.

PIX_DXGI_ERROR_ACCESS_DENIED

A custom HRESULT that echos DXGI_ERROR_ACCESS_DENIED.

PIX_DXGI_ERROR_NAME_ALREADY_EXISTS

A custom HRESULT that echos DXGI_ERROR_NAME_ALREADY_EXISTS.

PIX_DXGI_ERROR_SDK_COMPONENT_MISSING

A custom HRESULT that echos DXGI_ERROR_SDK_COMPONENT_MISSING.

PIX_DXGI_DDI_ERR_WASSTILLDRAWING

A custom HRESULT that echos DXGI_DDI_ERR_WASSTILLDRAWING.

PIX_DXGI_DDI_ERR_UNSUPPORTED

A custom HRESULT that echos DXGI_DDI_ERR_UNSUPPORTED.

PIX_DXGI_DDI_ERR_NONEXCLUSIVE

A custom HRESULT that echos DXGI_DDI_ERR_NONEXCLUSIVE.

PIX_D3D10_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS

A custom HRESULT that echos D3D10_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS.

PIX_D3D10_ERROR_FILE_NOT_FOUND

A custom HRESULT that echos D3D10_ERROR_FILE_NOT_FOUND.

PIX_D3D11_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS

A custom HRESULT that echos D3D11_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS.

PIX_D3D11_ERROR_FILE_NOT_FOUND

A custom HRESULT that echos D3D11_ERROR_FILE_NOT_FOUND.

PIX_D3D11_ERROR_TOO_MANY_UNIQUE_VIEW_OBJECTS

A custom HRESULT that echos D3D11_ERROR_TOO_MANY_UNIQUE_VIEW_OBJECTS.

PIX_D3D11_ERROR_DEFERRED_CONTEXT_MAP_WITHOUT_INITIAL_DISCARD

A custom HRESULT that echos D3D11_ERROR_DEFERRED_CONTEXT_MAP_WITHOUT_INITIAL_DISCARD.

PIX_ERROR_OCCLUDED_DRAW_CALL

A custom HRESULT which indicates that a draw call was entirely occluded, resulting in an error.

Requirements

Header

Vspixengine.h

 

 

Community Additions

ADD
Show: