Specifications
Windows Embedded Automotive 7 Deep Dive: Phone Core and Media Core 89
HKEY_LOCAL_MACHINE\Drivers\MtpHostUsbCdd
Name
Type
Description
UnsupportedDeviceList
Binary
The list of devices with unknown interfaces that are not MTP. Will be updated
through usage. USB_DEVICE_LIST format. The default value is 0.
FuzzFlags
DWORD
Used by the test MtpHostUsbCddFuzzer.DLL only.
Bitfield of ORed values:
0x0001 Fuzz header length
0x0002 Fuzz header type
0x0004 Fuzz header code
0x0008 Fuzz header transaction id
0x0100 Fuzz data
Note that fuzzing the header will often cause the device to appear
unresponsive because the MTP service will be waiting for data that the device
will never send. The device should be unplugged and plugged back in.
TenthsOfPercent
DWORD
What percentage of bits to fuzz. Only valid when FuzzFlags is used. The default
value is 0.
Table 29: MTP service registry key
HKEY_LOCAL_MACHINE\Software\Microsoft\Automotive\MTP
Name
Type
Definition
BufferSize
DWORD
Buffer used for internal transactions. Needs to be large enough to store
GetObjectPropList PUID query for 32,000 songs and 3,000 other objects.
Each result is 29 bytes so 29 x 35,000 ~ 1 MB. The default value is 0x100000.
FindMemoryThreshold
DWORD
How much memory is allowed for the various types of MTP finds. If the
current finds exceed this amount, no further finds are possible until those
find handles are closed. The default value is 0x200000.
MaxOpenFinds
DWORD
How many find handles can be open at once. The default value is 256.
MaxOpenSessions
DWORD
How many MTP service sessions can be open at once. The default value is 16.
MaxOpenDevices
DWORD
How many MTP devices can be open at once. The default value is 16.
MaxRegisteredApps
DWORD
The number of message queues that can be registered for notifications. The
default value is 16.
PnpThreadDelay
DWORD
How many milliseconds to delay the plug and play thread before
communicating with MTP devices. The default value is 0x1388.
ConnectionThreadCount
DWORD
How many connection threads are used by the service to handle device
connect/disconnects. The default value is 2.
EventFlags
DWORD
0 - Ignore MTP Events from devices.
1 – Forward MTP Events from devices to applications.
HKEY_LOCAL_MACHINE\BuiltIn\MTPSVC










