xref: /reactos/sdk/include/dxsdk/mpeg2error.h (revision c2c66aff)
1*c2c66affSColin Finck #pragma once
2*c2c66affSColin Finck 
3*c2c66affSColin Finck 
4*c2c66affSColin Finck #define MAKE_S_ITF_HRESULT(x)   MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_ITF, (x))
5*c2c66affSColin Finck #define MAKE_E_ITF_HRESULT(x)   MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, (x))
6*c2c66affSColin Finck const unsigned int MPEG2_BASE = 0x200;
7*c2c66affSColin Finck 
8*c2c66affSColin Finck const HRESULT MPEG2_E_UNINITIALIZED                     = MAKE_E_ITF_HRESULT(MPEG2_BASE + 0);
9*c2c66affSColin Finck const HRESULT MPEG2_E_ALREADY_INITIALIZED               = MAKE_E_ITF_HRESULT(MPEG2_BASE + 1);
10*c2c66affSColin Finck const HRESULT MPEG2_E_OUT_OF_BOUNDS                     = MAKE_E_ITF_HRESULT(MPEG2_BASE + 2);
11*c2c66affSColin Finck const HRESULT MPEG2_E_MALFORMED_TABLE                   = MAKE_E_ITF_HRESULT(MPEG2_BASE + 3);
12*c2c66affSColin Finck const HRESULT MPEG2_E_UNDEFINED                         = MAKE_E_ITF_HRESULT(MPEG2_BASE + 4);
13*c2c66affSColin Finck const HRESULT MPEG2_E_NOT_PRESENT                       = MAKE_E_ITF_HRESULT(MPEG2_BASE + 5);
14*c2c66affSColin Finck const HRESULT MPEG2_E_SECTION_NOT_FOUND                 = MAKE_E_ITF_HRESULT(MPEG2_BASE + 6);
15*c2c66affSColin Finck const HRESULT MPEG2_E_TX_STREAM_UNAVAILABLE             = MAKE_E_ITF_HRESULT(MPEG2_BASE + 7);
16*c2c66affSColin Finck const HRESULT MPEG2_E_SERVICE_ID_NOT_FOUND              = MAKE_E_ITF_HRESULT(MPEG2_BASE + 8);
17*c2c66affSColin Finck const HRESULT MPEG2_E_SERVICE_PMT_NOT_FOUND             = MAKE_E_ITF_HRESULT(MPEG2_BASE + 9);
18*c2c66affSColin Finck const HRESULT MPEG2_E_DSI_NOT_FOUND                     = MAKE_E_ITF_HRESULT(MPEG2_BASE + 10);
19*c2c66affSColin Finck const HRESULT MPEG2_E_SERVER_UNAVAILABLE                = MAKE_E_ITF_HRESULT(MPEG2_BASE + 11);
20*c2c66affSColin Finck const HRESULT MPEG2_E_INVALID_CAROUSEL_ID               = MAKE_E_ITF_HRESULT(MPEG2_BASE + 12);
21*c2c66affSColin Finck const HRESULT MPEG2_E_MALFORMED_DSMCC_MESSAGE           = MAKE_E_ITF_HRESULT(MPEG2_BASE + 13);
22*c2c66affSColin Finck const HRESULT MPEG2_E_INVALID_SG_OBJECT_KIND            = MAKE_E_ITF_HRESULT(MPEG2_BASE + 14);
23*c2c66affSColin Finck const HRESULT MPEG2_E_OBJECT_NOT_FOUND                  = MAKE_E_ITF_HRESULT(MPEG2_BASE + 15);
24*c2c66affSColin Finck const HRESULT MPEG2_E_OBJECT_KIND_NOT_A_DIRECTORY       = MAKE_E_ITF_HRESULT(MPEG2_BASE + 16);
25*c2c66affSColin Finck const HRESULT MPEG2_E_OBJECT_KIND_NOT_A_FILE            = MAKE_E_ITF_HRESULT(MPEG2_BASE + 17);
26*c2c66affSColin Finck const HRESULT MPEG2_E_FILE_OFFSET_TOO_BIG               = MAKE_E_ITF_HRESULT(MPEG2_BASE + 18);
27*c2c66affSColin Finck const HRESULT MPEG2_E_STREAM_STOPPED                    = MAKE_E_ITF_HRESULT(MPEG2_BASE + 19);
28*c2c66affSColin Finck const HRESULT MPEG2_E_REGISTRY_ACCESS_FAILED            = MAKE_E_ITF_HRESULT(MPEG2_BASE + 20);
29*c2c66affSColin Finck const HRESULT MPEG2_E_INVALID_UDP_PORT                  = MAKE_E_ITF_HRESULT(MPEG2_BASE + 21);
30*c2c66affSColin Finck const HRESULT MPEG2_E_DATA_SOURCE_FAILED                = MAKE_E_ITF_HRESULT(MPEG2_BASE + 22);
31*c2c66affSColin Finck const HRESULT MPEG2_E_DII_NOT_FOUND                     = MAKE_E_ITF_HRESULT(MPEG2_BASE + 23);
32*c2c66affSColin Finck const HRESULT MPEG2_E_DSHOW_PIN_NOT_FOUND               = MAKE_E_ITF_HRESULT(MPEG2_BASE + 24);
33*c2c66affSColin Finck const HRESULT MPEG2_E_BUFFER_TOO_SMALL                  = MAKE_E_ITF_HRESULT(MPEG2_BASE + 25);
34*c2c66affSColin Finck const HRESULT MPEG2_E_MISSING_SECTIONS                  = MAKE_E_ITF_HRESULT(MPEG2_BASE + 26);
35*c2c66affSColin Finck const HRESULT MPEG2_E_TOO_MANY_SECTIONS                 = MAKE_E_ITF_HRESULT(MPEG2_BASE + 27);
36*c2c66affSColin Finck const HRESULT MPEG2_E_NEXT_TABLE_OPS_NOT_AVAILABLE      = MAKE_E_ITF_HRESULT(MPEG2_BASE + 28);
37*c2c66affSColin Finck 
38*c2c66affSColin Finck const HRESULT MPEG2_S_MORE_DATA_AVAILABLE               = MAKE_S_ITF_HRESULT(MPEG2_BASE + 0);
39*c2c66affSColin Finck const HRESULT MPEG2_S_NO_MORE_DATA_AVAILABLE            = MAKE_S_ITF_HRESULT(MPEG2_BASE + 1);
40*c2c66affSColin Finck const HRESULT MPEG2_S_SG_INFO_FOUND                     = MAKE_S_ITF_HRESULT(MPEG2_BASE + 2);
41*c2c66affSColin Finck const HRESULT MPEG2_S_SG_INFO_NOT_FOUND                 = MAKE_S_ITF_HRESULT(MPEG2_BASE + 3);
42*c2c66affSColin Finck const HRESULT MPEG2_S_MPE_INFO_FOUND                    = MAKE_S_ITF_HRESULT(MPEG2_BASE + 4);
43*c2c66affSColin Finck const HRESULT MPEG2_S_MPE_INFO_NOT_FOUND                = MAKE_S_ITF_HRESULT(MPEG2_BASE + 5);
44*c2c66affSColin Finck const HRESULT MPEG2_S_NEW_MODULE_VERSION                = MAKE_S_ITF_HRESULT(MPEG2_BASE + 6);
45*c2c66affSColin Finck 
46