MAKE_SCODE macro (winerror.h)
Creates an SCODE value from its component pieces.
void MAKE_SCODE(
sev,
fac,
code
);
sev
The severity.
fac
The facility.
code
The code.
None
This macro is defined as follows:
#define MAKE_SCODE(sev,fac,code) \
((SCODE) (((unsigned long)(sev)<<31) | ((unsigned long)(fac)<<16) | ((unsigned long)(code))) )
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 |