Share via


CeLogGetZones (Windows Embedded CE 6.0)

1/6/2010

This function is called to determine the zones that are currently set and the zones that the kernel supports.

Syntax

BOOL CeLogGetZones(
  LPDWORD lpdwZoneUser, 
  LPDWORD lpdwZoneCE, 
  LPDWORD lpdwZoneProcess,
  LPDWORD lpdwAvailableZones 
);

Parameters

  • lpdwZoneUser
    [in] User-defined zones that are currently active. This parameter can be NULL if it is not desired.
  • lpdwZoneCE
    [in] The predefined system zones that are currently active on the device. This parameter can be NULL if it is not desired.
  • lpdwZoneProcess
    [in] The processes that are currently being logged. This parameter can be NULL if it is not desired.
  • lpdwAvailableZones
    [in] Indicates which zones are supported by the kernel. This parameter can be NULL if it is not desired.

Return Value

This function returns TRUE if the zone settings are successfully queried, and returns FALSE otherwise.

Remarks

CeLogGetZones allows the UI that tracks the zones to determine if the zones are being enabled and disabled over time, and also determines which zones a user can enable and disable.

Requirements

Header celog.h
Library coredll.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

CeLog Event Tracking Functions
CeLogSetZones
CeLog Zones

Other Resources

Setting CeLog Zones Programmatically