diff -r 4816d766a08a -r f345bda72bc4 Symbian3/PDK/Source/GUID-79735B25-B4E9-5166-B87A-054080DF9122.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/PDK/Source/GUID-79735B25-B4E9-5166-B87A-054080DF9122.dita Tue Mar 30 11:56:28 2010 +0100 @@ -0,0 +1,49 @@ + + + + + +Patchable +Constants: KDiscoveryDisabledDriveList +# define ECOM_PATCHDATA_KDISCOVERYDISABLEDDRIVELIST 0x0 + + + + + +

Defined in:

+

.../os/ossrv/lowlevellibsandfws/pluginfw/framework/frame/ecompatchdataconstantv2.cpp

+
+ +

Purpose:

+

This constant lets device creators specify which drives they do +not want ECom to scan, perhaps because of a platform decision not to support +plugins (or any kind of executable binary) on certain drives e.g. MMC cards. +Note that the Read Only Internal Z: drive cannot be disabled.

KDiscoveryDisabledDriveList is +a 32-bit integer with each bit representing a drive to disable, e.g. 0x1 disables +drive A, 0x2 disables drive B etc. Only 25 drives can be +specified (Z: is not allowed) therefore the 7 most significant +bits are ignored. If you want to disable scanning on drives E: and K:, +the patched value is:

1 << EDriveE | 1 << EDriveK = 0x00000410. +

See f32file.h for the enum TDriveNumber.

+
+ + +
+

ECom uses a customized scheme to handle patchable constants. Device creators +should follow the scheme described below to set patch values:

+ +
\ No newline at end of file