• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            小默

            [zz]MFC WMIGUIDREGINFO

            WMIGUIDREGINFO

            The WMIGUIDREGINFO structure contains registration information for a given data block or event block exposed by a driver that uses the WMI library support routines.
            給定的數據塊或事件塊的注冊信息,被使用WMI庫支持例程的驅動揭示

            typedef struct {
              LPCGUID  Guid
              ULONG  Guid
              ULONG  Guid
              ULONG  InstanceCount
              ULONG  InstanceCount
              ULONG  Flags
            } WMIGUIDREGINFO, *PWMIGUIDREGINFO;

            Members

            Guid
            Pointer to the GUID that identifies the block. The memory that contains the GUID can be paged unless it is also used to call WmiFireEvent.
            InstanceCount
            Specifies the number of instances defined for the block.
            Flags
            Indicates characteristics of the block. WMI ORs Flags with the flags set by the driver in the RegFlags parameter of its DpWmiQueryReginfo routine, which apply to all of the data blocks and event blocks registered by the driver. Flags therefore supplements the driver's default settings for a given block.

            A driver might set the following flag in Flags:

            WMIREG_FLAG_INSTANCE_PDO
            Requests WMI to generate static instance names from the device instance ID for the PDO. If this flag is set, the Pdo parameter of the driver's DpWmiQueryReginfo routine points to the PDO passed to the driver's AddDevice routine. WMI generates instance names from the device instance path of the PDO. Using the device instance path as a base for static instance names is efficient because such names are guaranteed to be unique. WMI automatically supplies a "friendly" name for the instance as an item in a data block that can be queried by data consumers.

            A driver might also set one or more of the following flags:

            WMIREG_FLAG_EVENT_ONLY_GUID
            The block can be enabled or disabled as an event only, and cannot be queried or set. If this flag is clear, the block can also be queried or set.
            WMIREG_FLAG_EXPENSIVE
            Requests WMI to send an IRP_MN_ENABLE_COLLECTION request the first time a data consumer opens the data block and an IRP_MN_DISABLE_COLLECTION request when the last data consumer closes the data block. This is recommended if collecting such data affects performance, because a driver need not collect the data until a data consumer explicitly requests it by opening the block.
            WMIREG_FLAG_REMOVE_GUID
            Requests WMI to remove support for this block. This flag is valid only in response to a request to update registration information (IRP_MN_REGINFO or IRP_MN_REGINFO_EX with Parameters.WMI.DataPath set to WMIUPDATE).

             

            Comments

            A driver that handles WMI IRPs by calling WMI library support routines builds an array of WMIGUIDREGINFO structures, one for each data block and event block to be registered. The driver sets the GuidList member of its WMILIB_CONTEXT structure to point to the first WMIGUIDREGINFO in the series.

            Memory for this structure can be allocated from paged pool.

            Requirements

            Headers: Defined in Wmilib.h. Include Wmilib.h.

            posted on 2009-12-29 15:27 小默 閱讀(224) 評論(0)  編輯 收藏 引用 所屬分類: Language

            導航

            統計

            留言簿(13)

            隨筆分類(287)

            隨筆檔案(289)

            漏洞

            搜索

            積分與排名

            最新評論

            閱讀排行榜

            国产精品成人久久久| 精品熟女少妇av免费久久| 国产精品美女久久久免费| 国产高清美女一级a毛片久久w| 久久综合伊人77777| 亚洲精品无码久久久影院相关影片 | 要久久爱在线免费观看| 久久99国产乱子伦精品免费| 香蕉久久一区二区不卡无毒影院| 久久精品国产黑森林| 久久精品国产精品亚洲精品| 国内精品久久久久伊人av| 亚洲精品高清一二区久久| 97久久综合精品久久久综合| 亚洲第一永久AV网站久久精品男人的天堂AV | 久久天天躁狠狠躁夜夜不卡 | 无码伊人66久久大杳蕉网站谷歌| 9191精品国产免费久久| 免费精品久久天干天干| 97精品国产97久久久久久免费| 久久人人爽爽爽人久久久| 精品一二三区久久aaa片| 9999国产精品欧美久久久久久| 国产美女久久久| 精品国产VA久久久久久久冰| 97精品依人久久久大香线蕉97| 久久久久久久尹人综合网亚洲| 久久亚洲私人国产精品vA| 中文字幕日本人妻久久久免费| 国产高潮久久免费观看| 潮喷大喷水系列无码久久精品| 久久人人爽人人人人爽AV| 国产亚州精品女人久久久久久 | 亚洲欧洲中文日韩久久AV乱码| 国产精品日韩深夜福利久久| 久久久久免费精品国产| 久久久久夜夜夜精品国产| 天天爽天天爽天天片a久久网| 四虎国产精品免费久久久| 66精品综合久久久久久久| 99久久免费只有精品国产|