CeLogQueryZones

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.

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 Values

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Not applicable.
Link Library: Coredll.lib.

See Also

CeLogGetZones | CeLogExportTable | Event Tracking Implementation

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.