Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 137 of file unregister.cpp.
Referenced by CPortDMus::QueryInterface(), CPortWaveRT::QueryInterface(), CPortTopology::QueryInterface(), CPortWavePci::QueryInterface(), and CPortWaveCyclic::QueryInterface().
{ NTSTATUS Status; CUnregisterSubdevice * This = new(NonPagedPool, TAG_PORTCLASS) CUnregisterSubdevice(NULL); if (!This) return STATUS_INSUFFICIENT_RESOURCES; Status = This->QueryInterface(IID_IUnregisterSubdevice, (PVOID*)OutDevice); if (!NT_SUCCESS(Status)) { delete This; return Status; } *OutDevice = (PUNREGISTERSUBDEVICE)This; return Status; }