UID2 and UID3 statements

<uid2-statement>
uid2-statement ::= 
UID2 <uid-value> <uid3-statement>
uid3-statement ::= 
UID3 <uid-value>

Defines the second (UID2) and third (UID3) UIDs for the resource file. The uid-value is a UID number (or macro representing such a number).

At the start of a resource file, a UID triplet is stored. The first UID of a resource file is always 0x101f4a6b. By default, the second UID is zero and the third UID is the resource file’s “offset”, i.e. the twenty-bit integer generated from the resource file’s name. The defaults can be overriden using these statements (or from a START RESOURCE statement in an mmp file).

Some clients of resource files read the UID values (see RResourceFile::UidType()) to test that a resource file is of a suitable type. In many other cases, the reader of the resource file does not use the UID values, so there is no need to use the UID2/UID3 statements.

UID2 KUidAppRegistrationResourceFile
UID3 0x10001234