📄 msadox.tli
字号:
//
inline ProcedurePtr Procedures::GetItem ( const _variant_t & Item ) {
struct Procedure * _result;
HRESULT _hr = get_Item(Item, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return ProcedurePtr(_result, false);
}
inline HRESULT Procedures::Append ( _bstr_t Name, IDispatch * Command ) {
HRESULT _hr = raw_Append(Name, Command);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT Procedures::Delete ( const _variant_t & Item ) {
HRESULT _hr = raw_Delete(Item);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface Procedure wrapper method implementations
//
inline _variant_t Procedure::GetCommand ( ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = get_Command(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
inline void Procedure::PutCommand ( const _variant_t & pVar ) {
HRESULT _hr = put_Command(pVar);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline void Procedure::PutRefCommand ( IDispatch * pVar ) {
HRESULT _hr = putref_Command(pVar);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _bstr_t Procedure::GetName ( ) {
BSTR _result;
HRESULT _hr = get_Name(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline _variant_t Procedure::GetDateCreated ( ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = get_DateCreated(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
inline _variant_t Procedure::GetDateModified ( ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = get_DateModified(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
//
// interface Views wrapper method implementations
//
inline ViewPtr Views::GetItem ( const _variant_t & Item ) {
struct View * _result;
HRESULT _hr = get_Item(Item, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return ViewPtr(_result, false);
}
inline HRESULT Views::Append ( _bstr_t Name, IDispatch * Command ) {
HRESULT _hr = raw_Append(Name, Command);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT Views::Delete ( const _variant_t & Item ) {
HRESULT _hr = raw_Delete(Item);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface View wrapper method implementations
//
inline _variant_t View::GetCommand ( ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = get_Command(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
inline void View::PutCommand ( const _variant_t & pVal ) {
HRESULT _hr = put_Command(pVal);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline void View::PutRefCommand ( IDispatch * pVal ) {
HRESULT _hr = putref_Command(pVal);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline _bstr_t View::GetName ( ) {
BSTR _result;
HRESULT _hr = get_Name(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline _variant_t View::GetDateCreated ( ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = get_DateCreated(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
inline _variant_t View::GetDateModified ( ) {
VARIANT _result;
VariantInit(&_result);
HRESULT _hr = get_DateModified(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _variant_t(_result, false);
}
//
// interface Groups wrapper method implementations
//
inline _GroupPtr Groups::GetItem ( const _variant_t & Item ) {
struct _Group * _result;
HRESULT _hr = get_Item(Item, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _GroupPtr(_result, false);
}
inline HRESULT Groups::Append ( const _variant_t & Item ) {
HRESULT _hr = raw_Append(Item);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT Groups::Delete ( const _variant_t & Item ) {
HRESULT _hr = raw_Delete(Item);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface _Group25 wrapper method implementations
//
inline _bstr_t _Group25::GetName ( ) {
BSTR _result;
HRESULT _hr = get_Name(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline void _Group25::PutName ( _bstr_t pVal ) {
HRESULT _hr = put_Name(pVal);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline enum RightsEnum _Group25::GetPermissions ( const _variant_t & Name, enum ObjectTypeEnum ObjectType, const _variant_t & ObjectTypeId ) {
enum RightsEnum _result;
HRESULT _hr = raw_GetPermissions(Name, ObjectType, ObjectTypeId, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline HRESULT _Group25::SetPermissions ( const _variant_t & Name, enum ObjectTypeEnum ObjectType, enum ActionEnum Action, enum RightsEnum Rights, enum InheritTypeEnum Inherit, const _variant_t & ObjectTypeId ) {
HRESULT _hr = raw_SetPermissions(Name, ObjectType, Action, Rights, Inherit, ObjectTypeId);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline UsersPtr _Group25::GetUsers ( ) {
struct Users * _result;
HRESULT _hr = get_Users(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return UsersPtr(_result, false);
}
//
// interface _Group wrapper method implementations
//
inline PropertiesPtr _Group::GetProperties ( ) {
struct Properties * _result;
HRESULT _hr = get_Properties(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return PropertiesPtr(_result, false);
}
inline _CatalogPtr _Group::GetParentCatalog ( ) {
struct _Catalog * _result;
HRESULT _hr = get_ParentCatalog(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _CatalogPtr(_result, false);
}
inline void _Group::PutParentCatalog ( struct _Catalog * ppvObject ) {
HRESULT _hr = put_ParentCatalog(ppvObject);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline void _Group::PutRefParentCatalog ( struct _Catalog * ppvObject ) {
HRESULT _hr = putref_ParentCatalog(ppvObject);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
//
// interface Users wrapper method implementations
//
inline _UserPtr Users::GetItem ( const _variant_t & Item ) {
struct _User * _result;
HRESULT _hr = get_Item(Item, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _UserPtr(_result, false);
}
inline HRESULT Users::Append ( const _variant_t & Item, _bstr_t Password ) {
HRESULT _hr = raw_Append(Item, Password);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT Users::Delete ( const _variant_t & Item ) {
HRESULT _hr = raw_Delete(Item);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
//
// interface _User25 wrapper method implementations
//
inline _bstr_t _User25::GetName ( ) {
BSTR _result;
HRESULT _hr = get_Name(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _bstr_t(_result, false);
}
inline void _User25::PutName ( _bstr_t pVal ) {
HRESULT _hr = put_Name(pVal);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline enum RightsEnum _User25::GetPermissions ( const _variant_t & Name, enum ObjectTypeEnum ObjectType, const _variant_t & ObjectTypeId ) {
enum RightsEnum _result;
HRESULT _hr = raw_GetPermissions(Name, ObjectType, ObjectTypeId, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline HRESULT _User25::SetPermissions ( const _variant_t & Name, enum ObjectTypeEnum ObjectType, enum ActionEnum Action, enum RightsEnum Rights, enum InheritTypeEnum Inherit, const _variant_t & ObjectTypeId ) {
HRESULT _hr = raw_SetPermissions(Name, ObjectType, Action, Rights, Inherit, ObjectTypeId);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline HRESULT _User25::ChangePassword ( _bstr_t OldPassword, _bstr_t NewPassword ) {
HRESULT _hr = raw_ChangePassword(OldPassword, NewPassword);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _hr;
}
inline GroupsPtr _User25::GetGroups ( ) {
struct Groups * _result;
HRESULT _hr = get_Groups(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return GroupsPtr(_result, false);
}
//
// interface _User wrapper method implementations
//
inline PropertiesPtr _User::GetProperties ( ) {
struct Properties * _result;
HRESULT _hr = get_Properties(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return PropertiesPtr(_result, false);
}
inline _CatalogPtr _User::GetParentCatalog ( ) {
struct _Catalog * _result;
HRESULT _hr = get_ParentCatalog(&_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _CatalogPtr(_result, false);
}
inline void _User::PutParentCatalog ( struct _Catalog * ppvObject ) {
HRESULT _hr = put_ParentCatalog(ppvObject);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
inline void _User::PutRefParentCatalog ( struct _Catalog * ppvObject ) {
HRESULT _hr = putref_ParentCatalog(ppvObject);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -