📄 pbasic.tlh
字号:
__declspec(property(get=GetSourceGUID,put=PutSourceGUID))
_bstr_t SourceGUID;
__declspec(property(get=GetErrors,put=PutRefErrors))
IDispatchPtr Errors;
__declspec(property(get=GetOwnerHWnd,put=PutOwnerHWnd))
long OwnerHWnd;
//
// Wrapper methods for error-handling
//
long GetResourceHandle ( );
void PutResourceHandle (
long pResourceHandle );
long GetResourceID ( );
void PutResourceID (
long plResourceID );
long GetHelpID ( );
void PutHelpID (
long plHelpID );
_bstr_t GetHelpFile ( );
void PutHelpFile (
_bstr_t pbstrHelpFile );
_bstr_t GetErrorString ( );
void PutErrorString (
_bstr_t pbstrErrorString );
_variant_t GetErrorParameters ( );
void PutErrorParameters (
VARIANT * psaErrorParams );
IDispatchPtr GetDatabase ( );
void PutRefDatabase (
IDispatch * lplpDatabase );
long GetSourceResourceID ( );
void PutSourceResourceID (
long plSourceResourceID );
_bstr_t GetSourceGUID ( );
void PutSourceGUID (
_bstr_t pbstrSourceGUID );
int Display (
const _variant_t & Title,
long DlgButtons );
int DisplayAll (
const _variant_t & Title,
long DlgButtons );
HRESULT RaiseException ( );
IDispatchPtr GetErrors ( );
void PutRefErrors (
IDispatch * lplpErrors );
long GetOwnerHWnd ( );
void PutOwnerHWnd (
long pOwnerHWnd );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_ResourceHandle (
long * pResourceHandle ) = 0;
virtual HRESULT __stdcall put_ResourceHandle (
long pResourceHandle ) = 0;
virtual HRESULT __stdcall get_ResourceID (
long * plResourceID ) = 0;
virtual HRESULT __stdcall put_ResourceID (
long plResourceID ) = 0;
virtual HRESULT __stdcall get_HelpID (
long * plHelpID ) = 0;
virtual HRESULT __stdcall put_HelpID (
long plHelpID ) = 0;
virtual HRESULT __stdcall get_HelpFile (
BSTR * pbstrHelpFile ) = 0;
virtual HRESULT __stdcall put_HelpFile (
BSTR pbstrHelpFile ) = 0;
virtual HRESULT __stdcall get_ErrorString (
BSTR * pbstrErrorString ) = 0;
virtual HRESULT __stdcall put_ErrorString (
BSTR pbstrErrorString ) = 0;
virtual HRESULT __stdcall get_ErrorParameters (
VARIANT * psaErrorParams ) = 0;
virtual HRESULT __stdcall put_ErrorParameters (
VARIANT * psaErrorParams ) = 0;
virtual HRESULT __stdcall get_Database (
IDispatch * * lplpDatabase ) = 0;
virtual HRESULT __stdcall putref_Database (
IDispatch * lplpDatabase ) = 0;
virtual HRESULT __stdcall get_SourceResourceID (
long * plSourceResourceID ) = 0;
virtual HRESULT __stdcall put_SourceResourceID (
long plSourceResourceID ) = 0;
virtual HRESULT __stdcall get_SourceGUID (
BSTR * pbstrSourceGUID ) = 0;
virtual HRESULT __stdcall put_SourceGUID (
BSTR pbstrSourceGUID ) = 0;
virtual HRESULT __stdcall raw_Display (
VARIANT Title,
long DlgButtons,
int * Response ) = 0;
virtual HRESULT __stdcall raw_DisplayAll (
VARIANT Title,
long DlgButtons,
int * Response ) = 0;
virtual HRESULT __stdcall raw_RaiseException ( ) = 0;
virtual HRESULT __stdcall get_Errors (
IDispatch * * lplpErrors ) = 0;
virtual HRESULT __stdcall putref_Errors (
IDispatch * lplpErrors ) = 0;
virtual HRESULT __stdcall get_OwnerHWnd (
long * pOwnerHWnd ) = 0;
virtual HRESULT __stdcall put_OwnerHWnd (
long pOwnerHWnd ) = 0;
};
struct __declspec(uuid("791f3792-1c2b-47bc-ade8-57d203099efd"))
IGMLicenseError : IDispatch
{
//
// Wrapper methods for error-handling
//
HRESULT Display (
_bstr_t Title,
_bstr_t Message,
_bstr_t SystemID );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_Display (
BSTR Title,
BSTR Message,
BSTR SystemID ) = 0;
};
struct __declspec(uuid("2675cfc4-e227-11cf-8653-08003601b01f"))
_DGMEventServer : IDispatch
{
//
// Property data
//
__declspec(property(get=Get_HesitationTime,put=Put_HesitationTime))
long _HesitationTime;
//
// Wrapper methods for error-handling
//
long Get_HesitationTime ( );
void Put_HesitationTime (
long Time );
HRESULT _Initialize (
IDispatch * pEventControlDispatch );
HRESULT _Connect (
IDispatch * pMapViewDispatch );
HRESULT _Disconnect (
IDispatch * pMapViewDispatch,
long * IsEmpty );
HRESULT _Terminate ( );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get__HesitationTime (
long * Time ) = 0;
virtual HRESULT __stdcall put__HesitationTime (
long Time ) = 0;
virtual HRESULT __stdcall raw__Initialize (
IDispatch * pEventControlDispatch ) = 0;
virtual HRESULT __stdcall raw__Connect (
IDispatch * pMapViewDispatch ) = 0;
virtual HRESULT __stdcall raw__Disconnect (
IDispatch * pMapViewDispatch,
long * IsEmpty ) = 0;
virtual HRESULT __stdcall raw__Terminate ( ) = 0;
};
struct __declspec(uuid("a4245c92-b00d-11cf-abef-08003601b769"))
Matrix;
// [ default ] interface _DGMMatrix
enum KeypointConstants
{
gmktVertex = 1,
gmktEndVertex = 2,
gmktOrigin = 1001,
gmktCorner = 1002,
gmktMidPoint = 1003,
gmktEndPoint = 1004,
gmktVector = 1005
};
enum DigitizeModeConstants
{
gmdmDefault = 0,
gmdmArcStartPointEnd = 0,
gmdmArcStartEndPoint = 1
};
enum AlignmentConstants
{
gmaTopLeft = 5,
gmaTopCenter = 4,
gmaTopRight = 6,
gmaCenterLeft = 1,
gmaCenterCenter = 0,
gmaCenterRight = 2,
gmaBottomLeft = 9,
gmaBottomCenter = 8,
gmaBottomRight = 10
};
enum FormatConstants
{
gmfRichText = 0,
gmfUnformatted = 1
};
struct __declspec(uuid("f9739b80-b49b-11cf-abf0-08003601b769"))
PointGeometry;
// [ default ] interface _DGMPointGeometry
struct __declspec(uuid("f9739b81-b49b-11cf-abf0-08003601b769"))
LineGeometry;
// [ default ] interface _DGMLineGeometry
struct __declspec(uuid("f9739b82-b49b-11cf-abf0-08003601b769"))
PolylineGeometry;
// [ default ] interface _DGMPolylineGeometry
struct __declspec(uuid("f9739b83-b49b-11cf-abf0-08003601b769"))
PolygonGeometry;
// [ default ] interface _DGMPolygonGeometry
struct __declspec(uuid("f9739b85-b49b-11cf-abf0-08003601b769"))
BoundaryGeometry;
// [ default ] interface _DGMBoundaryGeometry
struct __declspec(uuid("f9739b87-b49b-11cf-abf0-08003601b769"))
RectangleGeometry;
// [ default ] interface _DGMRectangleGeometry
struct __declspec(uuid("f9739b88-b49b-11cf-abf0-08003601b769"))
OrientedPointGeometry;
// [ default ] interface _DGMOrientedPointGeometry
struct __declspec(uuid("f9739b89-b49b-11cf-abf0-08003601b769"))
TextPointGeometry;
// [ default ] interface _DGMTextPointGeometry
struct __declspec(uuid("f9739b8a-b49b-11cf-abf0-08003601b769"))
ArcGeometry;
// [ default ] interface _DGMArcGeometry
struct __declspec(uuid("f9739b8b-b49b-11cf-abf0-08003601b769"))
CompositePolylineGeometry;
// [ default ] interface _DGMCompositePolylineGeometry
struct __declspec(uuid("f9739b8c-b49b-11cf-abf0-08003601b769"))
CompositePolygonGeometry;
// [ default ] interface _DGMCompositePolygonGeometry
struct __declspec(uuid("fa7e8785-d8ea-11cf-8b32-08003649fd01"))
GMError;
// [ default ] interface IGMError
struct __declspec(uuid("b0058774-f1f8-40e2-b5ab-0c4064648edd"))
GMLicenseError;
// [ default ] interface IGMLicenseError
struct __declspec(uuid("2675cfc5-e227-11cf-8653-08003601b01f"))
EventServer;
// [ default ] interface _DGMEventServer
struct __declspec(uuid("228f0581-9ec6-11cf-9e47-08003601e012"))
IGMSmartLocateServer : IUnknown
{
//
// Property data
//
__declspec(property(get=GetPixelTolerance,put=PutPixelTolerance))
long PixelTolerance;
__declspec(property(get=GetFenceMode,put=PutFenceMode))
long FenceMode;
//
// Wrapper methods for error-handling
//
void PutPixelTolerance (
long Tolerance );
long GetPixelTolerance ( );
void PutFenceMode (
long FenceMode );
long GetFenceMode ( );
HRESULT Locate (
IDispatch * GeometryObject,
struct _DMapview * ViewID,
IDispatch * pObject );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall put_PixelTolerance (
long Tolerance ) = 0;
virtual HRESULT __stdcall get_PixelTolerance (
long * Tolerance ) = 0;
virtual HRESULT __stdcall put_FenceMode (
long FenceMode ) = 0;
virtual HRESULT __stdcall get_FenceMode (
long * FenceMode ) = 0;
virtual HRESULT __stdcall raw_Locate (
IDispatch * GeometryObject,
struct _DMapview * ViewID,
IDispatch * pObject ) = 0;
};
struct __declspec(uuid("228f0582-9ec6-11cf-9e47-08003601e012"))
DGMSmartLocateServer : IDispatch
{
//
// Property data
//
__declspec(property(get=GetPixelTolerance,put=PutPixelTolerance))
long PixelTolerance;
__declspec(property(get=GetFenceMode,put=PutFenceMode))
long FenceMode;
//
// Wrapper methods for error-handling
//
// Methods:
void PutPixelTolerance (
long _arg1 );
long GetPixelTolerance ( );
void PutFenceMode (
long _arg1 );
long GetFenceMode ( );
HRESULT Locate (
IDispatch * GeometryObject,
struct _DMapview * ViewID,
IDispatch * pObject );
};
struct __declspec(uuid("228f0583-9ec6-11cf-9e47-08003601e012"))
SmartLocateService;
// [ default ] interface IGMSmartLocateServer
// dispinterface DGMSmartLocateServer
struct __declspec(uuid("0971345a-9d72-11d5-9283-0000e22b9ef0"))
DGMFormatValidate : IDispatch
{
//
// Wrapper methods for error-handling
//
_bstr_t FormatBoolean (
const _variant_t & vInputBoolean,
_bstr_t bstrFormat );
_bstr_t FormatCharacter (
_bstr_t bstrInputString );
_bstr_t FormatCurrency (
const _variant_t & vInputCurrency,
_bstr_t bstrFormat,
long lPrecision );
_bstr_t FormatDate (
const _variant_t & vInputDateTime,
_bstr_t bstrFormat );
_bstr_t FormatNumber (
const _variant_t & vInputNumber,
_bstr_t szFormat,
long lPrecision );
_bstr_t FormatWindowName (
_bstr_t bstrInputString );
_bstr_t ValidateCharacter (
_bstr_t bstrInputString );
_bstr_t ValidateGDOName (
_bstr_t bstrInputString );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_FormatBoolean (
VARIANT vInputBoolean,
BSTR bstrFormat,
BSTR * pbstrResult ) = 0;
virtual HRESULT __stdcall raw_FormatCharacter (
BSTR bstrInputString,
BSTR * pbstrOutputString ) = 0;
virtual HRESULT __stdcall raw_FormatCurrency (
VARIANT vInputCurrency,
BSTR bstrFormat,
long lPrecision,
BSTR * pbstrResult ) = 0;
virtual HRESULT __stdcall raw_FormatDate (
VARIANT vInputDateTime,
BSTR bstrFormat,
BSTR * pbstrResult ) = 0;
virtual HRESULT __stdcall raw_FormatNumber (
VARIANT vInputNumber,
BSTR szFormat,
long lPrecision,
BSTR * pbstrResult ) = 0;
virtual HRESULT __stdcall raw_FormatWindowName (
BSTR bstrInputString,
BSTR * pbstrResult ) = 0;
virtual HRESULT __stdcall raw_ValidateCharacter (
BSTR bstrInputString,
BSTR * pbstrOutputString ) = 0;
virtual HRESULT __stdcall raw_ValidateGDOName (
BSTR bstrInputString,
BSTR * pbstrOutputBuffer ) = 0;
};
struct __declspec(uuid("0971345b-9d72-11d5-9283-0000e22b9ef0"))
FormatValidate;
// [ default ] interface DGMFormatValidate
//
// Wrapper method implementations
//
#include "PBasic.tli"
#pragma pack(pop)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -