📄 sdint.pas
字号:
isc_dyn_field_name_exists = 336068813;
isc_dyn_dependency_exists = 336068814;
isc_dyn_dtype_invalid = 336068815;
isc_dyn_char_fld_too_small = 336068816;
isc_dyn_invalid_dtype_conversion = 336068817;
isc_dyn_dtype_conv_invalid = 336068818;
isc_gbak_unknown_switch = 336330753;
isc_gbak_page_size_missing = 336330754;
isc_gbak_page_size_toobig = 336330755;
isc_gbak_redir_ouput_missing = 336330756;
isc_gbak_switches_conflict = 336330757;
isc_gbak_unknown_device = 336330758;
isc_gbak_no_protection = 336330759;
isc_gbak_page_size_not_allowed = 336330760;
isc_gbak_multi_source_dest = 336330761;
isc_gbak_filename_missing = 336330762;
isc_gbak_dup_inout_names = 336330763;
isc_gbak_inv_page_size = 336330764;
isc_gbak_db_specified = 336330765;
isc_gbak_db_exists = 336330766;
isc_gbak_unk_device = 336330767;
isc_gbak_blob_info_failed = 336330772;
isc_gbak_unk_blob_item = 336330773;
isc_gbak_get_seg_failed = 336330774;
isc_gbak_close_blob_failed = 336330775;
isc_gbak_open_blob_failed = 336330776;
isc_gbak_put_blr_gen_id_failed = 336330777;
isc_gbak_unk_type = 336330778;
isc_gbak_comp_req_failed = 336330779;
isc_gbak_start_req_failed = 336330780;
isc_gbak_rec_failed = 336330781;
isc_gbak_rel_req_failed = 336330782;
isc_gbak_db_info_failed = 336330783;
isc_gbak_no_db_desc = 336330784;
isc_gbak_db_create_failed = 336330785;
isc_gbak_decomp_len_error = 336330786;
isc_gbak_tbl_missing = 336330787;
isc_gbak_blob_col_missing = 336330788;
isc_gbak_create_blob_failed = 336330789;
isc_gbak_put_seg_failed = 336330790;
isc_gbak_rec_len_exp = 336330791;
isc_gbak_inv_rec_len = 336330792;
isc_gbak_exp_data_type = 336330793;
isc_gbak_gen_id_failed = 336330794;
isc_gbak_unk_rec_type = 336330795;
isc_gbak_inv_bkup_ver = 336330796;
isc_gbak_missing_bkup_desc = 336330797;
isc_gbak_string_trunc = 336330798;
isc_gbak_cant_rest_record = 336330799;
isc_gbak_send_failed = 336330800;
isc_gbak_no_tbl_name = 336330801;
isc_gbak_unexp_eof = 336330802;
isc_gbak_db_format_too_old = 336330803;
isc_gbak_inv_array_dim = 336330804;
isc_gbak_xdr_len_expected = 336330807;
isc_gbak_open_bkup_error = 336330817;
isc_gbak_open_error = 336330818;
isc_gbak_missing_block_fac = 336330934;
isc_gbak_inv_block_fac = 336330935;
isc_gbak_block_fac_specified = 336330936;
isc_gbak_missing_username = 336330940;
isc_gbak_missing_password = 336330941;
isc_gbak_missing_skipped_bytes = 336330952;
isc_gbak_inv_skipped_bytes = 336330953;
isc_gbak_err_restore_charset = 336330965;
isc_gbak_err_restore_collation = 336330967;
isc_gbak_read_error = 336330972;
isc_gbak_write_error = 336330973;
isc_gbak_db_in_use = 336330985;
isc_gbak_sysmemex = 336330990;
isc_gbak_restore_role_failed = 336331002;
isc_gbak_role_op_missing = 336331005;
isc_gbak_page_buffers_missing = 336331010;
isc_gbak_page_buffers_wrong_param = 336331011;
isc_gbak_page_buffers_restore = 336331012;
isc_gbak_inv_size = 336331014;
isc_gbak_file_outof_sequence = 336331015;
isc_gbak_join_file_missing = 336331016;
isc_gbak_stdin_not_supptd = 336331017;
isc_gbak_stdout_not_supptd = 336331018;
isc_gbak_bkup_corrupt = 336331019;
isc_gbak_unk_db_file_spec = 336331020;
isc_gbak_hdr_write_failed = 336331021;
isc_gbak_disk_space_ex = 336331022;
isc_gbak_size_lt_min = 336331023;
isc_gbak_svc_name_missing = 336331025;
isc_gbak_not_ownr = 336331026;
isc_gbak_mode_req = 336331031;
isc_gsec_cant_open_db = 336723983;
isc_gsec_switches_error = 336723984;
isc_gsec_no_op_spec = 336723985;
isc_gsec_no_usr_name = 336723986;
isc_gsec_err_add = 336723987;
isc_gsec_err_modify = 336723988;
isc_gsec_err_find_mod = 336723989;
isc_gsec_err_rec_not_found = 336723990;
isc_gsec_err_delete = 336723991;
isc_gsec_err_find_del = 336723992;
isc_gsec_err_find_disp = 336723996;
isc_gsec_inv_param = 336723997;
isc_gsec_op_specified = 336723998;
isc_gsec_pw_specified = 336723999;
isc_gsec_uid_specified = 336724000;
isc_gsec_gid_specified = 336724001;
isc_gsec_proj_specified = 336724002;
isc_gsec_org_specified = 336724003;
isc_gsec_fname_specified = 336724004;
isc_gsec_mname_specified = 336724005;
isc_gsec_lname_specified = 336724006;
isc_gsec_inv_switch = 336724008;
isc_gsec_amb_switch = 336724009;
isc_gsec_no_op_specified = 336724010;
isc_gsec_params_not_allowed = 336724011;
isc_gsec_incompat_switch = 336724012;
isc_gsec_inv_username = 336724044;
isc_gsec_inv_pw_length = 336724045;
isc_gsec_db_specified = 336724046;
isc_gsec_db_admin_specified = 336724047;
isc_gsec_db_admin_pw_specified = 336724048;
isc_gsec_sql_role_specified = 336724049;
isc_license_no_file = 336789504;
isc_license_op_specified = 336789523;
isc_license_op_missing = 336789524;
isc_license_inv_switch = 336789525;
isc_license_inv_switch_combo = 336789526;
isc_license_inv_op_combo = 336789527;
isc_license_amb_switch = 336789528;
isc_license_inv_parameter = 336789529;
isc_license_param_specified = 336789530;
isc_license_param_req = 336789531;
isc_license_syntx_error = 336789532;
isc_license_dup_id = 336789534;
isc_license_inv_id_key = 336789535;
isc_license_err_remove = 336789536;
isc_license_err_update = 336789537;
isc_license_err_convert = 336789538;
isc_license_err_unk = 336789539;
isc_license_svc_err_add = 336789540;
isc_license_svc_err_remove = 336789541;
isc_license_eval_exists = 336789563;
isc_gstat_unknown_switch = 336920577;
isc_gstat_retry = 336920578;
isc_gstat_wrong_ods = 336920579;
isc_gstat_unexpected_eof = 336920580;
isc_gstat_open_err = 336920605;
isc_gstat_read_err = 336920606;
isc_gstat_sysmemex = 336920607;
isc_err_max = 689;
{********************************************************************
**
** ibbase.h - OSRI entrypoints and defines
**
********************************************************************}
const
ISC_TRUE = 1;
ISC_FALSE = 0;
DSQL_close = 1;
DSQL_drop = 2;
type
Int = LongInt; { 32 bit signed }
UInt = DWord; { 32 bit unsigned }
Long = LongInt; { 32 bit signed }
ULong = DWord; { 32 bit unsigned }
Short = SmallInt;{ 16 bit signed }
UShort = Word; { 16 bit unsigned }
Float = Single; { 32 bit }
UChar = Byte; { 8 bit unsigned }
ISC_LONG = Long; { 32 bit signed }
UISC_LONG = ULong; { 32 bit unsigned }
{$IFDEF SD_D4}
ISC_INT64 = Int64; { 64 bit signed }
{$ELSE}
ISC_INT64 = Comp; { 64 bit signed }
{$ENDIF}
ISC_USHORT = UShort; { 16 bit unsigned }
ISC_STATUS = Long; { 32 bit signed }
UISC_STATUS = ULong; { 32 bit unsigned}
Void = TSDPtr;
{ Delphi Pointer types }
{$IFDEF SD_CLR}
PPChar = Void;
PSmallInt = Void;
PInt = Void;
PInteger = Void;
PShort = Void;
PUShort = Void;
PLong = Void;
PULong = Void;
PFloat = Void;
PUChar = Void;
PVoid = Void;
PDouble = Void;
PISC_LONG = Void;
PUISC_LONG = Void;
PISC_STATUS = Void;
PPISC_STATUS = Void;
PUISC_STATUS = Void;
{$ELSE}
PPChar = ^TSDCharPtr;
PSmallInt = ^SmallInt;
PInt = ^Int;
PInteger = ^Integer;
PShort = ^Short;
PUShort = ^UShort;
PLong = ^Long;
PULong = ^ULong;
PFloat = ^Float;
PUChar = ^UChar;
PVoid = Pointer;
PDouble = ^Double;
PISC_LONG = ^ISC_LONG;
PUISC_LONG = ^UISC_LONG;
PISC_STATUS = ^ISC_STATUS;
PPISC_STATUS = ^PISC_STATUS;
PUISC_STATUS = ^UISC_STATUS;
{$ENDIF}
{ C Date/Time Structure }
TTimeDateRec = record
tm_sec: Integer; { Seconds }
tm_min: Integer; { Minutes }
tm_hour: Integer; { Hour (0--23) }
tm_mday: Integer; { Day of month (1--31) }
tm_mon: Integer; { Month (0--11) }
tm_year: Integer; { Year (calendar year minus 1900) }
tm_wday: Integer; { Weekday (0--6) Sunday = 0) }
tm_yday: Integer; { Day of year (0--365) }
tm_isdst: Integer; { 0 if daylight savings time is not in effect) }
end;
PTimeDateRec = ^TTimeDateRec;
TISC_VARYING = record
strlen: Short;
str: array[0..0] of Char;
end;
const
SQLDA_VERSION1 = 1; (* pre V6.0 SQLDA *)
SQLDA_VERSION2 = 2; (* V6.0 SQLDA *)
SQL_DIALECT_V5 = 1; (* meaning is same as DIALECT_xsqlda *)
SQL_DIALECT_V6_TRANSITION = 2; (* flagging anything that is delimited
by double quotes as an error and
flagging keyword DATE as an error *)
SQL_DIALECT_V6 = 3; (* supports SQL delimited identifier,
SQLDATE/DATE, TIME, TIMESTAMP,
CURRENT_DATE, CURRENT_TIME,
CURRENT_TIMESTAMP, and 64-bit exact
numeric type *)
SQL_DIALECT_CURRENT = SQL_DIALECT_V6; (* latest IB DIALECT *)
type
(**********************************)
(** InterBase Handle Definitions **)
(**********************************)
TISC_ATT_HANDLE = PVoid;
TISC_BLOB_HANDLE = PVoid;
TISC_DB_HANDLE = PVoid;
TISC_FORM_HANDLE = PVoid;
TISC_REQ_HANDLE = PVoid;
TISC_STMT_HANDLE = PVoid;
TISC_SVC_HANDLE = PVoid;
TISC_TR_HANDLE = PVoid;
TISC_WIN_HANDLE = PVoid;
TISC_CALLBACK = procedure(user_arg: PVoid; str: TSDCharPtr); cdecl;
ISC_SVC_HANDLE = ISC_LONG;
{$IFDEF SD_CLR}
PISC_ATT_HANDLE = Void;
PISC_BLOB_HANDLE = Void;
PISC_DB_HANDLE = Void;
PISC_FORM_HANDLE = Void;
PISC_REQ_HANDLE = Void;
PISC_STMT_HANDLE = Void;
PISC_SVC_HANDLE = Void;
PISC_TR_HANDLE = Void;
PISC_WIN_HANDLE = Void;
{$ELSE}
PISC_ATT_HANDLE = ^TISC_ATT_HANDLE;
PISC_BLOB_HANDLE = ^TISC_BLOB_HANDLE;
PISC_DB_HANDLE = ^TISC_DB_HANDLE;
PISC_FORM_HANDLE = ^TISC_FORM_HANDLE;
PISC_REQ_HANDLE = ^TISC_REQ_HANDLE;
PISC_STMT_HANDLE = ^TISC_STMT_HANDLE;
PISC_SVC_HANDLE = ^TISC_SVC_HANDLE;
PISC_TR_HANDLE = ^TISC_TR_HANDLE;
PISC_WIN_HANDLE = ^TISC_WIN_HANDLE;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -