From: Eliyas Yakub [MSFT] on
Since no bus type has been defined for SD, you should use PNPBus (15). The
interface type is NdisInterfacePNPBus.

Take the NDIS-EDGE sample and replace the lower edge that talks to PCIDRV or
NDISPROT (depending on the compiler directive) with functions to talk to
SDBUS. The SDIOMARS sample in the WDK might help you in figuring out how to
interface with SDBUS. You shouldn't split the driver in to two parts like I
did for demonstration. Nothing that PCIDRV or NDISPROT sample will apply to
you. All the IOCTLs sent by the NDIS-EDGE to get information from the lower
edge are not required. You should be able to directly respond to it based on
the information from your SD device.

-Eliyas

From: sudheer on
Hi Eliyas

Thanks for your kind support.

While installing the hardware, its giving an error message as "The
specified resource name cannot be found in the image file". I am
gettting the same error message while instaling " virtual network
miniport driver interfacing with NDISPROT " sample. Can you please let
me know if any modifications required in INF file.

Thanks in Advance

Thanks & Regards
Sudheer



From: sudheer on
Further to my previous query, i am adding the following setupapi.log

[2007/05/28 11:43:05 2340.2011]: @ 11:43:41.781 #C148 Loading
coinstaller modules for "Microsoft Sample NDIS-WDM Virtual Miniport
Ethernet Adapter".
[2007/05/28 11:43:05 2340.2011]: @ 11:43:41.781 #V286 Verification
using alternate platform (Platform = 2, High Version = 5.1, Low
Version = 5.0).
[2007/05/28 11:43:05 2340.2011]: @ 11:43:41.796 #I180 Verifying file
"C:\WINDOWS\system32\WdfCoInstaller01007.dll" (key
"WdfCoInstaller01007.dll") against catalog "" failed. Error 1168:
Element not found.
[2007/05/28 11:43:05 2340.2011]: @ 11:43:41.796 #V330 Verifying file
"C:\WINDOWS\system32\WdfCoInstaller01007.dll" (key
"WdfCoInstaller01007.dll") as self-signed failed. Error 0x800b0100: No
signature was present in the subject.
[2007/05/28 11:43:05 2340.2011]: @ 11:43:41.796 #E360 An unsigned or
incorrectly signed file "C:\WINDOWS\system32\WdfCoInstaller01007.dll"
for driver "Microsoft Sample NDIS-WDM Virtual Miniport Ethernet
Adapter" will be installed (Policy=Ignore). Error 0x800b0100: No
signature was present in the subject.
[2007/05/28 11:43:05 2340.2011]: @ 11:43:41.796 #V146 Using exported
function "WdfCoInstaller" in module "C:\WINDOWS
\system32\WdfCoInstaller01007.dll".
[2007/05/28 11:43:05 2340.2011]: @ 11:43:41.796 #V166 Device install
function: DIF_INSTALLINTERFACES.
[2007/05/28 11:43:05 2340.2011]: @ 11:43:41.796 #T149 Executing
coinstaller 1 of 1.
[2007/05/28 11:43:05 2340.2011]: @ 11:43:41.796 #V150 Completed
coinstaller 1 of 1.
[2007/05/28 11:43:05 2340.2011]: @ 11:43:41.796 #T152 Executing class
installer.
[2007/05/28 11:43:05 2340.2011]: @ 11:43:41.812 #V153 Completed class
installer.
[2007/05/28 11:43:05 2340.2011]: @ 11:43:41.812 #V155 Executing
default installer.
[2007/05/28 11:43:05 2340.2011]: @ 11:43:41.812 #V039 Opened INF "c:
\sudheer\wdf\ndisedge\50\objchk_wxp_x86\i386\ndisedge.inf", PNF not
created (Languge = 0409).
[2007/05/28 11:43:05 2340.2011]: @ 11:43:41.812 #V011 Installing
section [Ndisedge.ndi.Interfaces] from "c:\sudheer\wdf\ndisedge
\50\objchk_wxp_x86\i386\ndisedge.inf".
[2007/05/28 11:43:05 2340.2011]: @ 11:43:41.812 #I054 Interfaces
installed.
[2007/05/28 11:43:05 2340.2011]: @ 11:43:41.812 #V156 Completed
default installer.
[2007/05/28 11:43:05 2340.2011]: @ 11:43:41.812 #V166 Device install
function: DIF_INSTALLDEVICE.
[2007/05/28 11:43:05 2340.2011]: @ 11:43:41.812 #T149 Executing
coinstaller 1 of 1.
[2007/05/28 11:43:05 2340.2011]: @ 11:43:41.953 #V039 Opened INF "c:
\sudheer\wdf\ndisedge\50\objchk_wxp_x86\i386\ndisedge.inf", PNF not
created (Languge = 0409).
[2007/05/28 11:43:05 2340.2011]: @ 11:43:42.140 #E151 Coinstaller 1 of
1 failed. Error 1814: The specified resource name cannot be found in
the image file.


Thanks & Regards
Sudheer

From: sudheer on
Further to my previous queries, while looking in to google to resolve
the problem, i found that there was an issue with WDF Coinstaller and
with the given instructions, the following error messages appeared in
setupact.log

WdfCoInstaller: [05/29/2007 14:58.49.193] DIF_INSTALLDEVICE: Pre-
Processing

WdfCoInstaller: [05/29/2007 14:58.49.428] ReadComponents: WdfSection
for Driver Service NdisEdge using KMDF lib version Major 0x1, minor
0x7

WdfCoInstaller: [05/29/2007 14:58.49.553] ReadComponents: WdfSection
for Driver Service GenSDIO using KMDF lib version Major 0x1, minor
0x7

WdfCoInstaller: [05/29/2007 14:58.49.725] Extract resources: could
not find resources WDFCAB_RESOURCE, error error(1814) The specified
resource name cannot be found in the image file.

Can anyone please let me know how to get this resource WDFCAB_RESOURCE
to fix this issue and carry forward with my development.


Thanks & Regards
Sudheer


From: Kumar Rajeev [MSFT] on
You are trying to install KMDF driver built from LHS Beta3 WDK on XP. This
will not work. Following is an excerpt from the release notes of LHS Beta3
WDK:

<WDK release Notes>

WDF
The version number of Windows Driver Foundation (user-mode and kernel-mode)
for Windows Server "Longhorn" or Windows Vista SP1 has been changed to 1.7
to account for various bug fixes and minor backwards compatible changes. The
WDK samples for UMDF and KMDF now require the use of the 1.7 coinstallers
(WudfUpdate_01007.dll and WdfCoinstaller01007.dll respectively).

Since the WDK does not currently contain framework redistributable for
previous operating systems (Windows 2000, Windows XP, Windows Server 2003 or
Windows Vista), sample drivers built with this kit will only be able to run
on the prerelease versions of Windows Server "Longhorn" or Windows Vista
SP1.

</WDK Release Notes>

At this time you should use Vista WDK instead (to build driver and use
wdfcoinstaller01005.dll redist). Note that RTM release of LHS WDK will
contain redist for downlevel platforms.


-Kumar
This posting is provided "AS IS" with no warranties, and confers no rights.

"sudheer" <sudheer.papothi(a)gmail.com> wrote in message
news:1180439109.454257.103590(a)k79g2000hse.googlegroups.com...
> Further to my previous queries, while looking in to google to resolve
> the problem, i found that there was an issue with WDF Coinstaller and
> with the given instructions, the following error messages appeared in
> setupact.log
>
> WdfCoInstaller: [05/29/2007 14:58.49.193] DIF_INSTALLDEVICE: Pre-
> Processing
>
> WdfCoInstaller: [05/29/2007 14:58.49.428] ReadComponents: WdfSection
> for Driver Service NdisEdge using KMDF lib version Major 0x1, minor
> 0x7
>
> WdfCoInstaller: [05/29/2007 14:58.49.553] ReadComponents: WdfSection
> for Driver Service GenSDIO using KMDF lib version Major 0x1, minor
> 0x7
>
> WdfCoInstaller: [05/29/2007 14:58.49.725] Extract resources: could
> not find resources WDFCAB_RESOURCE, error error(1814) The specified
> resource name cannot be found in the image file.
>
> Can anyone please let me know how to get this resource WDFCAB_RESOURCE
> to fix this issue and carry forward with my development.
>
>
> Thanks & Regards
> Sudheer
>
>