LocationGetServiceState
Other versions of this page are also available for the following:
8/28/2008
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 |