📄 ssapi.tlh
字号:
struct __declspec(uuid("8903a770-f55f-11cf-9227-00aa00a1eb95"))
IVSSCheckouts : IDispatch
{
//
// Property data
//
__declspec(property(get=GetItem))
IVSSCheckoutPtr Item[];
__declspec(property(get=GetCount))
long Count;
//
// Wrapper methods for error-handling
//
long GetCount ( );
IVSSCheckoutPtr GetItem (
const _variant_t & sItem );
IUnknownPtr _NewEnum ( );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_Count (
long * piCount ) = 0;
virtual HRESULT __stdcall get_Item (
VARIANT sItem,
struct IVSSCheckout * * ppICheckout ) = 0;
virtual HRESULT __stdcall raw__NewEnum (
IUnknown * * ppIEnum ) = 0;
};
struct __declspec(uuid("783cd4e6-9d54-11cf-b8ee-00608cc9a71f"))
IVSSCheckout : IDispatch
{
//
// Property data
//
__declspec(property(get=GetUsername))
_bstr_t Username;
__declspec(property(get=GetDate))
DATE Date;
__declspec(property(get=GetLocalSpec))
_bstr_t LocalSpec;
__declspec(property(get=GetMachine))
_bstr_t Machine;
__declspec(property(get=GetProject))
_bstr_t Project;
__declspec(property(get=GetComment))
_bstr_t Comment;
__declspec(property(get=GetVersionNumber))
long VersionNumber;
//
// Wrapper methods for error-handling
//
_bstr_t GetUsername ( );
DATE GetDate ( );
_bstr_t GetLocalSpec ( );
_bstr_t GetMachine ( );
_bstr_t GetProject ( );
_bstr_t GetComment ( );
long GetVersionNumber ( );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_Username (
BSTR * pUsername ) = 0;
virtual HRESULT __stdcall get_Date (
DATE * pDate ) = 0;
virtual HRESULT __stdcall get_LocalSpec (
BSTR * pLocal ) = 0;
virtual HRESULT __stdcall get_Machine (
BSTR * pMachine ) = 0;
virtual HRESULT __stdcall get_Project (
BSTR * pProject ) = 0;
virtual HRESULT __stdcall get_Comment (
BSTR * pComment ) = 0;
virtual HRESULT __stdcall get_VersionNumber (
long * piVersion ) = 0;
};
struct __declspec(uuid("783cd4e7-9d54-11cf-b8ee-00608cc9a71f"))
IVSSVersions : IDispatch
{
//
// Wrapper methods for error-handling
//
IUnknownPtr _NewEnum ( );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw__NewEnum (
IUnknown * * ppIEnum ) = 0;
};
struct __declspec(uuid("783cd4e8-9d54-11cf-b8ee-00608cc9a71f"))
IVSSVersionOld : IDispatch
{
//
// Property data
//
__declspec(property(get=GetUsername))
_bstr_t Username;
__declspec(property(get=GetVersionNumber))
long VersionNumber;
__declspec(property(get=GetAction))
_bstr_t Action;
__declspec(property(get=GetDate))
DATE Date;
__declspec(property(get=GetComment))
_bstr_t Comment;
__declspec(property(get=GetLabel))
_bstr_t Label;
__declspec(property(get=GetVSSItem))
IVSSItemPtr VSSItem;
//
// Wrapper methods for error-handling
//
_bstr_t GetUsername ( );
long GetVersionNumber ( );
_bstr_t GetAction ( );
DATE GetDate ( );
_bstr_t GetComment ( );
_bstr_t GetLabel ( );
IVSSItemPtr GetVSSItem ( );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_Username (
BSTR * pUsername ) = 0;
virtual HRESULT __stdcall get_VersionNumber (
long * piVersion ) = 0;
virtual HRESULT __stdcall get_Action (
BSTR * pAction ) = 0;
virtual HRESULT __stdcall get_Date (
DATE * pDate ) = 0;
virtual HRESULT __stdcall get_Comment (
BSTR * pComment ) = 0;
virtual HRESULT __stdcall get_Label (
BSTR * pLabel ) = 0;
virtual HRESULT __stdcall get_VSSItem (
struct IVSSItem * * ppIItem ) = 0;
};
struct __declspec(uuid("2a0de0e9-2e9f-11d0-9236-00aa00a1eb95"))
IVSSVersion : IVSSVersionOld
{
//
// Property data
//
__declspec(property(get=GetLabelComment))
_bstr_t LabelComment;
//
// Wrapper methods for error-handling
//
_bstr_t GetLabelComment ( );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_LabelComment (
BSTR * pComment ) = 0;
};
struct __declspec(uuid("2a0de0e4-2e9f-11d0-9236-00aa00a1eb95"))
IVSSUsers : IDispatch
{
//
// Property data
//
__declspec(property(get=GetItem))
IVSSUserPtr Item[];
__declspec(property(get=GetCount))
long Count;
//
// Wrapper methods for error-handling
//
long GetCount ( );
IVSSUserPtr GetItem (
const _variant_t & sItem );
IUnknownPtr _NewEnum ( );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_Count (
long * piCount ) = 0;
virtual HRESULT __stdcall get_Item (
VARIANT sItem,
struct IVSSUser * * ppIUser ) = 0;
virtual HRESULT __stdcall raw__NewEnum (
IUnknown * * ppIEnum ) = 0;
};
struct __declspec(uuid("2a0de0e3-2e9f-11d0-9236-00aa00a1eb95"))
IVSSUser : IDispatch
{
//
// Property data
//
__declspec(property(get=GetName,put=PutName))
_bstr_t Name;
__declspec(property(put=PutPassword))
_bstr_t Password;
__declspec(property(get=GetReadOnly,put=PutReadOnly))
VARIANT_BOOL ReadOnly;
__declspec(property(get=GetProjectRights,put=PutProjectRights))
long ProjectRights[];
//
// Wrapper methods for error-handling
//
HRESULT Delete ( );
_bstr_t GetName ( );
void PutName (
_bstr_t pName );
void PutPassword (
_bstr_t _arg1 );
VARIANT_BOOL GetReadOnly ( );
void PutReadOnly (
VARIANT_BOOL pReadOnly );
long GetProjectRights (
_bstr_t Project );
void PutProjectRights (
_bstr_t Project,
long piRightsOut );
HRESULT RemoveProjectRights (
_bstr_t Project );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_Delete ( ) = 0;
virtual HRESULT __stdcall get_Name (
BSTR * pName ) = 0;
virtual HRESULT __stdcall put_Name (
BSTR pName ) = 0;
virtual HRESULT __stdcall put_Password (
BSTR _arg1 ) = 0;
virtual HRESULT __stdcall get_ReadOnly (
VARIANT_BOOL * pReadOnly ) = 0;
virtual HRESULT __stdcall put_ReadOnly (
VARIANT_BOOL pReadOnly ) = 0;
virtual HRESULT __stdcall get_ProjectRights (
BSTR Project,
long * piRightsOut ) = 0;
virtual HRESULT __stdcall put_ProjectRights (
BSTR Project,
long piRightsOut ) = 0;
virtual HRESULT __stdcall raw_RemoveProjectRights (
BSTR Project ) = 0;
};
struct __declspec(uuid("783cd4e2-9d54-11cf-b8ee-00608cc9a71f"))
IVSSDatabaseOld : IDispatch
{
//
// Property data
//
__declspec(property(get=GetSrcSafeIni))
_bstr_t SrcSafeIni;
__declspec(property(get=GetDatabaseName))
_bstr_t DatabaseName;
__declspec(property(get=GetUsername))
_bstr_t Username;
__declspec(property(get=GetCurrentProject,put=PutCurrentProject))
_bstr_t CurrentProject;
__declspec(property(get=GetVSSItem))
IVSSItemPtr VSSItem[][];
//
// Wrapper methods for error-handling
//
HRESULT Open (
_bstr_t SrcSafeIni,
_bstr_t Username,
_bstr_t Password );
_bstr_t GetSrcSafeIni ( );
_bstr_t GetDatabaseName ( );
_bstr_t GetUsername ( );
_bstr_t GetCurrentProject ( );
void PutCurrentProject (
_bstr_t pPrj );
IVSSItemPtr GetVSSItem (
_bstr_t Spec,
VARIANT_BOOL Deleted );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_Open (
BSTR SrcSafeIni,
BSTR Username,
BSTR Password ) = 0;
virtual HRESULT __stdcall get_SrcSafeIni (
BSTR * pSrcSafeIni ) = 0;
virtual HRESULT __stdcall get_DatabaseName (
BSTR * pDatabaseName ) = 0;
virtual HRESULT __stdcall get_Username (
BSTR * pUsername ) = 0;
virtual HRESULT __stdcall get_CurrentProject (
BSTR * pPrj ) = 0;
virtual HRESULT __stdcall put_CurrentProject (
BSTR pPrj ) = 0;
virtual HRESULT __stdcall get_VSSItem (
BSTR Spec,
VARIANT_BOOL Deleted,
struct IVSSItem * * ppIVSSItem ) = 0;
};
struct __declspec(uuid("2a0de0e2-2e9f-11d0-9236-00aa00a1eb95"))
IVSSDatabase : IVSSDatabaseOld
{
//
// Property data
//
__declspec(property(get=GetUser))
IVSSUserPtr User[];
__declspec(property(get=GetUsers))
IVSSUsersPtr Users;
__declspec(property(get=GetProjectRightsEnabled,put=PutProjectRightsEnabled))
VARIANT_BOOL ProjectRightsEnabled;
__declspec(property(get=GetDefaultProjectRights,put=PutDefaultProjectRights))
long DefaultProjectRights;
//
// Wrapper methods for error-handling
//
IVSSUserPtr AddUser (
_bstr_t User,
_bstr_t Password,
VARIANT_BOOL ReadOnly );
IVSSUserPtr GetUser (
_bstr_t Name );
IVSSUsersPtr GetUsers ( );
VARIANT_BOOL GetProjectRightsEnabled ( );
void PutProjectRightsEnabled (
VARIANT_BOOL pEnabled );
long GetDefaultProjectRights ( );
void PutDefaultProjectRights (
long pRights );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_AddUser (
BSTR User,
BSTR Password,
VARIANT_BOOL ReadOnly,
struct IVSSUser * * ppIUser ) = 0;
virtual HRESULT __stdcall get_User (
BSTR Name,
struct IVSSUser * * ppIUser ) = 0;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -