#include <apmstd.h>
typedef TInt32 | TDataTypePriority |
Defines the priority associated with a data type.
The priority is used by a device to resolve the current preferred handler of a data type, in the absence of any user preferences.
See also: TDataTypeWithPriority
const TInt32 | KDataTypePrioritySystem |
This is a special priority that overrides any user settings. Applications must have EWriteDeviceData to use this priority. If they have not then they will be downgraded to KDataTypePriorityNormal.
See also: TDataTypeWithPriority
const TInt32 | KDataTypePriorityTrustedHigh |
Trusted applications may use this priority value to ensure their MIME type associations cannot be overridden by self signed (untrusted) applications.
See also: TDataTypeWithPriority
const TInt32 | KDataTypeUnTrustedPriorityThreshold |
This is Threshold priority for Un-Trusted apps i.e., for the applications which reside in \private\10003a3f\import\apps and have a SID which is in the unprotected range. This is to avoid Un-Trusted app's claiming for priority higher than the threshold, if they claim for priority higher than the Threshold then it would be reduced to KDataTypeUnTrustedPriorityThreshold.
const TInt32 | KDataTypePriorityHigh |
A priority value associated with a data (MIME) type. Associating an application with a data type at this priority means that this application, and no other, should ever handle the data type. Use sparingly.
See also: TDataTypeWithPriority
const TInt32 | KDataTypePriorityNormal |
A priority value associated with a data (MIME) type. Associating an application with a data type at this priority means that the data type is the primary type for that application. For example, "text/plain" files for a text editor.
See also: TDataTypeWithPriority
const TInt32 | KDataTypePriorityLow |
A priority value associated with a data (MIME) type. Associating an application with a data type at this priority means that the data type is a secondary type for that application. For example, "text/plain" files for a web browser.
See also: TDataTypeWithPriority
const TInt32 | KDataTypePriorityLastResort |
A priority value associated with a data (MIME) type. Associating an application with a data type at this priority means that the data type is a last resort for that application. Use sparingly.
See also: TDataTypeWithPriority