コード例 #1
0
        public static bool ChangeOSEntryDescription(string guid, string newDescription, string storePath)
        {
            BcdObject nonEmbeddedObjRef = new BcdObject(BcdStore_API.ImpersonationScope, guid, storePath);

            bool setDescripStatus = nonEmbeddedObjRef.SetStringElement(newDescription, Constants.BCDE_LIBRARY_TYPE_DESCRIPTION);

            return(setDescripStatus);
        }