On 2/9/21, Doug Campbell wrote:
>
> That was exactly what I needed. I will have to read up on the _pack_
> directive to understand it but for now things are running the way they
> should be.
I'm glad I could help. Normally padding is added between fields of a
struct in order to support aligned a
uary 8, 2021 8:24 PM
To: python-win32@python.org
Cc: Doug Campbell
Subject: Re: [python-win32] DeviceIOControl calls respond with parameter
incorrect
On 2/8/21, Doug Campbell wrote:
> In my python 2 script, I am trying to connect to the VeraCrypt device driver
> to get some information o
On 2/8/21, Doug Campbell wrote:
> In my python 2 script, I am trying to connect to the VeraCrypt device driver
> to get some information on my mounted volumes.
The VeraCrypt repo on GitHub [1] indicates that all structures are
defined with #pragma pack(1). In ctypes this is the _pack_ directive.
On Feb 8, 2021, at 8:23 PM, Doug Campbell wrote:
>
> In my python 2 script, I am trying to connect to the VeraCrypt device driver
> to get some information on my mounted volumes.
There are a lot of things to go wrong here. You may be in for a long slog.
Your ctypes definition does look funda
In my python 2 script, I am trying to connect to the VeraCrypt device driver to
get some information on my mounted volumes.
This is what I have so far. I tried a bunch of different ideas on how to
construct the input buffer for the DeviceIoControl function call but I keep
getting the following