// Private nt headers. // #include #include #include #include #include // printf VOID __cdecl wmain ( int argc, PCWSTR argv[]) { HRESULT hr; PCWSTR pszService; PCWSTR pszNewGroup; // Argument check // if (3 != argc) { printf ("%S \n", argv[0]); return; } pszService = argv[1]; pszNewGroup = argv[2]; hr = SvchostChangeSvchostGroup ( pszService, pszNewGroup); if (FAILED(hr)) { printf ("error: SvchostChangeSvchostGroup failed. (0x%08x)\n\n", hr); } }