[Xam/Enum] Implement EnumerateMediaObjects Functions
According to xam versions 8955 and 12611 all EnumerateMediaObjects are the same function and only return 0x80004001
This commit is contained in:
parent
580b1f4345
commit
160d80d5cc
|
@ -167,6 +167,18 @@ dword_result_t XamProfileEnumerate_entry(dword_t handle, dword_t flags,
|
|||
}
|
||||
DECLARE_XAM_EXPORT1(XamProfileEnumerate, kNone, kImplemented);
|
||||
|
||||
dword_result_t EnumerateMediaObjects_entry() { return X_E_NOT_IMPLEMENTED; }
|
||||
DECLARE_XAM_EXPORT1(EnumerateMediaObjects, kNone, kStub);
|
||||
|
||||
dword_result_t EnumerateMediaObjects__entry() { return X_E_NOT_IMPLEMENTED; }
|
||||
DECLARE_XAM_EXPORT1(EnumerateMediaObjects_, kNone, kStub);
|
||||
|
||||
dword_result_t EnumerateMediaObjects_0_entry() { return X_E_NOT_IMPLEMENTED; }
|
||||
DECLARE_XAM_EXPORT1(EnumerateMediaObjects_0, kNone, kStub);
|
||||
|
||||
dword_result_t EnumerateMediaObjects_1_entry() { return X_E_NOT_IMPLEMENTED; }
|
||||
DECLARE_XAM_EXPORT1(EnumerateMediaObjects_1, kNone, kStub);
|
||||
|
||||
} // namespace xam
|
||||
} // namespace kernel
|
||||
} // namespace xe
|
||||
|
|
|
@ -121,6 +121,7 @@ typedef uint32_t X_HRESULT;
|
|||
|
||||
#define X_E_FALSE static_cast<X_HRESULT>(0x80000000L)
|
||||
#define X_E_SUCCESS X_HRESULT_FROM_WIN32(X_ERROR_SUCCESS)
|
||||
#define X_E_NOT_IMPLEMENTED static_cast<X_HRESULT>(0x80004001L)
|
||||
#define X_E_FAIL static_cast<X_HRESULT>(0x80004005L)
|
||||
#define X_E_NO_MORE_FILES X_HRESULT_FROM_WIN32(X_ERROR_NO_MORE_FILES)
|
||||
#define X_E_INVALIDARG X_HRESULT_FROM_WIN32(X_ERROR_INVALID_PARAMETER)
|
||||
|
|
Loading…
Reference in New Issue