Category: WinApi
-
How distinguish when Windows was installed in Legacy BIOS or UEFI mode using Delphi?
Read the article: How distinguish when Windows was installed in Legacy BIOS or UEFI mode using Delphi?As part of the TSMBIOS project, I needed a method to distinguish when Windows was installed in Legacy BIOS or UEFI mode. The solution was provided by the GetFirmwareEnvironmentVariable function.…
-
Exploring Delphi XE3 – WinApi Additions – Winapi.Functiondiscovery Part 3
Read the article: Exploring Delphi XE3 – WinApi Additions – Winapi.Functiondiscovery Part 3This is the part 3 of the Exploring Delphi XE3 – WinApi Additions – Winapi.Functiondiscovery Article. The Function Discovery API can be used not just for enumerate devices also you…
-
Exploring Delphi XE3 – WinApi Additions – Winapi.Functiondiscovery Part 2
Read the article: Exploring Delphi XE3 – WinApi Additions – Winapi.Functiondiscovery Part 2This is the part 2 of the Exploring Delphi XE3 – WinApi Additions – Winapi.Functiondiscovery Article One of the nice features of the Function Discovery API is the posibility of…
-
Exploring Delphi XE3 – WinApi Additions – Winapi.Functiondiscovery Part 1
Read the article: Exploring Delphi XE3 – WinApi Additions – Winapi.Functiondiscovery Part 1Starting with Windows Vista The SetupDi and the WMI are not longer the only APIs to enumerate devices and receive notifications about hardware changes, with the introduction of the Function…
-
Getting the environment variables of an external x86 and x64 process
Read the article: Getting the environment variables of an external x86 and x64 processOn my last post was show how get the environment variables of an external x86 process, now it’s time to show how access the same information for x64 (and x86)…
-
Getting the environment variables of an external x86 process
Read the article: Getting the environment variables of an external x86 processIn this post I will show you how you can get the list of the environment variables of an external x86 process just like is done by tools like Process…
-
Determine Genuine Windows Installation using Delphi
Read the article: Determine Genuine Windows Installation using DelphiStarting with Windows Vista , Microsoft introduces the The Software Licensing API (SLAPI), this API can be used to determine a genuine Microsoft Windows installation. So using the SLIsGenuineLocal function…
-
Two ways to get the command line of another process using delphi
Read the article: Two ways to get the command line of another process using delphiNote : for a updated version of the code check the Github repo. Today I will show you how you can retrieve the Command line parameters of an external application…
-
Changing the glass composition color (DWM) using delphi
Read the article: Changing the glass composition color (DWM) using delphiBefore to read this post you must be aware which the material exposed make uses of undocumented windows functions, so you must know the risks involved in using them. …
-
Changing Screen Orientation Programmatically using Delphi
Read the article: Changing Screen Orientation Programmatically using DelphiOn this post I will show you, how you can change the screen orientation using Delphi. To do this task you must use 2 Winapi functions EnumDisplaySettings and ChangeDisplaySettings. EnumDisplaySettings: this…
