Re: Custom OIDs for WMI in NDIS miniport driver



On Jul 9, 11:32 am, "Maxim S. Shatskih" <ma...@xxxxxxxxxxxxxxxx>
wrote:
    I think there was some OID which needs to return the table of WMI ID -> OID
mapping, after which WMI queries are translated to NdisRequest using this
table.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
ma...@xxxxxxxxxxxxxxxxxxxx://www.storagecraft.com

<Anvesh1...@xxxxxxxxx> wrote in message

news:877e3373-e572-42ca-85cb-01c975f4c44b@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Jul 7, 3:57 pm, "Pavel A." <pave...@xxxxxxxxxxxxxxx> wrote:





Have you actually built and installed this driver?

--PA

<Anvesh1...@xxxxxxxxx> wrote in message

news:cc33bae3-7737-4689-8fdc-3007cabb3809@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Hi Experts,
I am trying to add custom OIDs for WMI testing in my NDIS miniport
driver.
I have created MOF file describing the classes and defined and handled
the all the custom OIDs in driver.
I couldn't see my WMI classes in Wbemtest application after loading
the driver. When i try to enumerate the classes I am getting Invalid
Class error. I took the sample from WDK version 6000. The sample is
NDIS/e100bex.
All the WMI standard OIDs I can enumerate except my custom OIDs and
respective classes.

I have seen many posts WRT NDIS Miniport custom OIDs, I haven't found
useful information for on only custom NDIS Miniport OIDs. I hope
somebody will definately help me to get rid of this problem.

Thanks in advance, Your valuable advices/suggestions are always
appreciable.

Anvesh- Hide quoted text -

- Show quoted text -

Yes, I have Built and successfully installed the driver.
I din't get you? whats that mean?
I have a NDIS miniport driver working fine without WMI support.
I just started adding WMI stuff with help of E100BEX sample in DDK.
Am I doing something wrong?  How can i add WMI support in my Ndis
miniport driver?
Can you suggest me something? How to deal with custom GUIDs?

Thanks in advance

Anvesh- Hide quoted text -

- Show quoted text -

Hi,
Yes there is an OID called OID_GEN_SUPPORTED_GUIDS which maps all
custom GUIDs with custom IODs.
I traced into the driver, it has created and all GUIDs are mapped with
respective OIDs.
Still I could not see these classes available in WMI CIM studio OR
'wbemtest' application, I get 'Invalid class' error.
thanks in advance.

anvesh

.



Relevant Pages

  • Re: Accessing Ndis miniport from user mode application
    ... sticking to WMI, you confine yourself to strictly defined model - there are ... driver can indicate. ... to you - as I told you already, you should go for IOCTL model. ... Accessing custom OIDS through WMI. ...
    (microsoft.public.development.device.drivers)
  • Re: WiFi how to send OIDs from user mode (windows vista)
    ... Microsoft now recommends using WMI to set the data, ... all the OIDs are mapped through WMI and also, it seems to work for querries ... It has been suggested that a driver is the only approach to get into the ... On XP I could send OIDs to the adapter using DeviceIoControl with ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Custom OIDs for WMI in NDIS miniport driver
    ... I think there was some OID which needs to return the table of WMI ID -> OID ... I am trying to add custom OIDs for WMI testing in my NDIS miniport ... the all the custom OIDs in driver. ...
    (microsoft.public.development.device.drivers)
  • Re: intermediate driver or others!!!
    ... then you say that "> If you are ever in need of a IM driver," ... so if I use the first set of function calls (SetupDI and OIDs via WMI or ...
    (microsoft.public.win32.programmer.kernel)
  • Re: intermediate driver or others!!!
    ... then you say that "> If you are ever in need of a IM driver," ... so if I use the first set of function calls (SetupDI and OIDs via WMI or ...
    (microsoft.public.development.device.drivers)

Loading