windows-nt/Source/XPSP1/NT/base/ntsetup/legacy/dll/progcm.c

76 lines
1.2 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#include "precomp.h"
#pragma hdrstop
/* File: progcm.c */
/**************************************************************************/
/* Install: Program Manager commands.
/* Can create groups, delete groups, add/delete items to groups
/**************************************************************************/
BOOL
FCreateProgManGroup(
IN SZ szGroup,
IN SZ szPath,
IN CMO cmo,
IN BOOL CommonGroup
)
{
return ( CreateGroup(szGroup, CommonGroup) );
}
BOOL
FRemoveProgManGroup(
IN SZ szGroup,
IN CMO cmo,
IN BOOL CommonGroup
)
{
return ( DeleteGroup(szGroup, CommonGroup) );
}
BOOL
FShowProgManGroup(
IN SZ szGroup,
IN SZ szCommand,
IN CMO cmo,
IN BOOL CommonGroup
)
{
return(fTrue);
}
BOOL
FCreateProgManItem(
IN SZ szGroup,
IN SZ szItem,
IN SZ szCmd,
IN SZ szIconFile,
IN INT nIconNum,
IN CMO cmo,
IN BOOL CommonGroup
)
{
return ( AddItem(szGroup, CommonGroup, szItem, szCmd,
szIconFile, nIconNum, NULL, 0, SW_SHOWNORMAL) );
}
BOOL
FRemoveProgManItem(
IN SZ szGroup,
IN SZ szItem,
IN CMO cmo,
IN BOOL CommonGroup
)
{
return ( DeleteItem(szGroup, CommonGroup, szItem, TRUE) );
}