Enumdisk1.exe: ????? ?????? ?? ???? ?? ??? ?? ?? ??? Enumdisk ?????

???? ?????? ???? ??????
???? ID: 264203
??? ?? ??????? ???? | ??? ?? ??????? ????

?? ????? ??

??????

Win32 ????????? ?? ????? ?? ???? ???SetupDi??? ?????? ??? ?????? ?????? ?? ????????? ???? ?? ??? APIs. ????????? ???? ?? Enumdisk1.exe ????? ?? ?? ????? ?? ?????? ???? ??? ?????? ?? ????? ?? ??? ????? ?????? ?? ???? ?? ??? ??? ????? obtains IOCTL ??????? ?? ?????? ?? ??? ??????? ???? ?? ??? ???? ?????? ???? ?? ??? ?????? ?? ??? ??? ????? ?? ??? ???, ?? communicates ???? ?? ??? ?????? ?? ?????? ?? ???? ???????? ?????? ??????? (SCSI) pass-through ???? ??????? ???? ?? ??? ???? ?? ??? ??????????:.

???? ???????

????? ????? Microsoft ??????? ?????? ?? ??????? ?? ??? ?????? ??::
?? ??? ?? ??????? ?????? ??? ?? ??????? ????
??????? ????
Enumdisk1.exe ?? ??????? ????
?????? ??????: Sept. 21, 2000

Microsoft ?????? ??????? ?? ???? ??????? ???? ?? ???? ??? ???? ????? ?? ???, ????? ???? ?????? ?? ????? ?? ???? ?? Microsoft ???????? ??? ?????::
119591?????? ?????? ?? Microsoft ?????? ??????? ???? ??????? ????
Microsoft ????? ?? ??? ?? ????? ?? ????? ?? ??? Microsoft ?? ?? ?????? ?? ?????? ???? ??????? ?????-??? ?????????? ?? ????? ???? ?? ????? ????? ?? ?? ??.. ????? ?? ?? ???????-??????????? ????? ?? ???????? ???? ??? ?? ?? ????? ??? ???? ?? ??????? ???????? ?? ????? ??? ??? ???? ??..Enumdisk1.exe ????? ??? ????? ?????? ???:
File           Description
--------------------------

Enumdisk.c     Implements the Win32 application to enumerate the disk devices.
Enumdisk.h     Header file for Enumdisk.c
Sources        DDK build instructions
Enumdisk.htm   The documentation for these samples (this file)
Enumdisk.exe   Windows 2000 executable program (Free build)
				

?????? ???

Enumdisk1.exe ????? ????? ???? ?? ????? ???? ??GUID_DEVCLASS_DISKDRIVEglobally ????? ?????????? ??? ????? ?????? ?? ?? ?? ?????? ??? ??????? ?? ???? ???? ?? ??? (GUID)? ????? ????????? ??? ??????? ???? ??? ?????? ID obtains.

?????? ?? ??? ????? ?? ?? Win32 ????????? ?? IOCTLs ?? ????? ?? ??? ?????? ??? ?????? ??????? ??? ?? ?????? ????? ?????? ????? ??????? ?? ?? ???? ???? ????? ????? ??????? ?????? ??????? ??????? ?? ?? ??????? exposes ??? ?? ????? ???? ??DiskClassGuid??????? GUID ?????? ??????? ?? ???? ?? Win32 ????????? ?? ????? ?? ?? ??????? ?? ??? ??????? ?? ???? ???SetupDi??? ?? APIs GUID ???????? ??? ??? ??? ??? ?? ????, ?????? ??? ??????? ????? ??????? ??????? ???? ?? ?? ???? ???? ?? ??? ????? ????? ??????? ?? ??????? ?? ??, ??????? ?? ????? ????? ??????, ???? ?? SCSI, ?????? ?????? Electronics (IDE), ????????? ?????? ?? (USB), ?? Electrical ?? Electronics ???????? (IEEE) 1394 ?? ?????? ?? ??? ?????? ?? ??? ??? ???? ???

?????? ???

IOCTL_STORAGE_QUERY_PROPERTY???? respectively ??????? ?? ?????? ??? ???, ?? ??????? ???? ?? ??? ????? ???? ?? ????? ?? IOCTL ???? ??STORAGE_PROPERTY_QUERY???? ?????? ?? ???? ?? ??? ??? ??? Before calling this IOCTL, theSTORAGE_PROPERTY_ID, ??STORAGE_QUERY_TYPEmembers must be set accordingly. TheSTORAGE_PROPERTY_IDcan be set to eitherStorageAdapterProperty??,StorageDeviceProperty, and it determines the property to be returned. This data structure and its member values are defined in \Ntddk\Src\Ntddstor.h.

Calling thisStorageAdapterPropertyIOCTL returns theSTORAGE_ADAPTER_DESCRIPTORdata structure, which contains such adapter properties as the Bus Type, Maximum Transfer Length, Alignment Mask, and so on.StorageDevicePropertyreturns theSTORAGE_DEVICE_DESCRIPTORdata structure, which contains the Device Type, Vendor ID, Product ID, and so on. This information is obtained from the respective port driver. ?? IOCTL ?? ???? ???????? ?? ???? ??? ???? ??????? ?? ??? Windows 2000 DDK ????????????? ??????

SCSI Pass-Through ???????

?? ??? ??? ??????? ?????? ????? ?? ?? ?????? ?? ??? SCSI pass-through ???? ????? ?? ??? ????? ???? ?? ???? ??? ????? ????? ??????command ??????? ???? ?? ??? ?????? ?? ???????????:. ?????? SPTI ?????, ?????? Windows 2000 DDK, SCSI pass-through ???????? ?? ???? ??????? ?? ??? ?????? ???

????? ?????

????? ????????? ????? ?????????,??? ??? ?? ????? ???????????? ?????? ?? ?????? ?????? ??????? ??????? ??????? ??? ???? ?? ??? ????????? Kits ????????? ???? ?? ??????? ??????

??????? ??? ?????? ????? ??? ???, ?????? ?? ??? ????????? ????:
CD c:\enumdisk
????? ????? ?????? ?? ?????????? - cz, ?? ?? ????? ????BLD??????? ?? ???? invokes ????? ??? ??? ??????? ?? ?????? Microsoft ??? routinesxxx. log, ?????xxx.wrn ?? ?????xxx.err ??? ?????????? ?? ????????? ????

?? ???xxx"fre" ?? ???? ?? ?????? ?? ???? ?? "??" ?? ??? ???? ??? ??? ????? succeeds, ???????? ????? Enumdisk.exe ????? ??????????-??????? ?????? ?? ???????? ???? % TargetPath % ????? ????? ??? ????????? ???? ?? ?? ??? ??? ???

Enumdisk1.exe ????? ?? ??? ??

?? ????? ???? ?? ???? ?? ???????? ???? ??? ????? ?? ?? ????-????????? ????? ??? ??? ??; ??? ????? ?????? ??? ???????? ?????

??????

Microsoft Windows 2000 ??????? ????????? ???

???

???? ID: 264203 - ????? ???????: 03 ?????? 2010 - ??????: 2.0
??????: 
kbdownload kbfile kbgraphxlinkcritical kbmt KB264203 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:264203

??????????? ???

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com