Re: [python-win32] DeviceIOControl calls respond with parameter incorrect

2021-02-08 Thread Eryk Sun
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.

Re: [python-win32] DeviceIOControl calls respond with parameter incorrect

2021-02-08 Thread Tim Roberts
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

[python-win32] DeviceIOControl calls respond with parameter incorrect

2021-02-08 Thread Doug Campbell
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

[python-win32] Python installer for Windows not working on silent installation

2021-02-08 Thread Romulus G | Heimdal™ via python-win32
Hi Guys, I am trying to deploy Python (the latest version) through AD GPO or through SCCM. Since there’s no MSI Installer available on the python.org for the latest versions, I used the python-3.9.1-amd64.exe with the following command line: python-3.9.0.exe /quiet InstallAllUsers=1