--- a/kerneltest/e32test/resourceman/d_rescontrolcli.h Tue Aug 31 11:40:45 2010 +0100
+++ b/kerneltest/e32test/resourceman/d_rescontrolcli.h Mon Sep 13 15:16:07 2010 +0100
@@ -88,6 +88,7 @@
ECheckPostBootLevelNotifications,
ECancelNotification,
EGetControllerVersion,
+ ERegisterResourceController,
#ifdef PRM_ENABLE_EXTENDED_VERSION
ERegisterDynamicResource,
EDeRegisterDynamicResource,
@@ -134,6 +135,7 @@
TInt DeRegisterClientLevelFromResource(TInt aClientId, TUint aResId);
TInt CheckPostBootLevelNotifications();
TInt GetResourceControllerVersion(TUint aClientId, TUint& aVersion);
+ TInt CheckResourceControllerRegistration();
#ifdef PRM_ENABLE_EXTENDED_VERSION
TInt RegisterDynamicResource(TUint aClientId, TUint& aResourceId);
TInt DeRegisterDynamicResource(TUint aClientId, TUint aResourceId, TInt *aLevel);
@@ -507,6 +509,11 @@
return DoControl(EGetControllerVersion, (TAny*)aClientId, (TAny*)&aVersion);
}
+TInt RTestResMan::CheckResourceControllerRegistration()
+ {
+ return DoControl(ERegisterResourceController, (TAny*)NULL, (TAny*)NULL);
+ }
+
#ifdef PRM_ENABLE_EXTENDED_VERSION
/** Register dynamic resource.
@Param - aClientId - Id of the client that is registering the dynamic resource