_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).

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.