Share via


LocationGetServiceState (Windows Embedded CE 6.0)

1/6/2010

This function retrieves information about the Location Framework service as a whole.

Syntax

DWORD LocationGetServiceState(
    HLOCATION               hLocation,
    LOCATION_SERVICE_STATE* pServiceState
);

Parameters

  • hLocation
    A handle to the Location Framework returned from a call to LocationOpen.
  • pServiceState
    A pointer to a LOCATION_SERVICE_STATE structure to retrieve the service state from the Location Framework.

Return Value

If successful, returns ERROR_SUCCESS.

If unsuccessful, returns an error code.

Requirements

Header lfapi.h
Library lfapi.lib
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

Location Framework Functions
LocationOpen