aboutsummaryrefslogtreecommitdiff
path: root/com/COMTest1.idl
diff options
context:
space:
mode:
authorFrank Warmerdam <warmerdam@pobox.com>2005-10-19 03:18:15 +0000
committerFrank Warmerdam <warmerdam@pobox.com>2005-10-19 03:18:15 +0000
commit65dc2802ca18f4ddba2bca00997eaf6084eb7cc1 (patch)
tree3330b759ac3678a7a9987a9e96e0568d55551d53 /com/COMTest1.idl
parent7b6b0968e40f03f2a701d54da09494757f640614 (diff)
downloadPROJ-65dc2802ca18f4ddba2bca00997eaf6084eb7cc1.tar.gz
PROJ-65dc2802ca18f4ddba2bca00997eaf6084eb7cc1.zip
New
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1308 4e78687f-474d-0410-85f9-8d5e500ac6b2
Diffstat (limited to 'com/COMTest1.idl')
-rwxr-xr-xcom/COMTest1.idl44
1 files changed, 44 insertions, 0 deletions
diff --git a/com/COMTest1.idl b/com/COMTest1.idl
new file mode 100755
index 00000000..ed5bc023
--- /dev/null
+++ b/com/COMTest1.idl
@@ -0,0 +1,44 @@
+// COMTest1.idl : IDL source for COMTest1.dll
+//
+
+// This file will be processed by the MIDL tool to
+// produce the type library (COMTest1.tlb) and marshalling code.
+
+import "oaidl.idl";
+import "ocidl.idl";
+ [
+ object,
+ uuid(28849AA6-E8FB-4077-8D7A-D83CDFC2DC44),
+ dual,
+ helpstring("IProjDef Interface"),
+ pointer_default(unique)
+ ]
+ interface IProjDef : IDispatch
+ {
+ [id(1), helpstring("method Initialize")] HRESULT Initialize([in] BSTR proj_string, [out, retval] int *success );
+ [id(2), helpstring("method TransformPoint3D")] HRESULT TransformPoint3D([in] IUnknown *srcProj,
+ [in,out] double *x, [in, out] double *y, [in, out] double *z, [out, retval] int *success );
+ [id(3), helpstring("method GetHandle")] HRESULT GetHandle([out, retval] long *pHandle );
+ [id(4), helpstring("method IsLatLong")] HRESULT IsLatLong([out, retval] int *result);
+ [id(5), helpstring("method GetLastError")] HRESULT GetLastError([out, retval] BSTR *error );
+ };
+
+[
+ uuid(A0ADE3D8-9A85-4BD3-AD56-BFEF42495130),
+ version(1.0),
+ helpstring("PROJ.4")
+]
+library PROJ4Lib
+{
+ importlib("stdole32.tlb");
+ importlib("stdole2.tlb");
+
+ [
+ uuid(B9B8F0A3-D9F8-4537-9A03-329DC9AE144C),
+ helpstring("ProjDef Class")
+ ]
+ coclass ProjDef
+ {
+ [default] interface IProjDef;
+ };
+};