mirror of
https://github.com/reactos/reactos.git
synced 2025-07-24 07:03:57 +00:00
[SHELL32] Implement several ShellDispatch methods (#6145)
* Implement most of the methods * Some suggested changes and better error handling (that I then mask like Windows)
This commit is contained in:
parent
c69371cced
commit
7a810c17e7
2 changed files with 204 additions and 34 deletions
|
@ -67,6 +67,12 @@ Win32DbgPrint(const char *filename, int line, const char *lpFormat, ...)
|
|||
# define IID_NULL_PPV_ARG(Itype, ppType) IID_##Itype, NULL, (void**)(ppType)
|
||||
#endif
|
||||
|
||||
inline HRESULT HResultFromWin32(DWORD hr)
|
||||
{
|
||||
// HRESULT_FROM_WIN32 will evaluate its parameter twice, this function will not.
|
||||
return HRESULT_FROM_WIN32(hr);
|
||||
}
|
||||
|
||||
#if 1
|
||||
|
||||
inline BOOL _ROS_FAILED_HELPER(HRESULT hr, const char* expr, const char* filename, int line)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue