Archive for the ‘JEDI Windows API Headers’ Category

4,552 views

BOOL, Boolean and Integer

People may think that BOOL and Boolean are the same types in Delphi since they can just contain true and false. Right? Yes and No. They seem to be the same, however there is a little difference how these types are handled in an assignment. To see the difference we have to open up the [...]

2,359 views

I just did some tests with the function CreateProcessWithTokenW new in Windows Vista (well, MSDN says that). However I could not make it work and always got an error 5 (Access denied). I simply tried to run the notepad application. Fortunately, I could remember a similar case that happened to a friend.

1,614 views

As the MSDN Article about GetEffectiveRightsFromAcl reads, you can determine which rights a user has on a given access control list (ACL). The function also includes the groups the user belongs to into its calculation. It is used in the Windows ACL Editor “Effective Permission” tab as you can see in the image: JWSCL implements [...]

6,726 views

Winlogon Notification Package

What is that? MSDN say’s: A Winlogon Notification Package is a DLL that exports functions that handle Winlogon events. For example, when a user logs onto the system, Winlogon calls each notification package’s logon event handler function to provide information about the event.

5,428 views

With Delphi “Tiburon” CodeGear wants to introduce Unicode-support for the Win32 personality. Unlike C++ Builder which has a preprocessor and thus can at least switch between ANSI and Unicode via a simple preprocessor define, Delphi didn’t have such a (globally available) mechanism in previous versions. And even in C++ Builder you wouldn’t get far with [...]

1,478 views

Did you know? #1

A call to CreateProcessAsUser will fail with ERROR_INVALID_PARAMETER if your new process belongs to another session and you allowed inheritance of handles. In this case you have to set parameter bInheritHandles to FALSE.

4,483 views

Wishlist

The following topics you can choose to research. Each topic has several possible options you can work on. The options are Library: Creating Windows headers for JEDI Windows API or (wrapper) classes for JEDI Windows Security Blogpost: Writing a blog post about the topic. Example: Writing an example about the topic that demonstrates using the [...]

3,327 views

Recently I needed to convert a C header file to Delphi which contained bitfields. Let’s take a look at a sample structure that contains bitfields: typedef struct _BITFIELDSTRUCTURE {     DWORD dwValue1;     ULONG BitValue1: 1;     ULONG BitValue2: 1;     ULONG BitValue3: 1;     ULONG BitValue4: 1; } BITFIELDSTRUCTURE, [...]

9,352 views

“Have you ever seen the rain (on your background image through a Delphi window)?” Ok, sorry to all the Creedence Clearwater Revival fans out there . Today we wanna talk about how to achieve translucent Delphi windows with Windows Vista. I know this does not sound like a big deal for all the lucky owners [...]

1,815 views

I hope you enjoyed the first part of the introduction to BITS. In this second part, we want to improve our job list (a little bit) and start own dowloads. The first task is, to replace the old TListbox with a TListview. I switched the ViewStyle to vsReport and added 3 columns: Name, State, GUID. [...]

Paypal donation (EUR)

Amount:
Website(Optional):

Archives

 

September 2010
M T W T F S S
« Aug    
 12345
6789101112
13141516171819
20212223242526
27282930