📄 smsprov.h
字号:
#pragma option push -b -a8 -pc -A- /*P_O_Push*/
//----------------------------------------------------------------------------
// Systems Management Server WBEM SDK
//
// This file is automatically generated by traversing all class ojects in
// a WBEM namespace.
//
//
// Generation information :
//
// Date: 03/12/1999 (MM/DD/YYYYY) (Friday)
// Time: 09:53:37.0217 (HH:MM:SS:MMMM)
// WBEM Namespace: root\sms\site_egh
//
//
// Release notes:
//
// This file includes useful symbols for accessing WBEM objects. All symbols
// are partitioned in separate namespaces. The primary C++ namespace is
// SMSSDK. Each WBEM class name then defines another partition of the C++
// namespace. Then one more nested C++ namespace is created for the property.
// For interesting enumeration's and bit-fields, a C++ enumeration is created
// in the form tagBitField_ClassName_PropertyName or
// tagEnumeration_ClassName_PropertyName. Finally all published value
// constraints are placed in the C++ enumeration. Each constraint is prefixed
// with BIT_ or ENUM_ for constraints that are bit-fields or enumeration's
// respectively.
//
//
// Copyright (c)1997-1999 Microsoft Corporation, All Rights Reserved
//----------------------------------------------------------------------------
//
// Example Usage :
//
#if 0
// Explicitly reference the symbol
unsigned long ulValue = SMSSDK::SMS_Advertisement::AdvertFlags::BIT_ONSLOWNET;
// Reference the symbol after promoting SMSSDK
{
using namespace SMSSDK;
unsigned long ulValue = SMS_Advertisement::AdvertFlags::BIT_ONSLOWNET;
}
// Reference the symbol after promoting SMSSDK::SMS_Advertisement
{
using namespace SMSSDK::SMS_Advertisement;
unsigned long ulValue = AdvertFlags::BIT_ONSLOWNET;
}
// Reference after promoting SMSSDK::SMS_Advertisement::AdvertFlags
{
using namespace SMSSDK::SMS_Advertisement::AdvertFlags;
unsigned long ulValue = BIT_ONSLOWNET;
}
#endif
#if !defined(__SMS_SDK_NAMESPACE_ENUMS)
#define __SMS_SDK_NAMESPACE_ENUMS
#pragma once
#if defined(_USE_AUTOSYMBOLS)
#include<comdef.h>
#if defined(_EXPORT_AUTO_SYMBOLS) && defined(_INIT_AUTOSYMBOLS)
#define AUTOSYM_Export __declspec(dllexport)
#elif defined(_EXPORT_AUTO_SYMBOLS)
#define AUTOSYM_Export __declspec(dllimport)
#else
#define AUTOSYM_Export
#endif
#if defined(_INIT_AUTOSYMBOLS)
#define DEFINE_CLASS(name)\
extern AUTOSYM_Export LPCWSTR CLASS_##name = L#name
#define DEFINE_PROP(name)\
extern AUTOSYM_Export LPCWSTR PROP_##name = L#name
#define DEFINE_METHOD(name)\
extern AUTOSYM_Export LPCWSTR METHOD_##name = L#name
#define DEFINE_PARAM(name)\
extern AUTOSYM_Export LPCWSTR PARAM_##name = L#name
#define DEFINE_CONTEXTVALUE(name)\
extern AUTOSYM_Export LPCWSTR CONTEXTVALUE_##name = L#name
#else
#define DEFINE_CLASS(name)\
extern AUTOSYM_Export LPCWSTR CLASS_##name
#define DEFINE_PROP(name)\
extern AUTOSYM_Export LPCWSTR PROP_##name
#define DEFINE_METHOD(name)\
extern AUTOSYM_Export LPCWSTR METHOD_##name
#define DEFINE_PARAM(name)\
extern AUTOSYM_Export LPCWSTR PARAM_##name
#define DEFINE_CONTEXTVALUE(name)\
extern AUTOSYM_Export LPCWSTR CONTEXTVALUE_##name
#endif
#else
#define DEFINE_CLASS(name)
#define DEFINE_PROP(name)
#define DEFINE_METHOD(name)
#define DEFINE_PARAM(name)
#define DEFINE_CONTEXTVALUE(name)
#endif
namespace SMSSDK
{
//----------------------------------------------------------------------------
// Context Values :
//
//
//
DEFINE_CONTEXTVALUE(ContextHandle);
DEFINE_CONTEXTVALUE(LocaleID);
DEFINE_CONTEXTVALUE(SessionHandle);
DEFINE_CONTEXTVALUE(IMapSessionHandle);
DEFINE_CONTEXTVALUE(LimitToCollectionIDs);
DEFINE_CONTEXTVALUE(InstanceCount);
DEFINE_CONTEXTVALUE(MachineName);
DEFINE_CONTEXTVALUE(ApplicationName);
DEFINE_CONTEXTVALUE(QueryQualifiers);
//----------------------------------------------------------------------------
// SMS_ProviderLocation :
//
//
//
DEFINE_CLASS(SMS_ProviderLocation);
namespace SMS_ProviderLocation
{
DEFINE_PROP(SiteCode);
DEFINE_PROP(Machine);
DEFINE_PROP(NamespacePath);
DEFINE_PROP(ProviderForLocalSite);
} // namespace
//----------------------------------------------------------------------------
// SMS_Advertisement :
//
//
//
DEFINE_CLASS(SMS_Advertisement);
namespace SMS_Advertisement
{
DEFINE_PROP(ActionInProgress);
namespace ActionInProgress
{
enum tagEnumeration_SMS_Advertisement_ActionInProgress
{
ENUM_NONE = 0L,
ENUM_UPDATE = 1L,
ENUM_ADD = 2L,
ENUM_DELETE = 3L
};
} // namespace ActionInProgress
DEFINE_PROP(AdvertFlags);
namespace AdvertFlags
{
enum tagBitField_SMS_Advertisement_AdvertFlags
{
BIT_IMMEDIATE = 0x00000020,
BIT_ONSYSTEMSTARTUP = 0x00000100,
BIT_ONUSERLOGON = 0x00000200,
BIT_ONUSERLOGOFF = 0x00000400,
BIT_NO_DISPLAY = 0x02000000,
BIT_ONSLOWNET = 0x04000000
};
} // namespace AdvertFlags
DEFINE_PROP(AdvertisementID);
DEFINE_PROP(AdvertisementName);
DEFINE_PROP(AssignedSchedule);
DEFINE_PROP(AssignedScheduleEnabled);
DEFINE_PROP(AssignedScheduleIsGMT);
DEFINE_PROP(CollectionID);
DEFINE_PROP(Comment);
DEFINE_PROP(ExpirationTime);
DEFINE_PROP(ExpirationTimeEnabled);
DEFINE_PROP(ExpirationTimeIsGMT);
DEFINE_PROP(HierarchyPath);
DEFINE_PROP(IncludeSubCollection);
DEFINE_PROP(PackageID);
DEFINE_PROP(PresentTime);
DEFINE_PROP(PresentTimeEnabled);
DEFINE_PROP(PresentTimeIsGMT);
DEFINE_PROP(Priority);
namespace Priority
{
enum tagEnumeration_SMS_Advertisement_Priority
{
ENUM_HIGH = 1L,
ENUM_NORMAL = 2L,
ENUM_LOW = 3L
};
} // namespace Priority
DEFINE_PROP(ProgramName);
DEFINE_PROP(SourceSite);
DEFINE_PROP(TimeFlags);
namespace TimeFlags
{
enum tagBitField_SMS_Advertisement_TimeFlags
{
BIT_ENABLE_PRESENT = 0x00000001,
BIT_ENABLE_EXPIRATION = 0x00000002,
BIT_ENABLE_AVAILABLE = 0x00000004,
BIT_ENABLE_UNAVAILABLE = 0x00000008,
BIT_ENABLE_MANDATORY = 0x00000010,
BIT_GMT_PRESENT = 0x00000100,
BIT_GMT_EXPIRATION = 0x00000200,
BIT_GMT_AVAILABLE = 0x00000400,
BIT_GMT_UNAVAILABLE = 0x00000800,
BIT_GMT_MANDATORY = 0x00001000
};
} // namespace TimeFlags
} // namespace SMS_Advertisement
//----------------------------------------------------------------------------
// SMS_AdvertisementStatusRootSummarizer :
//
//
//
DEFINE_CLASS(SMS_AdvertisementStatusRootSummarizer);
namespace SMS_AdvertisementStatusRootSummarizer
{
DEFINE_PROP(AdvertisementID);
DEFINE_PROP(AdvertisementName);
DEFINE_PROP(AdvertisementsFailed);
DEFINE_PROP(AdvertisementsReceived);
DEFINE_PROP(CollectionID);
DEFINE_PROP(CollectionName);
DEFINE_PROP(DisplaySchedule);
DEFINE_PROP(ExpirationTime);
DEFINE_PROP(PackageID);
DEFINE_PROP(PackageLanguage);
DEFINE_PROP(PackageManufacturer);
DEFINE_PROP(PackageName);
DEFINE_PROP(PackageVersion);
DEFINE_PROP(PresentTime);
DEFINE_PROP(ProgramName);
DEFINE_PROP(ProgramsFailed);
DEFINE_PROP(ProgramsStarted);
DEFINE_PROP(ProgramsSucceeded);
DEFINE_PROP(SourceSite);
DEFINE_PROP(TimeEnableFlag);
} // namespace SMS_AdvertisementStatusRootSummarizer
//----------------------------------------------------------------------------
// SMS_AdvertisementStatusSummarizer :
//
//
//
DEFINE_CLASS(SMS_AdvertisementStatusSummarizer);
namespace SMS_AdvertisementStatusSummarizer
{
DEFINE_PROP(AdvertisementID);
DEFINE_PROP(AdvertisementsFailed);
DEFINE_PROP(AdvertisementsReceived);
DEFINE_PROP(DisplaySchedule);
DEFINE_PROP(LastUpdate);
DEFINE_PROP(ProgramsFailed);
DEFINE_PROP(ProgramsStarted);
DEFINE_PROP(ProgramsSucceeded);
DEFINE_PROP(SiteCode);
} // namespace SMS_AdvertisementStatusSummarizer
//----------------------------------------------------------------------------
// SMS_AdvertToSourceSite_a :
//
//
//
DEFINE_CLASS(SMS_AdvertToSourceSite_a);
namespace SMS_AdvertToSourceSite_a
{
DEFINE_PROP(advertSourceSite);
DEFINE_PROP(ownedAdvert);
} // namespace SMS_AdvertToSourceSite_a
//----------------------------------------------------------------------------
// SMS_BaseAssociation :
//
//
//
DEFINE_CLASS(SMS_BaseAssociation);
namespace SMS_BaseAssociation
{
} // namespace SMS_BaseAssociation
//----------------------------------------------------------------------------
// SMS_BaseClass :
//
//
//
DEFINE_CLASS(SMS_BaseClass);
namespace SMS_BaseClass
{
} // namespace SMS_BaseClass
//----------------------------------------------------------------------------
// SMS_Client_Reg_MultiString_List :
//
//
//
DEFINE_CLASS(SMS_Client_Reg_MultiString_List);
namespace SMS_Client_Reg_MultiString_List
{
DEFINE_PROP(ItemType);
DEFINE_PROP(KeyPath);
DEFINE_PROP(ValueName);
DEFINE_PROP(ValueStrings);
} // namespace SMS_Client_Reg_MultiString_List
//----------------------------------------------------------------------------
// SMS_Collection :
//
//
//
DEFINE_CLASS(SMS_Collection);
namespace SMS_Collection
{
DEFINE_PROP(CollectionID);
DEFINE_PROP(CollectionRules);
DEFINE_PROP(Comment);
DEFINE_PROP(CurrentStatus);
namespace CurrentStatus
{
enum tagEnumeration_SMS_Collection_CurrentStatus
{
ENUM_NONE = 0L,
ENUM_READY = 1L,
ENUM_REFRESHING = 2L,
ENUM_SAVING = 3L,
ENUM_EVALUATING = 4L,
ENUM_AWAITING_REFRESH = 5L,
ENUM_DELETING = 6L,
ENUM_APPENDING_MEMBER = 7L,
ENUM_QUERYING = 8L
};
} // namespace CurrentStatus
DEFINE_PROP(LastChangeTime);
DEFINE_PROP(LastRefreshTime);
DEFINE_PROP(MemberClassName);
DEFINE_PROP(Name);
DEFINE_PROP(OwnedByThisSite);
DEFINE_PROP(RefreshSchedule);
DEFINE_PROP(RefreshType);
namespace RefreshType
{
enum tagEnumeration_SMS_Collection_RefreshType
{
ENUM_MANUAL = 1L,
ENUM_PERIODIC = 2L
};
} // namespace RefreshType
DEFINE_PROP(ReplicateToSubSites);
DEFINE_METHOD(AddMembershipRule);
namespace AddMembershipRule
{
namespace In
{
DEFINE_PARAM(collectionRule);
} // namespace In
namespace Out
{
DEFINE_PARAM(QueryID);
DEFINE_PARAM(ReturnValue);
} // namespace Out
} // namespace AddMembershipRule
DEFINE_METHOD(DeleteMembershipRule);
namespace DeleteMembershipRule
{
namespace In
{
DEFINE_PARAM(collectionRule);
} // namespace In
namespace Out
{
DEFINE_PARAM(ReturnValue);
} // namespace Out
} // namespace DeleteMembershipRule
DEFINE_METHOD(AddMembershipRules);
namespace AddMembershipRules
{
namespace In
{
DEFINE_PARAM(collectionRules);
} // namespace In
namespace Out
{
DEFINE_PARAM(QueryIDs);
DEFINE_PARAM(ReturnValue);
} // namespace Out
} // namespace AddMembershipRules
DEFINE_METHOD(DeleteMembershipRules);
namespace DeleteMembershipRules
{
namespace In
{
DEFINE_PARAM(collectionRules);
} // namespace In
namespace Out
{
DEFINE_PARAM(ReturnValue);
} // namespace Out
} // namespace DeleteMembershipRules
DEFINE_METHOD(RequestRefresh);
namespace RequestRefresh
{
namespace In
{
DEFINE_PARAM(includesubcollections);
} // namespace In
namespace Out
{
DEFINE_PARAM(ReturnValue);
} // namespace Out
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -