Share via


Target Control Debugging: zo Command

Other versions of this page are also available for the following:

Windows Mobile SupportedWindows Embedded CE Supported

8/27/2008

This command performs debugging zone operations.

Syntax

zo ["p","m","h"] [index,name,handle] [<zone>,[["on","off"][<zoneindex>]*]*]

Parameters

  • P
    Specifies per-process operations, and may be modified with the following additional options.

    • Index
      Specifies the index of the process or module, as returned by the gi command. If no further parameters are specified, this command returns the current settings with the zone names.

    Examples:

    Display the zone names for the process at index 2.

    zo p 2
    

    Set bits 3 and 5 on, and bit 2 off for process 3.

    zo p 3 on 3,5 off 2
    
  • M
    Specifies per-module operations, and may be modified with the following additional options.

    • Index
      Specifies the index of the process or module, as returned by the gi command. If no further parameters are specified, this command returns the current settings with the zone names.
    • Name
      Specifies the name of the process or module. If no further parameters are specified, this command returns the current settings with the zone names.
      Name may be modified with the following options:
      • Zone --The zone to which this process or module zone is set. Any hexadecimal values must be preceded with 0x.
      • On -- Indicates whether to set the bits of the current zone mask on.
      • Off -- Indicates whether to set the bits of the current zone mask off.

    Example: Set the zone for the module at index 0 to 0x100.

    zo m 0 0x100
    
  • H
    Specifies hProcess or pModule operations, and may be modified with the following additional options.

    • Index
      Specifies the index of the process or module, as returned by the gi command. If no further parameters are specified, this command returns the current settings with the zone names.
    • Handle
      Specifies hProcess/pModule.

    Example: Print zone names for the proc/module with hProcess/pModule of 8fe773a2.

    zo h 8fe773a2
    

Remarks

If no arguments are specified, prints current setting with the zone names.

See Also

Concepts

Debugging Resources Overview

Other Resources

Command-Line Options with Target Control