2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
10 /* Test of RegDupKeyAlt() */
12 #include <afs/param.h>
20 #include <WINNT/afsreg.h>
22 int main(int argc, char *argv[])
27 printf("Usage: %s key1 key2\n", argv[0]);
31 status = RegDupKeyAlt(argv[1], argv[2]);
33 if (status == ERROR_SUCCESS) {
34 printf("Registry key duplication succeeded\n");
36 printf("Registry key duplication failed (%d)\n", status);