• <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.
            給定的數(shù)據(jù)塊或事件塊的注冊信息,被使用WMI庫支持例程的驅(qū)動揭示

            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

            導(dǎo)航

            統(tǒng)計(jì)

            留言簿(13)

            隨筆分類(287)

            隨筆檔案(289)

            漏洞

            搜索

            積分與排名

            最新評論

            閱讀排行榜

            久久精品国产亚洲AV不卡| 久久99精品久久久大学生| 韩国三级大全久久网站| 国产精品对白刺激久久久| 久久不射电影网| 久久中文字幕无码专区| 亚洲成色www久久网站夜月| 亚洲国产另类久久久精品小说 | 久久九九久精品国产| 久久精品国产色蜜蜜麻豆| 日本久久久精品中文字幕| 伊人久久大香线蕉综合热线| 99久久精品国产免看国产一区| 久久久久国色AV免费看图片 | 狠狠狠色丁香婷婷综合久久俺| 国产午夜精品久久久久九九电影 | 青青草国产精品久久| 亚洲欧美日韩中文久久| 国产成人99久久亚洲综合精品| 蜜桃麻豆WWW久久囤产精品| 丁香久久婷婷国产午夜视频| 国产激情久久久久久熟女老人 | 久久亚洲国产午夜精品理论片| 精品久久亚洲中文无码| 久久久久国产亚洲AV麻豆| 一本久久a久久精品综合夜夜| 色婷婷综合久久久久中文一区二区| 日本精品久久久久久久久免费| 成人资源影音先锋久久资源网| 午夜天堂av天堂久久久| 久久久久久久久66精品片| 久久综合九色综合久99| 久久精品综合一区二区三区| 亚洲国产成人久久精品动漫| 久久电影网一区| Xx性欧美肥妇精品久久久久久| 麻豆精品久久精品色综合| 久久精品国产精品国产精品污| 成人国内精品久久久久影院| 久久国产精品-国产精品| 久久精品一区二区三区不卡|