I try to use the function SDGetDeviceHandle (http://msdn2.microsoft.com/en-us/library/ms920364.asp). this is the description :
SD_DEVICE_HANDLE SDGetDeviceHandle(
DWORD InitContext,
PWCHAR* ppRegPath
);
Parameters : InitContext [in] Device context passed into the XXX_Init entry point of a client device driver.
But I don't understand what is the InitContext. I want to retrieve an handle to the sd bus device.