Unit dbf_wtil

Description

This item has no description.

Overview

Classes, Interfaces, Objects and Records

Name Description
Record TSystemTime  

Functions and Procedures

function LockFile(hFile: THandle; dwFileOffsetLow, dwFileOffsetHigh: DWORD; nNumberOfBytesToLockLow, nNumberOfBytesToLockHigh: DWORD): BOOL;
function UnlockFile(hFile: THandle; dwFileOffsetLow, dwFileOffsetHigh: DWORD; nNumberOfBytesToUnlockLow, nNumberOfBytesToUnlockHigh: DWORD): BOOL;
procedure GetLocalTime(var lpSystemTime: TSystemTime);
function GetOEMCP: Cardinal;
function GetACP: Cardinal;
function OemToChar(lpszSrc: PChar; lpszDst: PChar): BOOL;
function CharToOem(lpszSrc: PChar; lpszDst: PChar): BOOL;
function OemToCharBuff(lpszSrc: PChar; lpszDst: PChar; cchDstLength: DWORD): BOOL;
function CharToOemBuff(lpszSrc: PChar; lpszDst: PChar; cchDstLength: DWORD): BOOL;
function MultiByteToWideChar(CodePage: DWORD; dwFlags: DWORD; const lpMultiByteStr: LPCSTR; cchMultiByte: Integer; lpWideCharStr: LPWSTR; cchWideChar: Integer): Integer;
function WideCharToMultiByte(CodePage: DWORD; dwFlags: DWORD; lpWideCharStr: LPWSTR; cchWideChar: Integer; lpMultiByteStr: LPSTR; cchMultiByte: Integer; lpDefaultChar: LPCSTR; lpUsedDefaultChar: PBOOL): Integer;
function CompareString(Locale: LCID; dwCmpFlags: DWORD; lpString1: PChar; cchCount1: Integer; lpString2: PChar; cchCount2: Integer): Integer;
function EnumSystemCodePages(lpCodePageEnumProc: TFNCodepageEnumProc; dwFlags: DWORD): BOOL;
function EnumSystemLocales(lpLocaleEnumProc: TFNLocaleEnumProc; dwFlags: DWORD): BOOL;
function GetUserDefaultLCID: LCID;

Types

LCID = DWORD;
BOOL = LongBool;
PBOOL = ˆBOOL;
WCHAR = WideChar;
PWChar = PWideChar;
LPSTR = PAnsiChar;
PLPSTR = ˆLPSTR;
LPCSTR = PAnsiChar;
LPCTSTR = PAnsiChar;
LPTSTR = PAnsiChar;
LPWSTR = PWideChar;
PLPWSTR = ˆLPWSTR;
LPCWSTR = PWideChar;
PSystemTime = ˆTSystemTime;
TFarProc = Pointer;
TFNLocaleEnumProc = TFarProc;
TFNCodepageEnumProc = TFarProc;
TFNDateFmtEnumProc = TFarProc;
TFNTimeFmtEnumProc = TFarProc;
TFNCalInfoEnumProc = TFarProc;

Constants

LCID_INSTALLED = $00000001;
LCID_SUPPORTED = $00000002;
CP_INSTALLED = $00000001;
CP_SUPPORTED = $00000002;
LANG_NEUTRAL = $00;
LANG_AFRIKAANS = $36;
LANG_ALBANIAN = $1c;
LANG_ARABIC = $01;
LANG_BASQUE = $2d;
LANG_BELARUSIAN = $23;
LANG_BULGARIAN = $02;
LANG_CATALAN = $03;
LANG_CHINESE = $04;
LANG_CROATIAN = $1a;
LANG_CZECH = $05;
LANG_DANISH = $06;
LANG_DUTCH = $13;
LANG_ENGLISH = $09;
LANG_ESTONIAN = $25;
LANG_FAEROESE = $38;
LANG_FARSI = $29;
LANG_FINNISH = $0b;
LANG_FRENCH = $0c;
LANG_GERMAN = $07;
LANG_GREEK = $08;
LANG_HEBREW = $0d;
LANG_HUNGARIAN = $0e;
LANG_ICELANDIC = $0f;
LANG_INDONESIAN = $21;
LANG_ITALIAN = $10;
LANG_JAPANESE = $11;
LANG_KOREAN = $12;
LANG_LATVIAN = $26;
LANG_LITHUANIAN = $27;
LANG_NORWEGIAN = $14;
LANG_POLISH = $15;
LANG_PORTUGUESE = $16;
LANG_ROMANIAN = $18;
LANG_RUSSIAN = $19;
LANG_SERBIAN = $1a;
LANG_SLOVAK = $1b;
LANG_SLOVENIAN = $24;
LANG_SPANISH = $0a;
LANG_SWEDISH = $1d;
LANG_THAI = $1e;
LANG_TURKISH = $1f;
LANG_UKRAINIAN = $22;
LANG_VIETNAMESE = $2a;
SUBLANG_NEUTRAL = $00;
SUBLANG_DEFAULT = $01;
SUBLANG_SYS_DEFAULT = $02;
SUBLANG_ARABIC_SAUDI_ARABIA = $01;
SUBLANG_ARABIC_IRAQ = $02;
SUBLANG_ARABIC_EGYPT = $03;
SUBLANG_ARABIC_LIBYA = $04;
SUBLANG_ARABIC_ALGERIA = $05;
SUBLANG_ARABIC_MOROCCO = $06;
SUBLANG_ARABIC_TUNISIA = $07;
SUBLANG_ARABIC_OMAN = $08;
SUBLANG_ARABIC_YEMEN = $09;
SUBLANG_ARABIC_SYRIA = $0a;
SUBLANG_ARABIC_JORDAN = $0b;
SUBLANG_ARABIC_LEBANON = $0c;
SUBLANG_ARABIC_KUWAIT = $0d;
SUBLANG_ARABIC_UAE = $0e;
SUBLANG_ARABIC_BAHRAIN = $0f;
SUBLANG_ARABIC_QATAR = $10;
SUBLANG_CHINESE_TRADITIONAL = $01;
SUBLANG_CHINESE_SIMPLIFIED = $02;
SUBLANG_CHINESE_HONGKONG = $03;
SUBLANG_CHINESE_SINGAPORE = $04;
SUBLANG_DUTCH = $01;
SUBLANG_DUTCH_BELGIAN = $02;
SUBLANG_ENGLISH_US = $01;
SUBLANG_ENGLISH_UK = $02;
SUBLANG_ENGLISH_AUS = $03;
SUBLANG_ENGLISH_CAN = $04;
SUBLANG_ENGLISH_NZ = $05;
SUBLANG_ENGLISH_EIRE = $06;
SUBLANG_ENGLISH_SOUTH_AFRICA = $07;
SUBLANG_ENGLISH_JAMAICA = $08;
SUBLANG_ENGLISH_CARIBBEAN = $09;
SUBLANG_ENGLISH_BELIZE = $0a;
SUBLANG_ENGLISH_TRINIDAD = $0b;
SUBLANG_FRENCH = $01;
SUBLANG_FRENCH_BELGIAN = $02;
SUBLANG_FRENCH_CANADIAN = $03;
SUBLANG_FRENCH_SWISS = $04;
SUBLANG_FRENCH_LUXEMBOURG = $05;
SUBLANG_GERMAN = $01;
SUBLANG_GERMAN_SWISS = $02;
SUBLANG_GERMAN_AUSTRIAN = $03;
SUBLANG_GERMAN_LUXEMBOURG = $04;
SUBLANG_GERMAN_LIECHTENSTEIN = $05;
SUBLANG_ITALIAN = $01;
SUBLANG_ITALIAN_SWISS = $02;
SUBLANG_KOREAN = $01;
SUBLANG_KOREAN_JOHAB = $02;
SUBLANG_NORWEGIAN_BOKMAL = $01;
SUBLANG_NORWEGIAN_NYNORSK = $02;
SUBLANG_PORTUGUESE = $02;
SUBLANG_PORTUGUESE_BRAZILIAN = $01;
SUBLANG_SERBIAN_LATIN = $02;
SUBLANG_SERBIAN_CYRILLIC = $03;
SUBLANG_SPANISH = $01;
SUBLANG_SPANISH_MEXICAN = $02;
SUBLANG_SPANISH_MODERN = $03;
SUBLANG_SPANISH_GUATEMALA = $04;
SUBLANG_SPANISH_COSTA_RICA = $05;
SUBLANG_SPANISH_PANAMA = $06;
SUBLANG_SPANISH_DOMINICAN_REPUBLIC = $07;
SUBLANG_SPANISH_VENEZUELA = $08;
SUBLANG_SPANISH_COLOMBIA = $09;
SUBLANG_SPANISH_PERU = $0a;
SUBLANG_SPANISH_ARGENTINA = $0b;
SUBLANG_SPANISH_ECUADOR = $0c;
SUBLANG_SPANISH_CHILE = $0d;
SUBLANG_SPANISH_URUGUAY = $0e;
SUBLANG_SPANISH_PARAGUAY = $0f;
SUBLANG_SPANISH_BOLIVIA = $10;
SUBLANG_SPANISH_EL_SALVADOR = $11;
SUBLANG_SPANISH_HONDURAS = $12;
SUBLANG_SPANISH_NICARAGUA = $13;
SUBLANG_SPANISH_PUERTO_RICO = $14;
SUBLANG_SWEDISH = $01;
SUBLANG_SWEDISH_FINLAND = $02;
SORT_DEFAULT = $0;
SORT_JAPANESE_XJIS = $0;
SORT_JAPANESE_UNICODE = $1;
SORT_CHINESE_BIG5 = $0;
SORT_CHINESE_PRCP = $0;
SORT_CHINESE_UNICODE = $1;
SORT_CHINESE_PRC = $2;
SORT_KOREAN_KSC = $0;
SORT_KOREAN_UNICODE = $1;
SORT_GERMAN_PHONE_BOOK = $1;
LANG_SYSTEM_DEFAULT = (SUBLANG_SYS_DEFAULT shl 10) or LANG_NEUTRAL;
LANG_USER_DEFAULT = (SUBLANG_DEFAULT shl 10) or LANG_NEUTRAL;
LOCALE_SYSTEM_DEFAULT = (SORT_DEFAULT shl 16) or LANG_SYSTEM_DEFAULT;
LOCALE_USER_DEFAULT = (SORT_DEFAULT shl 16) or LANG_USER_DEFAULT;
ERROR_LOCK_VIOLATION = EACCES;
MB_PRECOMPOSED = 1;
MB_COMPOSITE = 2;
MB_USEGLYPHCHARS = 4;

Description

Functions and Procedures

function LockFile(hFile: THandle; dwFileOffsetLow, dwFileOffsetHigh: DWORD; nNumberOfBytesToLockLow, nNumberOfBytesToLockHigh: DWORD): BOOL;

This item has no description.

function UnlockFile(hFile: THandle; dwFileOffsetLow, dwFileOffsetHigh: DWORD; nNumberOfBytesToUnlockLow, nNumberOfBytesToUnlockHigh: DWORD): BOOL;

This item has no description.

procedure GetLocalTime(var lpSystemTime: TSystemTime);

This item has no description.

function GetOEMCP: Cardinal;

This item has no description.

function GetACP: Cardinal;

This item has no description.

function OemToChar(lpszSrc: PChar; lpszDst: PChar): BOOL;

This item has no description.

function CharToOem(lpszSrc: PChar; lpszDst: PChar): BOOL;

This item has no description.

function OemToCharBuff(lpszSrc: PChar; lpszDst: PChar; cchDstLength: DWORD): BOOL;

This item has no description.

function CharToOemBuff(lpszSrc: PChar; lpszDst: PChar; cchDstLength: DWORD): BOOL;

This item has no description.

function MultiByteToWideChar(CodePage: DWORD; dwFlags: DWORD; const lpMultiByteStr: LPCSTR; cchMultiByte: Integer; lpWideCharStr: LPWSTR; cchWideChar: Integer): Integer;

This item has no description.

function WideCharToMultiByte(CodePage: DWORD; dwFlags: DWORD; lpWideCharStr: LPWSTR; cchWideChar: Integer; lpMultiByteStr: LPSTR; cchMultiByte: Integer; lpDefaultChar: LPCSTR; lpUsedDefaultChar: PBOOL): Integer;

This item has no description.

function CompareString(Locale: LCID; dwCmpFlags: DWORD; lpString1: PChar; cchCount1: Integer; lpString2: PChar; cchCount2: Integer): Integer;

This item has no description.

function EnumSystemCodePages(lpCodePageEnumProc: TFNCodepageEnumProc; dwFlags: DWORD): BOOL;

This item has no description.

function EnumSystemLocales(lpLocaleEnumProc: TFNLocaleEnumProc; dwFlags: DWORD): BOOL;

This item has no description.

function GetUserDefaultLCID: LCID;

This item has no description.

Types

LCID = DWORD;

This item has no description.

BOOL = LongBool;

This item has no description.

PBOOL = ˆBOOL;

This item has no description.

WCHAR = WideChar;

This item has no description.

PWChar = PWideChar;

This item has no description.

LPSTR = PAnsiChar;

This item has no description.

PLPSTR = ˆLPSTR;

This item has no description.

LPCSTR = PAnsiChar;

This item has no description.

LPCTSTR = PAnsiChar;

This item has no description.

LPTSTR = PAnsiChar;

This item has no description.

LPWSTR = PWideChar;

This item has no description.

PLPWSTR = ˆLPWSTR;

This item has no description.

LPCWSTR = PWideChar;

This item has no description.

PSystemTime = ˆTSystemTime;

This item has no description.

TFarProc = Pointer;

This item has no description.

TFNLocaleEnumProc = TFarProc;

This item has no description.

TFNCodepageEnumProc = TFarProc;

This item has no description.

TFNDateFmtEnumProc = TFarProc;

This item has no description.

TFNTimeFmtEnumProc = TFarProc;

This item has no description.

TFNCalInfoEnumProc = TFarProc;

This item has no description.

Constants

LCID_INSTALLED = $00000001;

This item has no description.

LCID_SUPPORTED = $00000002;

This item has no description.

CP_INSTALLED = $00000001;

This item has no description.

CP_SUPPORTED = $00000002;

This item has no description.

LANG_NEUTRAL = $00;

This item has no description.

LANG_AFRIKAANS = $36;

This item has no description.

LANG_ALBANIAN = $1c;

This item has no description.

LANG_ARABIC = $01;

This item has no description.

LANG_BASQUE = $2d;

This item has no description.

LANG_BELARUSIAN = $23;

This item has no description.

LANG_BULGARIAN = $02;

This item has no description.

LANG_CATALAN = $03;

This item has no description.

LANG_CHINESE = $04;

This item has no description.

LANG_CROATIAN = $1a;

This item has no description.

LANG_CZECH = $05;

This item has no description.

LANG_DANISH = $06;

This item has no description.

LANG_DUTCH = $13;

This item has no description.

LANG_ENGLISH = $09;

This item has no description.

LANG_ESTONIAN = $25;

This item has no description.

LANG_FAEROESE = $38;

This item has no description.

LANG_FARSI = $29;

This item has no description.

LANG_FINNISH = $0b;

This item has no description.

LANG_FRENCH = $0c;

This item has no description.

LANG_GERMAN = $07;

This item has no description.

LANG_GREEK = $08;

This item has no description.

LANG_HEBREW = $0d;

This item has no description.

LANG_HUNGARIAN = $0e;

This item has no description.

LANG_ICELANDIC = $0f;

This item has no description.

LANG_INDONESIAN = $21;

This item has no description.

LANG_ITALIAN = $10;

This item has no description.

LANG_JAPANESE = $11;

This item has no description.

LANG_KOREAN = $12;

This item has no description.

LANG_LATVIAN = $26;

This item has no description.

LANG_LITHUANIAN = $27;

This item has no description.

LANG_NORWEGIAN = $14;

This item has no description.

LANG_POLISH = $15;

This item has no description.

LANG_PORTUGUESE = $16;

This item has no description.

LANG_ROMANIAN = $18;

This item has no description.

LANG_RUSSIAN = $19;

This item has no description.

LANG_SERBIAN = $1a;

This item has no description.

LANG_SLOVAK = $1b;

This item has no description.

LANG_SLOVENIAN = $24;

This item has no description.

LANG_SPANISH = $0a;

This item has no description.

LANG_SWEDISH = $1d;

This item has no description.

LANG_THAI = $1e;

This item has no description.

LANG_TURKISH = $1f;

This item has no description.

LANG_UKRAINIAN = $22;

This item has no description.

LANG_VIETNAMESE = $2a;

This item has no description.

SUBLANG_NEUTRAL = $00;

This item has no description.

SUBLANG_DEFAULT = $01;

This item has no description.

SUBLANG_SYS_DEFAULT = $02;

This item has no description.

SUBLANG_ARABIC_SAUDI_ARABIA = $01;

This item has no description.

SUBLANG_ARABIC_IRAQ = $02;

This item has no description.

SUBLANG_ARABIC_EGYPT = $03;

This item has no description.

SUBLANG_ARABIC_LIBYA = $04;

This item has no description.

SUBLANG_ARABIC_ALGERIA = $05;

This item has no description.

SUBLANG_ARABIC_MOROCCO = $06;

This item has no description.

SUBLANG_ARABIC_TUNISIA = $07;

This item has no description.

SUBLANG_ARABIC_OMAN = $08;

This item has no description.

SUBLANG_ARABIC_YEMEN = $09;

This item has no description.

SUBLANG_ARABIC_SYRIA = $0a;

This item has no description.

SUBLANG_ARABIC_JORDAN = $0b;

This item has no description.

SUBLANG_ARABIC_LEBANON = $0c;

This item has no description.

SUBLANG_ARABIC_KUWAIT = $0d;

This item has no description.

SUBLANG_ARABIC_UAE = $0e;

This item has no description.

SUBLANG_ARABIC_BAHRAIN = $0f;

This item has no description.

SUBLANG_ARABIC_QATAR = $10;

This item has no description.

SUBLANG_CHINESE_TRADITIONAL = $01;

This item has no description.

SUBLANG_CHINESE_SIMPLIFIED = $02;

This item has no description.

SUBLANG_CHINESE_HONGKONG = $03;

This item has no description.

SUBLANG_CHINESE_SINGAPORE = $04;

This item has no description.

SUBLANG_DUTCH = $01;

This item has no description.

SUBLANG_DUTCH_BELGIAN = $02;

This item has no description.

SUBLANG_ENGLISH_US = $01;

This item has no description.

SUBLANG_ENGLISH_UK = $02;

This item has no description.

SUBLANG_ENGLISH_AUS = $03;

This item has no description.

SUBLANG_ENGLISH_CAN = $04;

This item has no description.

SUBLANG_ENGLISH_NZ = $05;

This item has no description.

SUBLANG_ENGLISH_EIRE = $06;

This item has no description.

SUBLANG_ENGLISH_SOUTH_AFRICA = $07;

This item has no description.

SUBLANG_ENGLISH_JAMAICA = $08;

This item has no description.

SUBLANG_ENGLISH_CARIBBEAN = $09;

This item has no description.

SUBLANG_ENGLISH_BELIZE = $0a;

This item has no description.

SUBLANG_ENGLISH_TRINIDAD = $0b;

This item has no description.

SUBLANG_FRENCH = $01;

This item has no description.

SUBLANG_FRENCH_BELGIAN = $02;

This item has no description.

SUBLANG_FRENCH_CANADIAN = $03;

This item has no description.

SUBLANG_FRENCH_SWISS = $04;

This item has no description.

SUBLANG_FRENCH_LUXEMBOURG = $05;

This item has no description.

SUBLANG_GERMAN = $01;

This item has no description.

SUBLANG_GERMAN_SWISS = $02;

This item has no description.

SUBLANG_GERMAN_AUSTRIAN = $03;

This item has no description.

SUBLANG_GERMAN_LUXEMBOURG = $04;

This item has no description.

SUBLANG_GERMAN_LIECHTENSTEIN = $05;

This item has no description.

SUBLANG_ITALIAN = $01;

This item has no description.

SUBLANG_ITALIAN_SWISS = $02;

This item has no description.

SUBLANG_KOREAN = $01;

This item has no description.

SUBLANG_KOREAN_JOHAB = $02;

This item has no description.

SUBLANG_NORWEGIAN_BOKMAL = $01;

This item has no description.

SUBLANG_NORWEGIAN_NYNORSK = $02;

This item has no description.

SUBLANG_PORTUGUESE = $02;

This item has no description.

SUBLANG_PORTUGUESE_BRAZILIAN = $01;

This item has no description.

SUBLANG_SERBIAN_LATIN = $02;

This item has no description.

SUBLANG_SERBIAN_CYRILLIC = $03;

This item has no description.

SUBLANG_SPANISH = $01;

This item has no description.

SUBLANG_SPANISH_MEXICAN = $02;

This item has no description.

SUBLANG_SPANISH_MODERN = $03;

This item has no description.

SUBLANG_SPANISH_GUATEMALA = $04;

This item has no description.

SUBLANG_SPANISH_COSTA_RICA = $05;

This item has no description.

SUBLANG_SPANISH_PANAMA = $06;

This item has no description.

SUBLANG_SPANISH_DOMINICAN_REPUBLIC = $07;

This item has no description.

SUBLANG_SPANISH_VENEZUELA = $08;

This item has no description.

SUBLANG_SPANISH_COLOMBIA = $09;

This item has no description.

SUBLANG_SPANISH_PERU = $0a;

This item has no description.

SUBLANG_SPANISH_ARGENTINA = $0b;

This item has no description.

SUBLANG_SPANISH_ECUADOR = $0c;

This item has no description.

SUBLANG_SPANISH_CHILE = $0d;

This item has no description.

SUBLANG_SPANISH_URUGUAY = $0e;

This item has no description.

SUBLANG_SPANISH_PARAGUAY = $0f;

This item has no description.

SUBLANG_SPANISH_BOLIVIA = $10;

This item has no description.

SUBLANG_SPANISH_EL_SALVADOR = $11;

This item has no description.

SUBLANG_SPANISH_HONDURAS = $12;

This item has no description.

SUBLANG_SPANISH_NICARAGUA = $13;

This item has no description.

SUBLANG_SPANISH_PUERTO_RICO = $14;

This item has no description.

SUBLANG_SWEDISH = $01;

This item has no description.

SUBLANG_SWEDISH_FINLAND = $02;

This item has no description.

SORT_DEFAULT = $0;

This item has no description.

SORT_JAPANESE_XJIS = $0;

This item has no description.

SORT_JAPANESE_UNICODE = $1;

This item has no description.

SORT_CHINESE_BIG5 = $0;

This item has no description.

SORT_CHINESE_PRCP = $0;

This item has no description.

SORT_CHINESE_UNICODE = $1;

This item has no description.

SORT_CHINESE_PRC = $2;

This item has no description.

SORT_KOREAN_KSC = $0;

This item has no description.

SORT_KOREAN_UNICODE = $1;

This item has no description.

SORT_GERMAN_PHONE_BOOK = $1;

This item has no description.

LANG_SYSTEM_DEFAULT = (SUBLANG_SYS_DEFAULT shl 10) or LANG_NEUTRAL;

This item has no description.

LANG_USER_DEFAULT = (SUBLANG_DEFAULT shl 10) or LANG_NEUTRAL;

This item has no description.

LOCALE_SYSTEM_DEFAULT = (SORT_DEFAULT shl 16) or LANG_SYSTEM_DEFAULT;

This item has no description.

LOCALE_USER_DEFAULT = (SORT_DEFAULT shl 16) or LANG_USER_DEFAULT;

This item has no description.

ERROR_LOCK_VIOLATION = EACCES;

This item has no description.

MB_PRECOMPOSED = 1;

This item has no description.

MB_COMPOSITE = 2;

This item has no description.

MB_USEGLYPHCHARS = 4;

This item has no description.


Generated by PasDoc 0.17.0.snapshot.