Export (0) Print
Expand All

SCODE_FACILITY macro

Extracts the facility of the specified SCODE.

Syntax


WORD SCODE_FACILITY(
  SCODE sc
);

Parameters

sc

The status code.

Return value

The facility.

Remarks

This macro is defined as follows:

#define SCODE_FACILITY(sc)    (((sc) >> 16) & 0x1fff)

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winerror.h

See also

Error Handling

 

 

Community Additions

ADD
Show:
© 2014 Microsoft