);
extern winvblock__lib_func WV_SP_BUS_T WvBusFromDev(struct device__type *);
extern winvblock__lib_func void WvBusProcessWorkItems(WV_SP_BUS_T);
-extern winvblock__lib_func NTSTATUS bus__start_thread(WV_SP_BUS_T);
+extern winvblock__lib_func NTSTATUS WvBusStartThread(WV_SP_BUS_T);
extern winvblock__lib_func winvblock__bool STDCALL WvBusInitNode(
OUT WV_SP_BUS_NODE,
IN PDEVICE_OBJECT
* Note that if you implement your own bus type using this library,
* you can override the thread routine with your own. If you do so,
* your thread routine should call WvBusProcessWorkItems() within
- * its loop. To start a bus thread, use bus__start_thread()
+ * its loop. To start a bus thread, use WvBusStartThread()
* If you implement your own thread routine, you are also responsible
* for freeing the bus.
*/
* for implementing your own bus thread routine. You set bus::thread to
* specify your own thread routine, then call this function to start it.
*/
-winvblock__lib_func NTSTATUS bus__start_thread(
+winvblock__lib_func NTSTATUS WvBusStartThread(
WV_SP_BUS_T bus
) {
OBJECT_ATTRIBUTES obj_attrs;
DBG("IoAttachDeviceToDeviceStack() failed!\n");
goto err_attach;
}
- status = bus__start_thread(bus);
+ status = WvBusStartThread(bus);
if (!NT_SUCCESS(status)) {
DBG("Couldn't start bus thread!\n");
goto err_thread;