This function retrieves a pointer to an array of 16-bit values containing information about the code segment that contains the function pointed to by the lpProc parameter.
None.
|  | Bit | Meaning | 
|  | 0–2 | Specifies the segment type. If bit 0 is set to 1, the segment is a data segment. Otherwise, the segment is a code segment. | 
|  | 3 | Specifies whether segment data is iterated. When this bit set to 1, the segment data is iterated. | 
|  | 4 | Specifies whether the segment is moveable or fixed. When this bit is set to 1, the segment is moveable. Otherwise, it is fixed. | 
|  | 5 | Is not returned. | 
|  | 6 | Is not returned. | 
|  | 7 | Specifies whether the segment is a read-only data segment or an execute-only code segment. If this bit is set to 1 and the segment is a code segment, the segment is an execute-only segment. If this bit is set to zero and the segment is a data segment, it is a read-only segment. | 
|  | 8 | Specifies whether the segment has associated relocation information. If this bit is set to 1, the segment has relocation information. Otherwise, the segment does not have relocation information. | 
|  | 9 | Specifies whether the segment has debugging information. If this bit is set to 1, the segment has debugging information. Otherwise, the segment does not have debugging information. | 
|  | 10–11 | Is not returned. | 
|  | 12–15 | Is not returned. | 
| 6 | Specifies the total amount of memory allocated for the segment. This amount may exceed the actual size of the segment. Zero means 65,536. |  |