pub type RawHResult = u32;
HRESULT as it crosses the ABI (typedef unsigned int HRESULT in com.h).
HRESULT
typedef unsigned int HRESULT
com.h