On 12.07.2016 05:07, Austin English wrote:
+/***********************************************************************
IoAttachDevice (NTOSKRNL.EXE.@)
- */
+NTSTATUS IoAttachDevice(DEVICE_OBJECT *source, UNICODE_STRING *target, DEVICE_OBJECT *attached)
You forgot to specify the calling convention (WINAPI) - this is probably also the reason why your stub is not sufficient yet. Otherwise the patch looks fine to me.
+{
- FIXME("(%p, %s, %p): stub\n", source, debugstr_us(target), attached);
- return STATUS_NOT_IMPLEMENTED;
+}