For Symbian OS V9.1 and onwards, the name of the standard registration resource file must be the same as that of the executable with .rss extension. All the registration resource structure types are defined in RegistryInfo.rh. This file has to be included in the registration resource file.
The following example depicts a resource registration file for an implementation collection with two implementations.
// 10009DB1.RSS // #include "RegistryInfo.rh" RESOURCE REGISTRY_INFO theInfo { dll_uid = 0x10009DB1; interfaces = { INTERFACE_INFO { interface_uid = 0x10009DC0; implementations = { IMPLEMENTATION_INFO { implementation_uid = 0x10009DC3; version_no = 1; display_name = "Implementation name 1"; default_data = "text/wml"; opaque_data = "some extra data"; }, IMPLEMENTATION_INFO { implementation_uid = 0x10009DC4; version_no = 1; display_name = "Implementation name 1"; default_data = "text/xml||Type of data handled"; opaque_data = ""; } }; } }; }
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.