224 lines
20 KiB
Plaintext
224 lines
20 KiB
Plaintext
// CodeGear C++Builder
|
|
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'uCEFMiscFunctions.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef uCEFMiscFunctionsHPP
|
|
#define uCEFMiscFunctionsHPP
|
|
|
|
#pragma delphiheader begin
|
|
#pragma option push
|
|
#if defined(__BORLANDC__) && !defined(__clang__)
|
|
#pragma option -w- // All warnings off
|
|
#pragma option -Vx // Zero-length empty class member
|
|
#endif
|
|
#pragma pack(push,8)
|
|
#include <System.hpp>
|
|
#include <SysInit.hpp>
|
|
#include <Winapi.Windows.hpp>
|
|
#include <Winapi.ActiveX.hpp>
|
|
#include <Winapi.ShellAPI.hpp>
|
|
#include <System.Win.Registry.hpp>
|
|
#include <System.Types.hpp>
|
|
#include <System.IOUtils.hpp>
|
|
#include <System.Classes.hpp>
|
|
#include <System.SysUtils.hpp>
|
|
#include <System.UITypes.hpp>
|
|
#include <System.Math.hpp>
|
|
#include <uCEFTypes.hpp>
|
|
#include <uCEFInterfaces.hpp>
|
|
#include <uCEFLibFunctions.hpp>
|
|
#include <uCEFResourceHandler.hpp>
|
|
#include <uCEFConstants.hpp>
|
|
|
|
//-- user supplied -----------------------------------------------------------
|
|
|
|
namespace Ucefmiscfunctions
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
//-- type declarations -------------------------------------------------------
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
#define Kernel32DLL L"kernel32.dll"
|
|
#define SHLWAPIDLL L"shlwapi.dll"
|
|
#define NTDLL L"ntdll.dll"
|
|
#define User32DLL L"User32.dll"
|
|
#define Netapi32DLL L"Netapi32.dll"
|
|
extern "C" System::LongBool __stdcall ProcessUnderWow64(Winapi::Windows::THandle hProcess, PBOOL Wow64Process);
|
|
extern "C" System::LongBool __stdcall PathIsRelativeAnsi(char * pszPath);
|
|
extern "C" System::LongBool __stdcall PathIsRelativeUnicode(System::WideChar * pszPath);
|
|
extern "C" System::LongBool __stdcall GetGlobalMemoryStatusEx(Uceftypes::LPMEMORYSTATUSEX lpBuffer);
|
|
extern "C" System::LongBool __stdcall PathCanonicalizeAnsi(char * pszBuf, char * pszPath);
|
|
extern "C" System::LongBool __stdcall PathCanonicalizeUnicode(System::WideChar * pszBuf, System::WideChar * pszPath);
|
|
extern "C" System::LongBool __stdcall PathIsUNCAnsi(char * pszPath);
|
|
extern "C" System::LongBool __stdcall PathIsUNCUnicode(System::WideChar * pszPath);
|
|
extern "C" System::LongBool __stdcall PathIsURLAnsi(char * pszPath);
|
|
extern "C" System::LongBool __stdcall PathIsURLUnicode(System::WideChar * pszPath);
|
|
//extern "C" System::LongBool __stdcall ShutdownBlockReasonCreate(HWND hWnd, System::WideChar * Reason);
|
|
//extern "C" System::LongBool __stdcall ShutdownBlockReasonDestroy(HWND hWnd);
|
|
extern "C" unsigned __stdcall NetServerGetInfo(System::WideChar * servername, unsigned level, /* out */ void * &bufptr);
|
|
extern "C" unsigned __stdcall NetApiBufferFree(void * Buffer);
|
|
extern DELPHI_PACKAGE System::Byte __fastcall CefColorGetA(Uceftypes::TCefColor color);
|
|
extern DELPHI_PACKAGE System::Byte __fastcall CefColorGetR(Uceftypes::TCefColor color);
|
|
extern DELPHI_PACKAGE System::Byte __fastcall CefColorGetG(Uceftypes::TCefColor color);
|
|
extern DELPHI_PACKAGE System::Byte __fastcall CefColorGetB(Uceftypes::TCefColor color);
|
|
extern DELPHI_PACKAGE Uceftypes::TCefColor __fastcall CefColorSetARGB(System::Byte a, System::Byte r, System::Byte g, System::Byte b);
|
|
extern DELPHI_PACKAGE __int64 __fastcall CefInt64Set(int int32_low, int int32_high);
|
|
extern DELPHI_PACKAGE int __fastcall CefInt64GetLow(const __int64 int64_val);
|
|
extern DELPHI_PACKAGE int __fastcall CefInt64GetHigh(const __int64 int64_val);
|
|
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefStringClearAndGet(Uceftypes::PCefString str);
|
|
extern DELPHI_PACKAGE System::TObject* __fastcall CefGetObject(void * ptr);
|
|
extern DELPHI_PACKAGE void * __fastcall CefGetData(const Ucefinterfaces::_di_ICefBaseRefCounted i);
|
|
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefString(const Uceftypes::PCefString str)/* overload */;
|
|
extern DELPHI_PACKAGE Uceftypes::TCefString __fastcall CefString(const Uceftypes::ustring str)/* overload */;
|
|
extern DELPHI_PACKAGE void __fastcall CefStringFree(const Uceftypes::PCefString str);
|
|
extern DELPHI_PACKAGE void __fastcall CefStringSet(const Uceftypes::PCefString str, const Uceftypes::ustring value)/* overload */;
|
|
extern DELPHI_PACKAGE void __fastcall CefStringSet(const Uceftypes::TCefString &aDstStr, const Uceftypes::TCefString &aSrcStr)/* overload */;
|
|
extern DELPHI_PACKAGE void __fastcall CefStringInitialize(const Uceftypes::PCefString aCefString);
|
|
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefStringFreeAndGet(const Uceftypes::PCefStringUserFree str);
|
|
extern DELPHI_PACKAGE Uceftypes::TCefString __fastcall CefStringAlloc(const Uceftypes::ustring str);
|
|
extern DELPHI_PACKAGE Uceftypes::PCefStringUserFree __fastcall CefUserFreeString(const Uceftypes::ustring str);
|
|
extern DELPHI_PACKAGE bool __fastcall CefRegisterExtension(const Uceftypes::ustring name, const Uceftypes::ustring code, const Ucefinterfaces::_di_ICefv8Handler Handler);
|
|
extern DELPHI_PACKAGE bool __fastcall CefPostTask(Uceftypes::TCefThreadId aThreadId, const Ucefinterfaces::_di_ICefTask aTask);
|
|
extern DELPHI_PACKAGE bool __fastcall CefPostDelayedTask(Uceftypes::TCefThreadId aThreadId, const Ucefinterfaces::_di_ICefTask aTask, __int64 aDelayMs);
|
|
extern DELPHI_PACKAGE bool __fastcall CefCurrentlyOn(Uceftypes::TCefThreadId aThreadId);
|
|
extern DELPHI_PACKAGE Winapi::Windows::TSystemTime __fastcall CefTimeToSystemTime(const Uceftypes::TCefTime &dt);
|
|
extern DELPHI_PACKAGE Uceftypes::TCefTime __fastcall SystemTimeToCefTime(const Winapi::Windows::TSystemTime &dt);
|
|
extern DELPHI_PACKAGE Uceftypes::TCefTime __fastcall FixCefTime(const Uceftypes::TCefTime &dt);
|
|
extern DELPHI_PACKAGE System::TDateTime __fastcall CefTimeToDateTime(const Uceftypes::TCefTime &dt);
|
|
extern DELPHI_PACKAGE Uceftypes::TCefTime __fastcall DateTimeToCefTime(System::TDateTime dt);
|
|
extern DELPHI_PACKAGE Uceftypes::TCefBaseTime __fastcall DateTimeToCefBaseTime(System::TDateTime dt);
|
|
extern DELPHI_PACKAGE double __fastcall CefTimeToDouble(const Uceftypes::TCefTime &dt);
|
|
extern DELPHI_PACKAGE Uceftypes::TCefTime __fastcall DoubleToCefTime(const double dt);
|
|
extern DELPHI_PACKAGE __int64 __fastcall CefTimeToUnixTime(const Uceftypes::TCefTime &dt);
|
|
extern DELPHI_PACKAGE Uceftypes::TCefTime __fastcall UnixTimeToCefTime(const __int64 dt);
|
|
extern DELPHI_PACKAGE Uceftypes::TCefTime __fastcall CefTimeNow(void);
|
|
extern DELPHI_PACKAGE double __fastcall DoubleTimeNow(void);
|
|
extern DELPHI_PACKAGE __int64 __fastcall CefTimeDelta(const Uceftypes::TCefTime &cef_time1, const Uceftypes::TCefTime &cef_time2);
|
|
extern DELPHI_PACKAGE Uceftypes::TCefBaseTime __fastcall CefBaseTimeNow(void);
|
|
extern DELPHI_PACKAGE Uceftypes::TCefBaseTime __fastcall CetTimeToCefBaseTime(const Uceftypes::TCefTime &ct);
|
|
extern DELPHI_PACKAGE Uceftypes::TCefTime __fastcall CetTimeFromCefBaseTime(const Uceftypes::TCefBaseTime cbt);
|
|
extern DELPHI_PACKAGE System::TDateTime __fastcall CefBaseTimeToDateTime(const Uceftypes::TCefBaseTime cbt);
|
|
extern DELPHI_PACKAGE int __fastcall GetTimeIntervalMilliseconds(const Uceftypes::TCefTime &from_);
|
|
extern DELPHI_PACKAGE void __fastcall InitializeCefTime(Uceftypes::TCefTime &aTime);
|
|
extern DELPHI_PACKAGE int __fastcall cef_string_wide_copy(const System::WideChar * src, System::NativeUInt src_len, Uceftypes::PCefStringWide output);
|
|
extern DELPHI_PACKAGE int __fastcall cef_string_utf8_copy(const char * src, System::NativeUInt src_len, Uceftypes::PCefStringUtf8 output);
|
|
extern DELPHI_PACKAGE int __fastcall cef_string_utf16_copy(const Uceftypes::PChar16 src, System::NativeUInt src_len, Uceftypes::PCefStringUtf16 output);
|
|
extern DELPHI_PACKAGE int __fastcall cef_string_copy(const Uceftypes::PCefChar src, System::NativeUInt src_len, Uceftypes::PCefString output);
|
|
extern DELPHI_PACKAGE void __fastcall WindowInfoAsChild _DEPRECATED_ATTRIBUTE0 (Uceftypes::TCefWindowInfo &aWindowInfo, Uceftypes::TCefWindowHandle aParent, const System::Types::TRect &aRect, const Uceftypes::ustring aWindowName = Uceftypes::ustring(), unsigned aExStyle = (unsigned)(0x0));
|
|
extern DELPHI_PACKAGE void __fastcall WindowInfoAsPopUp _DEPRECATED_ATTRIBUTE0 (Uceftypes::TCefWindowInfo &aWindowInfo, Uceftypes::TCefWindowHandle aParent, const Uceftypes::ustring aWindowName = Uceftypes::ustring(), unsigned aExStyle = (unsigned)(0x0));
|
|
extern DELPHI_PACKAGE void __fastcall WindowInfoAsWindowless _DEPRECATED_ATTRIBUTE0 (Uceftypes::TCefWindowInfo &aWindowInfo, Uceftypes::TCefWindowHandle aParent, const Uceftypes::ustring aWindowName = Uceftypes::ustring(), unsigned aExStyle = (unsigned)(0x0));
|
|
extern DELPHI_PACKAGE bool __fastcall CefIsCertStatusError(Uceftypes::TCefCertStatus Status);
|
|
extern DELPHI_PACKAGE bool __fastcall CefCrashReportingEnabled(void);
|
|
extern DELPHI_PACKAGE void __fastcall CefSetCrashKeyValue(const Uceftypes::ustring aKey, const Uceftypes::ustring aValue);
|
|
extern DELPHI_PACKAGE void __fastcall CefLog(const System::UnicodeString aFile, int aLine, int aSeverity, const System::UnicodeString aMessage);
|
|
extern DELPHI_PACKAGE int __fastcall CefGetMinLogLevel(void);
|
|
extern DELPHI_PACKAGE int __fastcall CefGetVLogLevel(const System::UnicodeString file_start);
|
|
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefGetLogSeverityName(int aSeverity);
|
|
extern DELPHI_PACKAGE void __fastcall CefDebugLog(const System::UnicodeString aMessage, int aSeverity = 0x2);
|
|
extern DELPHI_PACKAGE void __fastcall CefKeyEventLog(const Uceftypes::TCefKeyEvent &aEvent);
|
|
extern DELPHI_PACKAGE void __fastcall CefMouseEventLog(const Uceftypes::TCefMouseEvent &aEvent);
|
|
extern DELPHI_PACKAGE void __fastcall OutputDebugMessage(const System::UnicodeString aMessage);
|
|
extern DELPHI_PACKAGE bool __fastcall CustomExceptionHandler(const System::UnicodeString aFunctionName, System::Sysutils::Exception* const aException);
|
|
extern DELPHI_PACKAGE bool __fastcall CefRegisterSchemeHandlerFactory(const Uceftypes::ustring SchemeName, const Uceftypes::ustring DomainName, const Ucefresourcehandler::TCefResourceHandlerClass handler = 0x0);
|
|
extern DELPHI_PACKAGE bool __fastcall CefClearSchemeHandlerFactories(void);
|
|
extern DELPHI_PACKAGE bool __fastcall CefAddCrossOriginWhitelistEntry(const Uceftypes::ustring SourceOrigin, const Uceftypes::ustring TargetProtocol, const Uceftypes::ustring TargetDomain, bool AllowTargetSubdomains);
|
|
extern DELPHI_PACKAGE bool __fastcall CefRemoveCrossOriginWhitelistEntry(const Uceftypes::ustring SourceOrigin, const Uceftypes::ustring TargetProtocol, const Uceftypes::ustring TargetDomain, bool AllowTargetSubdomains);
|
|
extern DELPHI_PACKAGE bool __fastcall CefClearCrossOriginWhitelist(void);
|
|
extern DELPHI_PACKAGE System::UnicodeString __fastcall SplitLongString(System::UnicodeString aSrcString);
|
|
extern DELPHI_PACKAGE bool __fastcall GetAbsoluteDirPath(const System::UnicodeString aSrcPath, System::UnicodeString &aRsltPath);
|
|
extern DELPHI_PACKAGE bool __fastcall CheckLocales(const System::UnicodeString aLocalesDirPath, System::UnicodeString &aMissingFiles, const System::UnicodeString aLocalesRequired = System::UnicodeString());
|
|
extern DELPHI_PACKAGE bool __fastcall CheckResources(const System::UnicodeString aResourcesDirPath, System::UnicodeString &aMissingFiles);
|
|
extern DELPHI_PACKAGE bool __fastcall CheckSubprocessPath(const System::UnicodeString aSubprocessPath, System::UnicodeString &aMissingFiles);
|
|
extern DELPHI_PACKAGE bool __fastcall CheckDLLs(const System::UnicodeString aFrameworkDirPath, System::UnicodeString &aMissingFiles);
|
|
extern DELPHI_PACKAGE bool __fastcall CheckFilesExist(System::Classes::TStringList* &aList, System::UnicodeString &aMissingFiles);
|
|
extern DELPHI_PACKAGE void __fastcall UInt64ToFileVersionInfo(const unsigned __int64 aVersion, Uceftypes::TFileVersionInfo &aVersionInfo);
|
|
extern DELPHI_PACKAGE unsigned __int64 __fastcall GetExtendedFileVersion(const Uceftypes::ustring aFileName);
|
|
extern DELPHI_PACKAGE void __fastcall OutputLastErrorMessage(void);
|
|
extern DELPHI_PACKAGE bool __fastcall GetRegistryWindowsVersion(unsigned &aMajor, unsigned &aMinor);
|
|
extern DELPHI_PACKAGE bool __fastcall GetRealWindowsVersion(unsigned &aMajor, unsigned &aMinor);
|
|
extern DELPHI_PACKAGE bool __fastcall CheckRealWindowsVersion(unsigned aMajor, unsigned aMinor);
|
|
extern DELPHI_PACKAGE bool __fastcall GetDLLVersion(const Uceftypes::ustring aDLLFile, Uceftypes::TFileVersionInfo &aVersionInfo);
|
|
extern DELPHI_PACKAGE bool __fastcall CheckDLLVersion(const Uceftypes::ustring aDLLFile, System::UInt16 aMajor, System::UInt16 aMinor, System::UInt16 aRelease, System::UInt16 aBuild);
|
|
extern DELPHI_PACKAGE bool __fastcall GetDLLHeaderMachine(const Uceftypes::ustring aDLLFile, int &aMachine);
|
|
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall GetFileTypeDescription(const Uceftypes::ustring aExtension);
|
|
extern DELPHI_PACKAGE System::UnicodeString __fastcall FileVersionInfoToString(const Uceftypes::TFileVersionInfo &aVersionInfo);
|
|
extern DELPHI_PACKAGE bool __fastcall Is32BitProcess(void);
|
|
extern DELPHI_PACKAGE bool __fastcall CustomPathIsRelative(const System::UnicodeString aPath);
|
|
extern DELPHI_PACKAGE bool __fastcall CustomPathIsURL(const System::UnicodeString aPath);
|
|
extern DELPHI_PACKAGE bool __fastcall CustomPathIsUNC(const System::UnicodeString aPath);
|
|
extern DELPHI_PACKAGE bool __fastcall CustomPathCanonicalize(const System::UnicodeString aOriginalPath, System::UnicodeString &aCanonicalPath);
|
|
extern DELPHI_PACKAGE System::UnicodeString __fastcall CustomAbsolutePath(const System::UnicodeString aPath, bool aMustExist = false);
|
|
extern DELPHI_PACKAGE System::UnicodeString __fastcall GetModulePath(void);
|
|
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefResolveUrl(const Uceftypes::ustring base_url, const Uceftypes::ustring relative_url);
|
|
extern DELPHI_PACKAGE bool __fastcall CefParseUrl(const Uceftypes::ustring url, Uceftypes::TUrlParts &parts);
|
|
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefCreateUrl(Uceftypes::TUrlParts &parts);
|
|
extern DELPHI_PACKAGE System::UnicodeString __fastcall CefFormatUrlForSecurityDisplay(const System::UnicodeString originUrl);
|
|
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefGetMimeType(const Uceftypes::ustring extension);
|
|
extern DELPHI_PACKAGE void __fastcall CefGetExtensionsForMimeType(const Uceftypes::ustring mimeType, System::Classes::TStringList* &extensions);
|
|
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefBase64Encode(const void * data, System::NativeUInt dataSize);
|
|
extern DELPHI_PACKAGE Ucefinterfaces::_di_ICefBinaryValue __fastcall CefBase64Decode(const Uceftypes::ustring data);
|
|
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefUriEncode(const Uceftypes::ustring text, bool usePlus);
|
|
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefUriDecode(const Uceftypes::ustring text, bool convertToUtf8, Uceftypes::TCefUriUnescapeRule unescapeRule);
|
|
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefGetPath(const Uceftypes::TCefPathKey aPathKey);
|
|
extern DELPHI_PACKAGE bool __fastcall CefIsRTL(void);
|
|
extern DELPHI_PACKAGE bool __fastcall CefCreateDirectory(const Uceftypes::ustring fullPath);
|
|
extern DELPHI_PACKAGE bool __fastcall CefGetTempDirectory(/* out */ Uceftypes::ustring &tempDir);
|
|
extern DELPHI_PACKAGE bool __fastcall CefCreateNewTempDirectory(const Uceftypes::ustring prefix, /* out */ Uceftypes::ustring &newTempPath);
|
|
extern DELPHI_PACKAGE bool __fastcall CefCreateTempDirectoryInDirectory(const Uceftypes::ustring baseDir, const Uceftypes::ustring prefix, /* out */ Uceftypes::ustring &newDir);
|
|
extern DELPHI_PACKAGE bool __fastcall CefDirectoryExists(const Uceftypes::ustring path);
|
|
extern DELPHI_PACKAGE bool __fastcall CefDeleteFile(const Uceftypes::ustring path, bool recursive);
|
|
extern DELPHI_PACKAGE bool __fastcall CefZipDirectory(const Uceftypes::ustring srcDir, const Uceftypes::ustring destFile, bool includeHiddenFiles);
|
|
extern DELPHI_PACKAGE void __fastcall CefLoadCRLSetsFile(const Uceftypes::ustring path);
|
|
extern DELPHI_PACKAGE System::UnicodeString __fastcall GetDefaultCEFUserAgent(void);
|
|
extern DELPHI_PACKAGE bool __fastcall CefIsKeyDown(unsigned aWparam);
|
|
extern DELPHI_PACKAGE bool __fastcall CefIsKeyToggled(unsigned aWparam);
|
|
extern DELPHI_PACKAGE Uceftypes::TCefEventFlags __fastcall GetCefMouseModifiers(unsigned awparam)/* overload */;
|
|
extern DELPHI_PACKAGE Uceftypes::TCefEventFlags __fastcall GetCefMouseModifiers(void)/* overload */;
|
|
extern DELPHI_PACKAGE Uceftypes::TCefEventFlags __fastcall GetCefKeyboardModifiers(unsigned aWparam, int aLparam);
|
|
extern DELPHI_PACKAGE void __fastcall CefCheckAltGrPressed(unsigned aWparam, Uceftypes::TCefKeyEvent &aEvent);
|
|
extern DELPHI_PACKAGE void __fastcall DropEffectToDragOperation(System::LongInt aEffect, Uceftypes::TCefDragOperations &aAllowedOps);
|
|
extern DELPHI_PACKAGE void __fastcall DragOperationToDropEffect(const Uceftypes::TCefDragOperations aDragOperations, System::LongInt &aEffect);
|
|
extern DELPHI_PACKAGE bool __fastcall GetWindowsMajorMinorVersion(unsigned &wMajorVersion, unsigned &wMinorVersion);
|
|
extern DELPHI_PACKAGE bool __fastcall GetIsWow64Process2(System::Word &aProcessMachine, System::Word &aNativeMachine);
|
|
extern DELPHI_PACKAGE bool __fastcall IsWowProcess(void);
|
|
extern DELPHI_PACKAGE bool __fastcall GetDPIForHandle(HWND aHandle, unsigned &aDPI);
|
|
extern DELPHI_PACKAGE bool __fastcall RunningWindows10OrNewer(void);
|
|
extern DELPHI_PACKAGE System::Types::TPoint __fastcall TouchPointToPoint(HWND aHandle, const Winapi::Windows::TTouchInput &TouchPoint);
|
|
extern DELPHI_PACKAGE bool __fastcall GetDigitizerStatus(Uceftypes::TDigitizerStatus &aDigitizerStatus, unsigned aDPI = (unsigned)(0x0));
|
|
extern DELPHI_PACKAGE bool __fastcall HasTouchOrPen(unsigned aDPI = (unsigned)(0x0));
|
|
extern DELPHI_PACKAGE int __fastcall DeviceToLogical(int aValue, const double aDeviceScaleFactor)/* overload */;
|
|
extern DELPHI_PACKAGE float __fastcall DeviceToLogical(float aValue, const double aDeviceScaleFactor)/* overload */;
|
|
extern DELPHI_PACKAGE void __fastcall DeviceToLogical(Uceftypes::TCefMouseEvent &aEvent, const double aDeviceScaleFactor)/* overload */;
|
|
extern DELPHI_PACKAGE void __fastcall DeviceToLogical(Uceftypes::TCefTouchEvent &aEvent, const double aDeviceScaleFactor)/* overload */;
|
|
extern DELPHI_PACKAGE void __fastcall DeviceToLogical(System::Types::TPoint &aPoint, const double aDeviceScaleFactor)/* overload */;
|
|
extern DELPHI_PACKAGE int __fastcall LogicalToDevice(int aValue, const double aDeviceScaleFactor)/* overload */;
|
|
extern DELPHI_PACKAGE void __fastcall LogicalToDevice(Uceftypes::TCefRect &aRect, const double aDeviceScaleFactor)/* overload */;
|
|
extern DELPHI_PACKAGE int __fastcall GetScreenDPI(void);
|
|
extern DELPHI_PACKAGE float __fastcall GetDeviceScaleFactor(void);
|
|
extern DELPHI_PACKAGE bool __fastcall TryRemoveDir(const System::UnicodeString aDirectory);
|
|
extern DELPHI_PACKAGE bool __fastcall TryDeleteFile(const System::UnicodeString aFileName);
|
|
extern DELPHI_PACKAGE bool __fastcall TryRenameFile(const System::UnicodeString aOldName, const System::UnicodeString aNewName);
|
|
extern DELPHI_PACKAGE bool __fastcall TryRenameDir(const System::UnicodeString aOldName, const System::UnicodeString aNewName);
|
|
extern DELPHI_PACKAGE bool __fastcall DeleteDirContents(const System::UnicodeString aDirectory, System::Classes::TStringList* const aExcludeFiles = (System::Classes::TStringList*)(0x0));
|
|
extern DELPHI_PACKAGE bool __fastcall DeleteFileList(System::Classes::TStringList* const aFileList);
|
|
extern DELPHI_PACKAGE bool __fastcall MoveFileList(System::Classes::TStringList* const aFileList, const System::UnicodeString aSrcDirectory, const System::UnicodeString aDstDirectory);
|
|
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefGetDataURI(const Uceftypes::ustring aString, const Uceftypes::ustring aMimeType)/* overload */;
|
|
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefGetDataURI(void * aData, int aSize, const Uceftypes::ustring aMimeType, const Uceftypes::ustring aCharset = Uceftypes::ustring())/* overload */;
|
|
extern DELPHI_PACKAGE bool __fastcall ValidCefWindowHandle(Uceftypes::TCefWindowHandle aHandle);
|
|
extern DELPHI_PACKAGE void __fastcall InitializeWindowHandle(Uceftypes::TCefWindowHandle &aHandle);
|
|
extern DELPHI_PACKAGE bool __fastcall GetCommandLineSwitchValue(const System::UnicodeString aKey, Uceftypes::ustring &aValue);
|
|
extern DELPHI_PACKAGE bool __fastcall IsCEFSubprocess(void);
|
|
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall EditingCommandToString(Uceftypes::TCefEditingCommand aEditingCommand);
|
|
extern DELPHI_PACKAGE Uceftypes::ustring __fastcall CefResultCodeToString(Uceftypes::TCefResultCode aExitCode);
|
|
} /* namespace Ucefmiscfunctions */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFMISCFUNCTIONS)
|
|
using namespace Ucefmiscfunctions;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // uCEFMiscFunctionsHPP
|