Beispiel #1
0
 public static List<String> DeployedAppIDs()
 {
     DEPLOYEDAPP_ENUM_CALLBACK Callback = new DEPLOYEDAPP_ENUM_CALLBACK(EnumDeployedAppsCallback);
     List<String> list = new List<String>();
     Object data = list;
     if ((APIRET)DeployedAppEnum(Callback, ref data) == APIRET.SUCCESS)
         return list;
     else
         return null;
 }
Beispiel #2
0
 private static int DeployedAppEnum(
     DEPLOYEDAPP_ENUM_CALLBACK Callback,
     ref Object Data)
 {
     return Is32Bit() ? (PkgVer == 1 ? DeployedAppEnum32(Callback, ref Data) : DeployedAppEnum32_v2(Callback, ref Data) ):(PkgVer == 1 ? DeployedAppEnum64(Callback, ref Data) : DeployedAppEnum64_v2(Callback, ref Data));
 }
Beispiel #3
0
 private static extern int DeployedAppEnum64_v2(
     DEPLOYEDAPP_ENUM_CALLBACK Callback,
     ref Object Data);
Beispiel #4
0
 private extern static int DeployedAppEnum32(
     DEPLOYEDAPP_ENUM_CALLBACK Callback,
     ref Object Data);