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:
Each patchable constant
is represented by a macro listed in \epoc32\rom\include\ecompatchconstants.hby.
The macros in the HBY file are all commented out.
To activate a patch
macro, uncomment the line and change the example value in the line to your
custom value.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.