• <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 小默 閱讀(220) 評論(0)  編輯 收藏 引用 所屬分類: Language

            導航

            統計

            留言簿(13)

            隨筆分類(287)

            隨筆檔案(289)

            漏洞

            搜索

            積分與排名

            最新評論

            閱讀排行榜

            青青草原综合久久大伊人精品| 中文字幕无码av激情不卡久久| 久久有码中文字幕| 国产精品欧美久久久久天天影视| 久久久久久人妻无码| 漂亮人妻被黑人久久精品| 久久久久亚洲精品无码蜜桃| 亚洲国产成人精品91久久久| 欧美国产成人久久精品| 久久精品国产2020| 天天久久狠狠色综合| 久久91精品久久91综合| 久久国产影院| 麻豆成人久久精品二区三区免费| 日日躁夜夜躁狠狠久久AV| 久久久久亚洲Av无码专| 久久青草国产手机看片福利盒子| 99久久精品免费看国产免费| 久久人人爽人人爽人人爽| 久久久久久精品免费免费自慰| 亚洲精品午夜国产VA久久成人| 精品99久久aaa一级毛片| 久久亚洲熟女cc98cm| 人妻久久久一区二区三区| 成人综合伊人五月婷久久| 亚洲国产成人精品91久久久 | 久久福利青草精品资源站免费 | 亚洲精品乱码久久久久久蜜桃图片| 欧美喷潮久久久XXXXx| 欧美综合天天夜夜久久| 亚洲国产成人久久精品99| 久久99精品久久久久久hb无码| 99久久99久久精品国产片| 中文字幕久久久久人妻| 亚洲国产成人乱码精品女人久久久不卡 | 亚洲精品国产美女久久久| 中文字幕一区二区三区久久网站| 中文字幕无码久久精品青草| 国产V综合V亚洲欧美久久| 一本久久a久久精品综合香蕉 | 久久精品国产亚洲AV影院|