-
E
Windows 11 Windows Audio Capture Client GetBuffer()
Do I need the IAudioClientRenderClient::GetBuffer() to read the audio packet? I can't seem to find any reference in this whole section to audio packet structure if that is indeed the case.- ExylonFiber
- Post #2
- Forum: Programming and Scripting
-
E
Windows 11 Windows Audio Capture Client GetBuffer()
Can someone explain how to get data stored in a pointer and get an address that is stored in that pointer, then get the data from the address? I cannot figure out how to store the raw audio data into a file every time I run it the data accumulating in the file is low. The function in question is...- ExylonFiber
- Thread
- api audio audiobuffer c++ capture client code data processing debugging documentation getbuffer github iaudiocaptureclient programming rawdata reference storage streaming windows
- Replies: 1
- Forum: Programming and Scripting
-
E
Windows 10 Access Violation When Iterating Through SCSI Slots
I figured it out! By setting ONE BUFFER big enough for BOTH IN and OUT operations of the IOCTL_SCSI_MINIPORT as listed below: PUCHAR Buffer[sizeof(FIRMWARE_REQUEST_BLOCK) + sizeof(SRB_IO_CONTROL) + sizeof(STORAGE_FIRMWARE_INFO)]; And setting the DeviceIoControl Function to use the same buffer...- ExylonFiber
- Post #4
- Forum: Programming and Scripting
-
E
Windows 10 Access Violation When Iterating Through SCSI Slots
It would seem that the for-loop is not counting slots incrementally and just doing it in a random order. Particularly strange.- ExylonFiber
- Post #3
- Forum: Programming and Scripting
-
E
Windows 10 Access Violation When Iterating Through SCSI Slots
Here is the output: And the error:- ExylonFiber
- Post #2
- Forum: Programming and Scripting
-
E
Windows 10 Access Violation When Iterating Through SCSI Slots
I am getting an access violation when iterating through SCSI HDD's. I'm sure I'm doing something that needs a minor tweak to get it to work properly. Anyone have any ideas on why I'm getting an access violation every time? HANDLE handle = CreateFile("\\\\.\\PhysicalDrive1", GENERIC_READ |...- ExylonFiber
- Thread
- access violation c++ programming code snippet coding debugging deviceiocontrol error handling firmware hardware interaction hdd ioctl iteration memory management programming help scsi scsi slots srb control storage firmware windows
- Replies: 3
- Forum: Programming and Scripting
-
E
Windows 10 Why is there a +1 or -1 on a buffer or cast?
I cannot figure out why +1 or -1 is added to a cast or a buffer such as, firmwareRequest = (PFIRMWARE_REQUEST_BLOCK)(srbControl + 1); as listed on the MSDN page: https://docs.microsoft.com/en-us/windows-hardware/drivers/storage/upgrading-firmware-for-an-nvme-device I searched google and could...- ExylonFiber
- Thread
- buff buffersize data structure
- Replies: 1
- Forum: Programming and Scripting
-
E
Windows 10 Cannot Create Handle to Storage Device Using CreateFile Function
I found the solution to my problem: I found my program in my filesystem (C:\Users\<username>\source\repos\<projectname>\x64\Debug) and right clicked on the program and in compatibility settings set it to run as administrator. Started Visual Studio up and voila! I now have a valid handle to my...- ExylonFiber
- Post #5
- Forum: Programming and Scripting
-
E
Windows 10 Cannot Create Handle to Storage Device Using CreateFile Function
I found the solution to my problem: I found my program in my filesystem (C:\Users\<username>\source\repos\<projectname>\x64\Debug) and right clicked on the program and in compatibility settings set it to run as administrator. Started Visual Studio up and voila! I now have a valid handle to my...- ExylonFiber
- Post #4
- Forum: Programming and Scripting
-
E
Windows 10 Cannot Create Handle to Storage Device Using CreateFile Function
I'm afraid, as you said previously, the malware I'm infected with may be blocking requests to make a handle to the drive.- ExylonFiber
- Post #3
- Forum: Programming and Scripting
-
E
Windows 10 Cannot Create Handle to Storage Device Using CreateFile Function
I cannot open a handle to any of my storage devices. HANDLE h = CreateFile(L"\\\\.\\PhysicalDisk0", GENERIC_READ | GENERIC_WRITE, FILE_READ_ACCESS | FILE_WRITE_ACCESS, 0, OPEN_EXISTING, 0, 0); I also tried copying the full path from WinObj: \GLOBAL??\PhysicalDrive0 and...- ExylonFiber
- Thread
- access c++ code snippet createfile data access diagnostics disk error file access file management handle kernel-mode programming help storage devices visual studio windows api
- Replies: 5
- Forum: Programming and Scripting
-
E
Building a Tool to Access All Firmware on Device
Is it inaccessible to access device firmware using software? JTAG seems a little extreme- ExylonFiber
- Post #3
- Forum: Windows Hardware
-
E
Building a Tool to Access All Firmware on Device
So, it's not possible to extract firmware, like touchpad firmware?- ExylonFiber
- Post #2
- Forum: Windows Hardware
-
E
Building a Tool to Access All Firmware on Device
I am trying to write a tool that queries all devices on the platform that have firmware. However, I can't find any information on how to access the firmware. Take for example, the Elan Touchpad on my device has firmware. However I can't seem to find a way to access it to extract it and analyze...- ExylonFiber
- Thread
- access analysis development devices elan extraction firmware query tools touchpad
- Replies: 4
- Forum: Windows Hardware
-
E
Windows 10 Building a Tool to Access All Firmware on Device
How can I find all the firmware on my device and extract it from each device?- ExylonFiber
- Post #2
- Forum: Windows Help and Support