次の方法で共有


LocationClose (Windows Embedded CE 6.0)

1/6/2010

This function de-initializes the use of the Location Framework functions.

Syntax

DWORD LocationClose(
    HLOCATION hLocation    // HLOCATION returned by LocationOpen
);

Parameters

  • hLocation
    A handle to the Location Framework returned from a call to LocationOpen.

Return Value

If successful, returns ERROR_SUCCESS.

If unsuccessful, returns an error code.

Remarks

Calling this function will cause any report types registered via LocationRegisterForReport and plugin IOCTL handles that were associated with the hLocation handle to be closed automatically.

Requirements

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

See Also

Reference

Location Framework Functions
LocationOpen