⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pbasic.tlh

📁 GemoMedia 应用 演示了其使用方法
💻 TLH
📖 第 1 页 / 共 3 页
字号:
// Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (1d4e498b).
//
// PBasic.tlh
//
// C++ source equivalent of Win32 type library D:\\program files\\GeoMedia Professional\\Program\\PBasic.tlb
// compiler-generated file created 12/05/06 at 15:52:35 - DO NOT EDIT!

//
// Cross-referenced type libraries:
//
//  #import "D:\program files\GeoMedia Professional\Program\mapview.ocx"
//

#pragma once
#pragma pack(push, 8)

#include <comdef.h>

//
// Forward references and typedefs
//

struct __declspec(uuid("ce361c90-b00c-11cf-abef-08003601b769"))
/* dual interface */ _DGMPoint;
struct __declspec(uuid("ce361c91-b00c-11cf-abef-08003601b769"))
/* dual interface */ _DGMVector;
struct __declspec(uuid("ce361c92-b00c-11cf-abef-08003601b769"))
/* dual interface */ _DGMMatrix;
struct /* coclass */ Vector;
struct __declspec(uuid("4dbfc540-b33e-11cf-abef-08003601b769"))
/* dual interface */ _DGMPoints;
struct /* coclass */ point;
struct __declspec(uuid("37e44e10-555b-11d1-a237-0060973831ce"))
/* dual interface */ _DGMGeometry;
struct __declspec(uuid("ee622580-8cce-11cf-abde-08003601b769"))
/* dual interface */ _DGMPointGeometry;
struct __declspec(uuid("ee622581-8cce-11cf-abde-08003601b769"))
/* dual interface */ _DGMLineGeometry;
struct __declspec(uuid("ee622582-8cce-11cf-abde-08003601b769"))
/* dual interface */ _DGMPolylineGeometry;
struct /* coclass */ Points;
struct __declspec(uuid("ee622583-8cce-11cf-abde-08003601b769"))
/* dual interface */ _DGMPolygonGeometry;
struct __declspec(uuid("ee622585-8cce-11cf-abde-08003601b769"))
/* dual interface */ _DGMBoundaryGeometry;
struct /* coclass */ GeometryCollection;
struct __declspec(uuid("ee622586-8cce-11cf-abde-08003601b769"))
/* dual interface */ _DGMGeometryCollection;
struct __declspec(uuid("ee622587-8cce-11cf-abde-08003601b769"))
/* dual interface */ _DGMRectangleGeometry;
struct __declspec(uuid("ee622588-8cce-11cf-abde-08003601b769"))
/* dual interface */ _DGMOrientedPointGeometry;
struct __declspec(uuid("ee622589-8cce-11cf-abde-08003601b769"))
/* dual interface */ _DGMTextPointGeometry;
struct __declspec(uuid("ee62258a-8cce-11cf-abde-08003601b769"))
/* dual interface */ _DGMArcGeometry;
struct __declspec(uuid("ee62258b-8cce-11cf-abde-08003601b769"))
/* dual interface */ _DGMCompositePolylineGeometry;
struct __declspec(uuid("ee62258c-8cce-11cf-abde-08003601b769"))
/* dual interface */ _DGMCompositePolygonGeometry;
struct __declspec(uuid("30103c12-cf7f-11cf-8b2f-08003649fd01"))
/* dual interface */ IGMError;
struct __declspec(uuid("791f3792-1c2b-47bc-ade8-57d203099efd"))
/* dual interface */ IGMLicenseError;
struct __declspec(uuid("2675cfc4-e227-11cf-8653-08003601b01f"))
/* dual interface */ _DGMEventServer;
struct /* coclass */ Matrix;
struct /* coclass */ PointGeometry;
struct /* coclass */ LineGeometry;
struct /* coclass */ PolylineGeometry;
struct /* coclass */ PolygonGeometry;
struct /* coclass */ BoundaryGeometry;
struct /* coclass */ RectangleGeometry;
struct /* coclass */ OrientedPointGeometry;
struct /* coclass */ TextPointGeometry;
struct /* coclass */ ArcGeometry;
struct /* coclass */ CompositePolylineGeometry;
struct /* coclass */ CompositePolygonGeometry;
struct /* coclass */ GMError;
struct /* coclass */ GMLicenseError;
struct /* coclass */ EventServer;
struct __declspec(uuid("228f0581-9ec6-11cf-9e47-08003601e012"))
/* interface */ IGMSmartLocateServer;
typedef struct IGMSmartLocateServer * LPIGMSMARTLOCATESERVER;
struct __declspec(uuid("228f0582-9ec6-11cf-9e47-08003601e012"))
/* dispinterface */ DGMSmartLocateServer;
struct /* coclass */ SmartLocateService;
struct __declspec(uuid("0971345a-9d72-11d5-9283-0000e22b9ef0"))
/* dual interface */ DGMFormatValidate;
struct /* coclass */ FormatValidate;

//
// Smart pointer typedef declarations
//

_COM_SMARTPTR_TYPEDEF(_DGMPoint, __uuidof(_DGMPoint));
_COM_SMARTPTR_TYPEDEF(_DGMVector, __uuidof(_DGMVector));
_COM_SMARTPTR_TYPEDEF(_DGMMatrix, __uuidof(_DGMMatrix));
_COM_SMARTPTR_TYPEDEF(_DGMPoints, __uuidof(_DGMPoints));
_COM_SMARTPTR_TYPEDEF(_DGMGeometry, __uuidof(_DGMGeometry));
_COM_SMARTPTR_TYPEDEF(_DGMPointGeometry, __uuidof(_DGMPointGeometry));
_COM_SMARTPTR_TYPEDEF(_DGMLineGeometry, __uuidof(_DGMLineGeometry));
_COM_SMARTPTR_TYPEDEF(_DGMPolylineGeometry, __uuidof(_DGMPolylineGeometry));
_COM_SMARTPTR_TYPEDEF(_DGMPolygonGeometry, __uuidof(_DGMPolygonGeometry));
_COM_SMARTPTR_TYPEDEF(_DGMBoundaryGeometry, __uuidof(_DGMBoundaryGeometry));
_COM_SMARTPTR_TYPEDEF(_DGMGeometryCollection, __uuidof(_DGMGeometryCollection));
_COM_SMARTPTR_TYPEDEF(_DGMRectangleGeometry, __uuidof(_DGMRectangleGeometry));
_COM_SMARTPTR_TYPEDEF(_DGMOrientedPointGeometry, __uuidof(_DGMOrientedPointGeometry));
_COM_SMARTPTR_TYPEDEF(_DGMTextPointGeometry, __uuidof(_DGMTextPointGeometry));
_COM_SMARTPTR_TYPEDEF(_DGMArcGeometry, __uuidof(_DGMArcGeometry));
_COM_SMARTPTR_TYPEDEF(_DGMCompositePolylineGeometry, __uuidof(_DGMCompositePolylineGeometry));
_COM_SMARTPTR_TYPEDEF(_DGMCompositePolygonGeometry, __uuidof(_DGMCompositePolygonGeometry));
_COM_SMARTPTR_TYPEDEF(IGMError, __uuidof(IGMError));
_COM_SMARTPTR_TYPEDEF(IGMLicenseError, __uuidof(IGMLicenseError));
_COM_SMARTPTR_TYPEDEF(_DGMEventServer, __uuidof(_DGMEventServer));
_COM_SMARTPTR_TYPEDEF(IGMSmartLocateServer, __uuidof(IGMSmartLocateServer));
_COM_SMARTPTR_TYPEDEF(DGMSmartLocateServer, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(DGMFormatValidate, __uuidof(DGMFormatValidate));

//
// Type library items
//

struct __declspec(uuid("ce361c90-b00c-11cf-abef-08003601b769"))
_DGMPoint : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetX,put=PutX))
    double X;
    __declspec(property(get=GetY,put=PutY))
    double Y;
    __declspec(property(get=GetZ,put=PutZ))
    double Z;

    //
    // Wrapper methods for error-handling
    //

    double GetX ( );
    void PutX (
        double returnValue );
    double GetY ( );
    void PutY (
        double returnValue );
    double GetZ ( );
    void PutZ (
        double returnValue );
    HRESULT GetPoint (
        double * point );
    HRESULT SetPoint (
        double * point );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_X (
        double * returnValue ) = 0;
    virtual HRESULT __stdcall put_X (
        double returnValue ) = 0;
    virtual HRESULT __stdcall get_Y (
        double * returnValue ) = 0;
    virtual HRESULT __stdcall put_Y (
        double returnValue ) = 0;
    virtual HRESULT __stdcall get_Z (
        double * returnValue ) = 0;
    virtual HRESULT __stdcall put_Z (
        double returnValue ) = 0;
    virtual HRESULT __stdcall raw_GetPoint (
        double * point ) = 0;
    virtual HRESULT __stdcall raw_SetPoint (
        double * point ) = 0;
};

struct __declspec(uuid("ce361c91-b00c-11cf-abef-08003601b769"))
_DGMVector : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetI,put=PutI))
    double I;
    __declspec(property(get=GetJ,put=PutJ))
    double J;
    __declspec(property(get=GetK,put=PutK))
    double K;

    //
    // Wrapper methods for error-handling
    //

    double GetI ( );
    void PutI (
        double returnValue );
    double GetJ ( );
    void PutJ (
        double returnValue );
    double GetK ( );
    void PutK (
        double returnValue );
    HRESULT GetVector (
        double * v );
    HRESULT SetVector (
        double * v );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_I (
        double * returnValue ) = 0;
    virtual HRESULT __stdcall put_I (
        double returnValue ) = 0;
    virtual HRESULT __stdcall get_J (
        double * returnValue ) = 0;
    virtual HRESULT __stdcall put_J (
        double returnValue ) = 0;
    virtual HRESULT __stdcall get_K (
        double * returnValue ) = 0;
    virtual HRESULT __stdcall put_K (
        double returnValue ) = 0;
    virtual HRESULT __stdcall raw_GetVector (
        double * v ) = 0;
    virtual HRESULT __stdcall raw_SetVector (
        double * v ) = 0;
};

struct __declspec(uuid("ce361c92-b00c-11cf-abef-08003601b769"))
_DGMMatrix : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetRow0,put=PutRefRow0))
    _DGMVectorPtr Row0;
    __declspec(property(get=GetRow1,put=PutRefRow1))
    _DGMVectorPtr Row1;
    __declspec(property(get=GetRow2,put=PutRefRow2))
    _DGMVectorPtr Row2;
    __declspec(property(get=GetColumn0,put=PutRefColumn0))
    _DGMVectorPtr Column0;
    __declspec(property(get=GetColumn1,put=PutRefColumn1))
    _DGMVectorPtr Column1;
    __declspec(property(get=GetColumn2,put=PutRefColumn2))
    _DGMVectorPtr Column2;
    __declspec(property(get=GetTranslation,put=PutRefTranslation))
    _DGMVectorPtr Translation;

    //
    // Wrapper methods for error-handling
    //

    _DGMVectorPtr GetRow0 ( );
    void PutRefRow0 (
        struct _DGMVector * returnValue );
    _DGMVectorPtr GetRow1 ( );
    void PutRefRow1 (
        struct _DGMVector * returnValue );
    _DGMVectorPtr GetRow2 ( );
    void PutRefRow2 (
        struct _DGMVector * returnValue );
    _DGMVectorPtr GetColumn0 ( );
    void PutRefColumn0 (
        struct _DGMVector * returnValue );
    _DGMVectorPtr GetColumn1 ( );
    void PutRefColumn1 (
        struct _DGMVector * returnValue );
    _DGMVectorPtr GetColumn2 ( );
    void PutRefColumn2 (
        struct _DGMVector * returnValue );
    _DGMVectorPtr GetTranslation ( );
    void PutRefTranslation (
        struct _DGMVector * returnValue );
    double GetElement (
        long row,
        long column );
    HRESULT SetElement (
        long row,
        long column,
        double value );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_Row0 (
        struct _DGMVector * * returnValue ) = 0;
    virtual HRESULT __stdcall putref_Row0 (
        struct _DGMVector * returnValue ) = 0;
    virtual HRESULT __stdcall get_Row1 (
        struct _DGMVector * * returnValue ) = 0;
    virtual HRESULT __stdcall putref_Row1 (
        struct _DGMVector * returnValue ) = 0;
    virtual HRESULT __stdcall get_Row2 (
        struct _DGMVector * * returnValue ) = 0;
    virtual HRESULT __stdcall putref_Row2 (
        struct _DGMVector * returnValue ) = 0;
    virtual HRESULT __stdcall get_Column0 (
        struct _DGMVector * * returnValue ) = 0;
    virtual HRESULT __stdcall putref_Column0 (
        struct _DGMVector * returnValue ) = 0;
    virtual HRESULT __stdcall get_Column1 (
        struct _DGMVector * * returnValue ) = 0;
    virtual HRESULT __stdcall putref_Column1 (
        struct _DGMVector * returnValue ) = 0;
    virtual HRESULT __stdcall get_Column2 (
        struct _DGMVector * * returnValue ) = 0;
    virtual HRESULT __stdcall putref_Column2 (
        struct _DGMVector * returnValue ) = 0;
    virtual HRESULT __stdcall get_Translation (
        struct _DGMVector * * returnValue ) = 0;
    virtual HRESULT __stdcall putref_Translation (
        struct _DGMVector * returnValue ) = 0;
    virtual HRESULT __stdcall raw_GetElement (
        long row,
        long column,
        double * returnValue ) = 0;
    virtual HRESULT __stdcall raw_SetElement (
        long row,
        long column,
        double value ) = 0;
};

struct __declspec(uuid("a4245c91-b00d-11cf-abef-08003601b769"))
Vector;
    // [ default ] interface _DGMVector

struct __declspec(uuid("4dbfc540-b33e-11cf-abef-08003601b769"))
_DGMPoints : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetCount))
    long Count;
    __declspec(property(get=GetNewEnum))
    IUnknownPtr NewEnum;

    //
    // Wrapper methods for error-handling
    //

    long GetCount ( );
    IUnknownPtr GetNewEnum ( );
    _DGMPointPtr Item (
        const _variant_t & index );
    HRESULT Add (
        struct _DGMPoint * point,
        const _variant_t & index = vtMissing );
    HRESULT Remove (
        const _variant_t & index );
    HRESULT GetPoint (
        long index,
        double * point );
    HRESULT SetPoint (
        long index,
        double * point );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_Count (
        long * returnValue ) = 0;
    virtual HRESULT __stdcall get_NewEnum (
        IUnknown * * returnValue ) = 0;
    virtual HRESULT __stdcall raw_Item (
        VARIANT index,
        struct _DGMPoint * * returnValue ) = 0;
    virtual HRESULT __stdcall raw_Add (
        struct _DGMPoint * point,
        VARIANT index = vtMissing ) = 0;
    virtual HRESULT __stdcall raw_Remove (
        VARIANT index ) = 0;
    virtual HRESULT __stdcall raw_GetPoint (
        long index,
        double * point ) = 0;
    virtual HRESULT __stdcall raw_SetPoint (
        long index,
        double * point ) = 0;
};

struct __declspec(uuid("a4245c90-b00d-11cf-abef-08003601b769"))
point;
    // [ default ] interface _DGMPoint

struct __declspec(uuid("37e44e10-555b-11d1-a237-0060973831ce"))
_DGMGeometry : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetType))
    _bstr_t Type;

    //
    // Wrapper methods for error-handling
    //

    _bstr_t GetType ( );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_Type (
        BSTR * typeName ) = 0;
};

struct __declspec(uuid("ee622580-8cce-11cf-abde-08003601b769"))
_DGMPointGeometry : _DGMGeometry
{
    //
    // Property data
    //

    __declspec(property(get=GetOrigin,put=PutRefOrigin))
    _DGMPointPtr Origin;

    //
    // Wrapper methods for error-handling
    //

    _DGMPointPtr GetOrigin ( );

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -