CeLogGetZones (Compact 2013)

3/28/2014

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

See Also

Reference

CeLog Event Tracking Functions
CeLogSetZones
CeLog Zones