_GetRegistryPath
DWORD _GetRegistryPath(DDB ddb, LPSTR lpszPath, DWORD cbPath);
Gets the registry path for the device driver associated with the given virtual device descriptor block (DDB).
- Returns the number of bytes copied to the buffer or the buffer size, in bytes, needed to receive the complete path. This service returns 0 if no registry path exists.
- ddb
- Device descriptor block for the virtual device for which to retrieve the registry path.
- lpszPath
- Address of the buffer that receives the null-terminated registry path. This buffer receives the path only if buffer is large enough to hold the complete path.
- cbPath
- Size, in bytes, of the lpszPath buffer.