-
大小: 0.06M文件類型: .zip金幣: 1下載: 0 次發(fā)布日期: 2021-01-29
- 語言: C/C++
- 標(biāo)簽:
資源簡(jiǎn)介
如何實(shí)現(xiàn)MTP協(xié)議的讀取
代碼片段和文件信息
//?THIS?CODE?AND?INFORMATION?IS?PROVIDED?“AS?IS“?WITHOUT?WARRANTY?OF
//?ANY?KIND?EITHER?EXPRESSED?OR?IMPLIED?INCLUDING?BUT?NOT?LIMITED?TO
//?THE?IMPLIED?WARRANTIES?OF?MERCHANTABILITY?AND/OR?FITNESS?FOR?A
//?PARTICULAR?PURPOSE.
//
//?Copyright?(c)?Microsoft?Corporation.?All?rights?reserved.
#include?“stdafx.h“
//?This?number?controls?how?many?object?identifiers?are?requested?during?each?call
//?to?IEnumPortableDeviceobjectIDs::Next()
//
#define?NUM_objectS_TO_REQUEST??10
//?Recursively?called?function?which?enumerates?using?the?specified
//?object?identifier?as?the?parent.
void?RecursiveEnumerate(
????_In_?PCWSTR??????????????????objectID
????_In_?IPortableDeviceContent*?content)
{
????ComPtrjectIDs>?enumobjectIDs;
????
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件???????13621??2013-06-20?08:22??desc
?????文件????????1670??2013-06-20?08:22??desc
?????文件???????????0??2013-06-20?08:22??desc
?????文件???????????0??2013-06-20?08:22??desc
?????文件???????10483??2013-06-20?08:22??desc
?????文件????????1727??2013-06-20?08:22??desc
?????文件???????71835??2013-06-20?08:22??desc
?????文件????????3369??2013-06-20?08:22??desc
?????文件????????4688??2013-06-20?08:22??license.rtf
?????文件????????1268??2013-06-20?08:22??C++\CommonFunctions.h
?????文件???????12498??2013-06-20?08:22??C++\ContentEnumeration.cpp
?????文件???????47717??2013-06-20?08:22??C++\ContentProperties.cpp
?????文件???????69925??2013-06-20?08:22??C++\ContentTransfer.cpp
?????文件???????36813??2013-06-20?08:22??C++\DeviceCapabilities.cpp
?????文件???????17887??2013-06-20?08:22??C++\DeviceEnumeration.cpp
?????文件????????4426??2013-06-20?08:22??C++\DeviceEvents.cpp
?????文件????????1930??2013-06-20?08:22??C++\ReadMe.txt
?????文件????????1957??2013-06-20?08:22??C++\stdafx.h
?????文件???????11671??2013-06-20?08:22??C++\WpdApiSample.cpp
?????文件????????2233??2013-06-20?08:22??C++\WpdApiSample.sln
?????文件???????10399??2013-06-20?08:22??C++\WpdApiSample.vcxproj
- 上一篇:MFC 進(jìn)程間通訊
- 下一篇:Qt的串口上位機(jī)
評(píng)論
共有 條評(píng)論