Share via


LocationPluginOpen

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

Opens a direct channel from an application to a plugin DLL.

Syntax

HLOCATIONPLUGIN LocationPluginOpen(
    HLOCATION hLocation,
    REFGUID   pluginGuid
);

Parameters

  • hLocation
    A handle to the Location Framework returned from a call to LocationOpen.
  • pluginGuid
    GUID specifying the plugin DLL to create a channel with.

Return Value

If successful, returns a handle to the requested Plugin DLL.

If unsuccessful, returns NULL.

Remarks

Plugin DLLs are not required to support IOCTL channels or if they do support them, are not required to allow an arbitrary application to gain access to them.

The use of IOCTL channels by applications is strongly discouraged. See Location Framework IOCTLs for more information.

Requirements

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

See Also

Reference

Location Framework Functions
LocationOpen