public DeviceNode GetParent() { UInt32 node; CR ret = SetupApi.CM_Get_Parent(out node, DevInst, 0); if (ret == CR.NO_SUCH_DEVNODE) { return(null); } CMException.Throw(ret, "CM_Get_Parent"); return(new DeviceNode(node)); }
public DeviceNode GetParent() { UInt32 node; CR ret = SetupApi.CM_Get_Parent(out node, DevInst, 0); if (ret == CR.NO_SUCH_DEVNODE) { return(null); } CMException.Throw(ret, "CM_Get_Parent"); return(new DeviceNode(node)); }