---
 mingw-w64-headers/include/locationapi.idl | 44
+++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 mingw-w64-headers/include/locationapi.idl


diff --git a/mingw-w64-headers/include/locationapi.idl b/mingw-w64-headers/include/locationapi.idl
new file mode 100644
index 0000000..d7e7ffa
--- /dev/null
+++ b/mingw-w64-headers/include/locationapi.idl
@@ -0,0 +1,44 @@
+/**
+ * This file has no copyright assigned and is placed in the Public Domain.
+ * This file is part of the mingw-w64 runtime package.
+ * No warranty is given; refer to the file DISCLAIMER.PD within this package.
+ */
+
+import "oaidl.idl";
+import "ocidl.idl";
+import "sensorsapi.idl";
+
+cpp_quote("#include <propkeydef.h>")
+
+[
+    uuid(c8b7f7ee-75d0-4db9-b62d-7a0f369ca456),
+    object
+]
+interface ILocationReport : IUnknown {
+    HRESULT GetSensorID([out, retval] SENSOR_ID *pSensorID);
+    HRESULT GetTimestamp([out, retval] SYSTEMTIME *pCreationTime);
+    HRESULT GetValue([in] REFPROPERTYKEY pKey, [out, retval] PROPVARIANT *pValue);
+}
+
+[
+    uuid(c0b19f70-4adf-445d-87f2-cad8fd711792),
+    object
+]
+interface ICivicAddressReport : ILocationReport {
+    HRESULT GetAddressLine1([out, retval] BSTR *pbstrAddress1);
+    HRESULT GetAddressLine2([out, retval] BSTR *pbstrAddress2);
+    HRESULT GetCity([out, retval] BSTR *pbstrCity);
+    HRESULT GetStateProvince([out, retval] BSTR *pbstrStateProvince);
+    HRESULT GetPostalCode([out, retval] BSTR *pbstrPostalCode);
+    HRESULT GetCountryRegion([out, retval] BSTR *pbstrCountryRegion);
+    HRESULT GetDetailLevel([out, retval] DWORD *pDetailLevel);
+}
+
+[
+    uuid(a65aF77e-969a-4a2e-8aca-33bb7cbb1235),
+    object
+]
+interface IDefaultLocation : IUnknown {
+    HRESULT SetReport([in] REFIID reportType, [in] ILocationReport *pLocationReport);
+    HRESULT GetReport([in] REFIID reportType, [out, retval] ILocationReport **ppLocationReport);
+}

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to