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
--PA
<Anves...@gmail.com> wrote in message
news:cc33bae3-7737-4689...@8g2000hse.googlegroups.com...
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
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
ma...@storagecraft.com
http://www.storagecraft.com
<Anves...@gmail.com> wrote in message
news:877e3373-e572-42ca...@34g2000hsh.googlegroups.com...
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
--PA
"Maxim S. Shatskih" <ma...@storagecraft.com> wrote in message
news:#J66rIf4...@TK2MSFTNGP02.phx.gbl...
Hi Pavel,
Could you explain me more in detail, when exactly WMI registration
will be done for Ndis Miniport driver and How it will be done.
I am seeing some of the calls are successful such as
OID_GEN_SUPPORTED_LIST and OID_GEN_SUPPORTED_GUID are successful and
returned the list of supported OIDs as well as supported GUIDs.
Anvesh
> Hi Pavel,
> Could you explain me more in detail, when exactly WMI registration
> will be done for Ndis Miniport driver and How it will be done.
> I am seeing some of the calls are successful such as
> OID_GEN_SUPPORTED_LIST and OID_GEN_SUPPORTED_GUID are successful and
> returned the list of supported OIDs as well as supported GUIDs.
>
> Anvesh
Hope somebody will correct me, I haven't touched the WMI stuff for a
while...
- First, you write the MOF describing your custom objects.
It contains the GUIDs for these objects. See file e100.mof in the example.
- The mof gets compiled to binary (.bmf) by makefile.inc.
The resulting bmf is then linked into the .sys file: see e100.rc.
- When the driver starts, NDIS detects presense of your WMI stuff
as the driver responds to OID_GEN_SUPPORTED_GUIDS.
It extracts the BMF from your sys file, and patches it into the WMI
plumbing.
IMHO this could be a bit easier, though.
Regards,
--PA