91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 16.44MB
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發布日期: 2023-07-16
  • 語言: C/C++
  • 標簽: Lotus??C++??API??Toolkit??for??

資源簡介

Lotus C++ API Toolkit for Notes/Domino 8.0 for Windows English C99N6EN.zip (16 MB)

資源截圖

代碼片段和文件信息

//===========================================================================
//
//??????Module:?ACLLOG.CPP
//
//??????Description:
//??????????????Sample?C++?API?program?that?creates?an?access?control?entry?
//??????????????list?log?file.
//
//??????Syntax:?????????ACLLOG???[server]
//
//??????????????Where?dbname?=?file?path?name?for?the?database?to?add?the?ACL
//??????????????information.?If?you?do?not?supply?this?parameter?you?will?be??
//??????????????prompted?for?arguments?at?run?time.
//
//===========================================================================

#ifndef?ACLLOG_HPP
#include?“acllog.hpp“
#endif

//?Parameter?Strings
IOParameter?????????????CommandBuf;
IOParameter?????????????PromptString1;
IOParameter?????????????ParamString1;
IOParameter?????????????PromptString2;
IOParameter?????????????ParamString2;

//---------------------------------------------------------------------------
//
//??????MAIN
//
//---------------------------------------------------------------------------
int?main(int?argc?char?*argv[])
{
int ProgramStatus?=?0;
LNNotesSession??Session;
LNSTATUS????????Stat;

LNSetThrowAllErrors(TRUE);

LNDatabase ACLDb;
????ACLLog Log;

//?Begin?TRY?block.?
//?Throw?all?errors?encountered?during?command?execution.
try
{
LNString????????????????ACLDbtitle;
LNDocument??????????????Doc;
LNString????????????????DatabasePath;
LNString????????????????ServerName;

//?Initialize?the?Notes?session.
Session.Init(argc?argv);

//?Parse?the?argument?list.??????
ProcessArguments(?argc?argv?&DatabasePath?&ServerName);

LNString????????????????AclLogFile?=?“acllog.nsf“;
LNString????????????????AclLogServer?=?““;

//?Get?the?specified?database.
Session.GetDatabase(DatabasePath?&ACLDb?ServerName);

//?Open?the?log?database.
Stat?=?Log.OpenAclDB(?&Session?AclLogFile?AclLogServer?);
if?(Stat)
throw?Stat;

LNACL???????????????????Acl;
LNACLEntryArray Entries;
LNACLEntry??????????????Entry;
LNACLRoleArray EntryRoles;
LNINT???????????????????EntryCountEntryRoleCount;?
LNINT???????????????????Index1?Index2;

ACLDb.Open();
ACLDbtitle?=?ACLDb.Gettitle();

//?Get?the?database‘s?ACL.
Stat?=?ACLDb.GetACL(&Acl);
Stat?=?Acl.GetEntries(&Entries);
EntryCount?=?Entries.GetCount();

for?(Index1?=?0;?Index1? {
//?Create?a?New?log?document?to?log?all?of?the?ACL?entry?list
//?data?to.?Log?the?db?data?to?the?top?of?the?new?log.
Stat?=?Log.CreateLogEntry(?ServerName?DatabasePath?ACLDbtitle?);
if?(Stat)
throw?Stat;

//?Then?output?all?the?ACL?entry?info?in?the?ACL.
Entry?=?Entries[Index1];
Stat?=?Log.AddACLEntry(?Entry?);
if?(Stat)
throw?Stat;

cout?<
//?Output?all?the?roles?for?each?ACL?entry.
Entry.GetRoles(&EntryRoles);

EntryRoleCount?=?EntryRo

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2007-09-30?04:02??notescpp\
?????目錄???????????0??2007-09-30?04:02??notescpp\include\
?????文件????????2062??2007-09-30?03:57??notescpp\include\lnrepsta.hpp
?????文件?????????660??2007-09-30?03:57??notescpp\include\lnrsclnk.hpp
?????文件???????16757??2007-09-30?03:57??notescpp\include\lnrt.hpp
?????文件???????14343??2007-09-30?03:57??notescpp\include\lnrtcont.hpp
?????文件????????3809??2007-09-30?03:57??notescpp\include\lnrtcrsr.hpp
?????文件????????3836??2007-09-30?03:57??notescpp\include\lnrtelem.hpp
?????文件????????3241??2007-09-30?03:57??notescpp\include\lnrthots.hpp
?????文件????????2523??2007-09-30?03:57??notescpp\include\lnrtjava.hpp
?????文件????????6846??2007-09-30?03:57??notescpp\include\lnrtlink.hpp
?????文件????????4237??2007-09-30?03:57??notescpp\include\lnrtobj.hpp
?????文件????????2086??2007-09-30?03:57??notescpp\include\lnrtobjb.hpp
?????文件????????3350??2007-09-30?03:57??notescpp\include\lnrtoleo.hpp
?????文件????????2554??2007-09-30?03:57??notescpp\include\lnrtsbfm.hpp
?????文件???????16685??2007-09-30?03:57??notescpp\include\lnrttabl.hpp
?????文件????????3938??2007-09-30?03:57??notescpp\include\lnrttype.hpp
?????文件???????20260??2007-09-30?03:57??notescpp\include\lnsactio.hpp
?????文件????????3347??2007-09-30?03:57??notescpp\include\lnsaddin.hpp
?????文件????????3296??2007-09-30?03:57??notescpp\include\lnsbform.hpp
?????文件????????2199??2007-09-30?03:57??notescpp\include\lnscript.hpp
?????文件????????2149??2007-09-30?03:57??notescpp\include\lnscrlb.hpp
?????文件???????12601??2007-09-30?03:57??notescpp\include\lnsearch.hpp
?????文件????????3902??2007-09-30?03:57??notescpp\include\lnsectio.hpp
?????文件???????17959??2007-09-30?03:57??notescpp\include\lnsessio.hpp
?????文件????????3034??2007-09-30?03:57??notescpp\include\lnsfield.hpp
?????文件????????1048??2007-09-30?03:57??notescpp\include\lnstoele.hpp
?????文件???????11925??2007-09-30?03:57??notescpp\include\lnstring.hpp
?????文件????????2989??2007-09-30?03:57??notescpp\include\lntext.hpp
?????文件????????1622??2007-09-30?03:57??notescpp\include\lntxtpup.hpp
?????文件????????2303??2007-09-30?03:57??notescpp\include\lnurllnk.hpp
............此處省略593個文件信息

評論

共有 條評論