HRESULT_FROM_NT macro (winerror.h)
Maps an NT status value to an HRESULT value.
Syntax
void HRESULT_FROM_NT(
x
);
Parameters
x
The NT status value.
Return value
None
Remarks
This macro is defined as follows:
#define HRESULT_FROM_NT(x) ((HRESULT) ((x) | FACILITY_NT_BIT))
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | winerror.h |