handle

About this tag
The handle tag on WindowsForum.com covers discussions about Windows file and device handles, including issues with opening handles to storage devices using the CreateFile function, enumerating storage devices, and handle leaks in COM clients or the Perflib.lib component. Topics include handle management in C/C++ code, network file operations where renaming opens new handles, and troubleshooting handle leaks on Windows 7, Server 2008 R2, and other versions. The content is technical, focusing on Windows API usage, kernel-mode vs. user-mode programming, and debugging handle-related problems in enterprise and development contexts.
  1. 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...
  2. E

    Windows 10 How to enumerate Storage Devices

    I am trying to build a list of storage devices for this particular section of code found on MSDN page: https://docs.microsoft.com/en-us/windows-hardware/drivers/storage/upgrading-firmware-for-an-nvme-device typedef struct _DEVICE_LIST { HANDLE Handle...
  3. V

    Windows 10 stdlib rename api opening new handle when trying to write over network to mounted location

    I have a folder present in windows , which i am mounting from mac side using smb. Into this mounted location i'm trying to write a new file over the network. After writing the data into the file , the handle is closed. Now i need to rename the file over network from mac side . So for that...
  4. News

    Mstscax.dll file leaks handles on a Remote Desktop Protocol 8.1 client in Windows 7 or...

    Link Removed
  5. News

    Handle leak occurs on a COM client that is running on a Windows 7 or Windows Server 2008 R2 computer

    Link Removed
  6. News

    Memory leak or handle leak occurs in the Perflib.lib component on a computer that is running Windows

    Link Removed
  7. News

    Memory leak or handle leak occurs in the Perflib.lib component on a computer that is running Windows

    Link Removed
Back
Top