Поделиться через


CeLogQueryZones (Windows Embedded CE 6.0)

1/6/2010

This function is called by the kernel to query the state of the zones from the event tracking DLL. Its results are used by CeLogGetZones, which is exposed to applications.

Syntax

BOOL CeLogQueryZones(
  LPDWORD lpdwZoneUser,
  LPDWORD lpdwZoneCE,
  LPDWORD ldpwZoneProcess
);

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 needed.
  • ldpwZoneProcess
    [in] The processes that are currently being logged. This parameter can be NULL if it is not desired.

Return Value

If the call succeeds, TRUE is returned; otherwise, FALSE is returned.

Remarks

CeLogQueryZones allows the UI that tracks the zones to determine if the zones are being enables and disabled over time and also determines which zones a user can enable and disable. CeLogQueryZones is prototyped differently than CeLogGetZones because the kernel stores the value for the lpdwAvailableZones parameter.

Requirements

Header Developer Implemented
Library coredll.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

CeLog Event Tracking Functions
CeLogGetZones
CeLog Zones

Other Resources

CeLogExportTable
CeLog Event Tracking