RMNode

      This field is set to a structure describing the Resource Manager node and its associated resources.
      RM_NODE struct
      
          {
      
            ULONG             VersionInfo;
            ULONG             NodeType;
            RMHANDLE          DriverHandle;
      
            union
            {
              PADAPTERSTRUCT  pAdapterNode;
              PDEVICESTRUCT   pDeviceNode;
              PLDEVSTRUCT     pLDevNode;
              PSYSNAMESTRUCT  pSysNameNode;
              PDRIVERSTRUCT   pDriver;
            };
            PRESOURCELIST     pResourceList;
          }
      
      

      VersionInfo (ULONG)

        Version of the Resource Management driver.
      NodeType (ULONG)
        The type of node to which the handle provided refers.
      pAdapterNode (PADAPTERSTRUCT)
        This field contains a pointer to a structure that describes the Resource Manager node. This structure is a copy of the structure that was provided when the node was created. The pointer type selected from the union should be based on the NodeType value returned.
        ┌────────────────────┬────────────────────┬────────────────────┐
        
      │NodeType │Structure Pointer │Service │├────────────────────┼────────────────────┼────────────────────┤ │RMTYPE_ADAPTER │pAdapterNode │RMCreateAdapter │ ├────────────────────┼────────────────────┼────────────────────┤ │RMTYPE_DEVICE │pDeviceNode │RMCreateDevice │ ├────────────────────┼────────────────────┼────────────────────┤ │RMTYPE_LDEV │pLDevNode │RMCreateLDev │ ├────────────────────┼────────────────────┼────────────────────┤ │RMTYPE_SYSNAME │pSysNameNode │RMCreateSysName │ ├────────────────────┼────────────────────┼────────────────────┤ │RMTYPE_DRIVER │pDriver │RMCreateDriver │ └────────────────────┴────────────────────┴────────────────────┘

      pResourceList (PRESOURCELIST)

        Pointer to a structure containing a count and list of resource assigned to this node.
      PRESOURCELIST struct { ULONG Count; RESOURCESTRUCT Resource[1]; }

      Count (ULONG)

        Count of resource structures returned.
      Resource[] (RESOURCESTRUCT)
        An array of resource structures assigned to this node. See RESOURCELIST for a description of the RESOURCESTRUCT data type.


      [Back] [Next]