1 /* Copyright (C) 1999 Transarc Corporation - All rights reserved.
5 /* Test of RegDupKeyAlt() */
15 #include <WINNT/afsreg.h>
17 int main(int argc, char *argv[])
22 printf("Usage: %s key1 key2\n", argv[0]);
26 status = RegDupKeyAlt(argv[1], argv[2]);
28 if (status == ERROR_SUCCESS) {
29 printf("Registry key duplication succeeded\n");
31 printf("Registry key duplication failed (%d)\n", status);