ContextFlags (ULONG)

      Flags which control the contents of the context record.

      Possible values are shown in the following list:

      CONTEXT_CONTROL (0x00000001)

        SS:ESP, CS:EIP, EFLAGS and EBP
      CONTEXT_INTEGER (0x00000002)
        EAX, EBX, ECX, EDX, ESI and EDI
      CONTEXT_SEGMENTS (0x00000004)
        DS, ES, FS, and GS
      CONTEXT_FLOATING_POINT (0x00000008)
        numeric coprocessor state
      CONTEXT_FULL
        CONTEXT_CONTROL | CONTEXT_INTEGER | CONTEXT_SEGMENTS | CONTEXT_FLOATING_POINT
      If the context record is used as an input parameter, then for each portion of the context record controlled by a flag whose value is set, it is assumed that the portion of the context record contains valid context. If the context record is being used to modify a thread's context, then only that portion of the thread's context will be modified.

      If the context record is used as an input/output parameter to capture the context of a thread, then only those portions of the thread's context corresponding to set flags will be returned.


    [Back] [Next]