/*++ Copyright (c) 1996 Microsoft Corporation Module Name: groups.c Abstract: This file implements the file copy code. Environment: WIN32 User Mode Author: Wesley Witt (wesw) 17-Feb-1996 --*/ #include "faxocm.h" #pragma hdrstop GROUP_ITEMS GroupItems[] = { { {IDS_FAXGROUP, TEXT("") }, {IDS_FAXQUEUE_ITEM, TEXT("") }, {IDS_FAXQUEUE_EXE, TEXT("") }, {IDS_FAXQUEUE_ICON, TEXT("") }, {IDS_FAXQUEUE_WORKINGDIRECTORY, TEXT("") }, USE_COMMON_GROUP | USE_SERVER_NAME, 0, SW_NORMAL, 0, {IDS_FAXQUEUE_INFOTIP, TEXT("") } }, { {IDS_FAXGROUP, TEXT("") }, {IDS_FAXFOLDER_ITEM, TEXT("") }, {IDS_FAXFOLDER_EXE, TEXT("") }, {IDS_FAXFOLDER_ICON, TEXT("") }, {IDS_FAXFOLDER_WORKINGDIRECTORY, TEXT("") }, USE_COMMON_GROUP | USE_SERVER_NAME |USE_SHELL_PATH | USE_SUBDIR, 4, SW_NORMAL, 0, {IDS_FAXFOLDER_INFOTIP, TEXT("") } }, #if 0 { {IDS_FAXGROUP, TEXT("") }, {IDS_CPE_ITEM, TEXT("") }, {IDS_CPE_EXE, TEXT("") }, {IDS_CPE_ICON, TEXT("") }, {IDS_CPE_WORKINGDIRECTORY, TEXT("") }, USE_COMMON_GROUP, 0, SW_NORMAL, 0, {IDS_CPE_INFOTIP, TEXT("") } }, #endif { {IDS_FAXGROUP, TEXT("") }, {IDS_FAXSEND_ITEM, TEXT("") }, {IDS_FAXSEND_EXE, TEXT("") }, {IDS_FAXSEND_ICON, TEXT("") }, {IDS_FAXSEND_WORKINGDIRECTORY, TEXT("") }, USE_COMMON_GROUP, 0, SW_NORMAL, 0, {IDS_FAXSEND_INFOTIP, TEXT("") } }, { {IDS_FAXGROUP, TEXT("") }, {IDS_FAXADMIN_ITEM, TEXT("") }, {IDS_FAXADMIN_EXE, TEXT("") }, {IDS_FAXADMIN_ICON, TEXT("") }, {IDS_FAXADMIN_WORKINGDIRECTORY, TEXT("") }, USE_COMMON_GROUP, 5, SW_NORMAL, 0, {IDS_FAXADMIN_INFOTIP, TEXT("") } }, #if 0 { {IDS_FAXGROUP, TEXT("") }, {IDS_FAXVIEWER_ITEM, TEXT("") }, {IDS_FAXVIEWER_EXE, TEXT("") }, {IDS_FAXVIEWER_ICON, TEXT("") }, {IDS_FAXVIEWER_WORKINGDIRECTORY, TEXT("") }, USE_COMMON_GROUP, 0, SW_NORMAL, 0, {IDS_FAXVIEWER_INFOTIP, TEXT("") } }, #endif { {IDS_FAXGROUP, TEXT("") }, {IDS_FAXHELP_ITEM, TEXT("") }, {IDS_FAXHELP_EXE, TEXT("") }, {IDS_FAXHELP_ICON, TEXT("") }, {IDS_FAXHELP_WORKINGDIRECTORY, TEXT("") }, USE_COMMON_GROUP, 0, SW_NORMAL, 0, {IDS_FAXHELP_INFOTIP, TEXT("") } } #if 0 { {IDS_FAXGROUP, TEXT("") }, {IDS_FAXPRINTER_ITEM, TEXT("") }, {IDS_FAXPRINTER_EXE, TEXT("") }, {IDS_FAXPRINTER_ICON, TEXT("") }, {IDS_FAXPRINTER_WORKINGDIRECTORY, TEXT("") }, USE_COMMON_GROUP, 59, SW_NORMAL, 0, {IDS_FAXPRINTER_INFOTIP, TEXT("") } } #endif }; #define MAX_GROUP_ITEMS (sizeof(GroupItems)/sizeof(GroupItems[0])) VOID DeleteNt4Group( VOID ) { WCHAR Name[100]; MyLoadString(hInstance, IDS_NT4FAX_GROUP, Name, sizeof(Name) / sizeof(WCHAR), GetSystemDefaultUILanguage() ); DeleteGroup( Name, USE_COMMON_GROUP ); } VOID DeleteGroupItems( VOID ) { DWORD i; for (i=0; i