__segmentlimit
Microsoft Specific
Generates the lsl (Load Segment Limit) instruction.
unsigned long __segmentlimit(
unsigned long a
);
Parameters
- [in] a
A constant specifying the segment selector.
Return Value
The segment limit of the segment selector specified by a, provided that the selector is valid and visible at the current privilege level.
Requirements
Intrinsic |
Architecture |
---|---|
__segmentlimit |
x86, x64 |
Header file <intrin.h>
Remarks
If successful, the zero flag (ZF) is set to 1. On failure, ZF is set to zero.
This routine is only available as an intrinsic.
END Microsoft Specific