📄 palmsource sync manager api.mht
字号:
href=3D"http://www.palmos.com/dev/support/docs/conduits/win/CRef_SyncMgr.=
html#969592"><SPAN=20
class=3Dnav>^TOP^</SPAN></A> </H2>
<P class=3DBody><A name=3D969802></A>These are the general-purpose =
constants=20
for use with the Sync Manager API. </P>
<H5 class=3DP1><A name=3D969804></A>
<DIV class=3DP1Parameter>
<TABLE cellSpacing=3D0 cellPadding=3D5 border=3D0>
<TBODY>
<TR>
<TD vAlign=3Dtop width=3D180><SPAN=20
style=3D"FONT-FAMILY: monospace">BIG_PATH </SPAN></TD>
<TD vAlign=3Dtop></SPAN>The maximum size of a file path=20
specification.</TD></TR></TBODY></TABLE></DIV></H5>
<H5 class=3DP1><A name=3D969806></A>
<DIV class=3DP1Parameter>
<TABLE cellSpacing=3D0 cellPadding=3D5 border=3D0>
<TBODY>
<TR>
<TD vAlign=3Dtop width=3D180><SPAN=20
style=3D"FONT-FAMILY: monospace">SYNC_DB_NAMELEN =
</SPAN></TD>
<TD vAlign=3Dtop></SPAN>The maximum size of a handheld =
database name,=20
including the null terminator character. This constant =
replaces the=20
older constant <SPAN=20
style=3D"FONT-FAMILY: =
monospace">DB_NAMELEN</SPAN>.</TD></TR></TBODY></TABLE></DIV></H5>
<H5 class=3DP1><A name=3D969808></A>
<DIV class=3DP1Parameter>
<TABLE cellSpacing=3D0 cellPadding=3D5 border=3D0>
<TBODY>
<TR>
<TD vAlign=3Dtop width=3D180><SPAN=20
style=3D"FONT-FAMILY: monospace">SYNC_MAX_HH_LOG_SIZE =
</SPAN></TD>
<TD vAlign=3Dtop></SPAN>The maximum size of the HotSync log on =
the=20
handheld.</TD></TR></TBODY></TABLE></DIV></H5>
<H5 class=3DP1><A name=3D969810></A>
<DIV class=3DP1Parameter>
<TABLE cellSpacing=3D0 cellPadding=3D5 border=3D0>
<TBODY>
<TR>
<TD vAlign=3Dtop width=3D180><SPAN=20
style=3D"FONT-FAMILY: monospace">SYNC_MAX_PROD_ID_SIZE =
</SPAN></TD>
<TD vAlign=3Dtop></SPAN>The number of bytes in the product ID=20
buffer.</TD></TR></TBODY></TABLE></DIV></H5>
<H5 class=3DP1><A name=3D969812></A>
<DIV class=3DP1Parameter>
<TABLE cellSpacing=3D0 cellPadding=3D5 border=3D0>
<TBODY>
<TR>
<TD vAlign=3Dtop width=3D180><SPAN=20
style=3D"FONT-FAMILY: monospace">SYNC_MAX_USERNAME_LENGTH =
</SPAN></TD>
<TD vAlign=3Dtop></SPAN>The maximum length of a user name (not =
including the null terminator character) on the=20
handheld.</TD></TR></TBODY></TABLE></DIV></H5>
<H5 class=3DP1><A name=3D969814></A>
<DIV class=3DP1Parameter>
<TABLE cellSpacing=3D0 cellPadding=3D5 border=3D0>
<TBODY>
<TR>
<TD vAlign=3Dtop width=3D180><SPAN=20
style=3D"FONT-FAMILY: =
monospace">SYNC_REMOTE_CARDNAME_BUF_SIZE=20
</SPAN></TD>
<TD vAlign=3Dtop></SPAN>The buffer size for the name of the =
memory=20
card on the handheld. This constant replaces the older =
constant=20
<SPAN=20
style=3D"FONT-FAMILY: =
monospace">REMOTE_CARDNAMELEN</SPAN>.</TD></TR></TBODY></TABLE></DIV></H5=
>
<H5 class=3DP1><A name=3D969816></A>
<DIV class=3DP1Parameter>
<TABLE cellSpacing=3D0 cellPadding=3D5 border=3D0>
<TBODY>
<TR>
<TD vAlign=3Dtop width=3D180><SPAN=20
style=3D"FONT-FAMILY: =
monospace">SYNC_REMOTE_MANUFNAME_BUF_SIZE=20
</SPAN></TD>
<TD vAlign=3Dtop></SPAN>The buffer size for the manufacturer =
name on=20
the handheld. This constant replaces the older constant =
<SPAN=20
style=3D"FONT-FAMILY: =
monospace">REMOTE_MANUFNAMELEN</SPAN>.</TD></TR></TBODY></TABLE></DIV></H=
5>
<H5 class=3DP1><A name=3D969818></A>
<DIV class=3DP1Parameter>
<TABLE cellSpacing=3D0 cellPadding=3D5 border=3D0>
<TBODY>
<TR>
<TD vAlign=3Dtop width=3D180><SPAN=20
style=3D"FONT-FAMILY: =
monospace">SYNC_REMOTE_PASSWORD_BUF_SIZE=20
</SPAN></TD>
<TD vAlign=3Dtop></SPAN>The buffer size for the password on =
the=20
handheld. This constant replaces the older constant <SPAN=20
style=3D"FONT-FAMILY: =
monospace">PASSWORD_LENGTH</SPAN>.</TD></TR></TBODY></TABLE></DIV></H5>
<H5 class=3DP1><A name=3D969820></A>
<DIV class=3DP1Parameter>
<TABLE cellSpacing=3D0 cellPadding=3D5 border=3D0>
<TBODY>
<TR>
<TD vAlign=3Dtop width=3D180><SPAN=20
style=3D"FONT-FAMILY: =
monospace">SYNC_REMOTE_USERNAME_BUF_SIZE=20
</SPAN></TD>
<TD vAlign=3Dtop></SPAN><BR>The buffer size for the user name =
on the=20
handheld. This constant replaces the older constant <SPAN=20
style=3D"FONT-FAMILY: =
monospace">REMOTE_USERNAME</SPAN>.</TD></TR></TBODY></TABLE></DIV></H5>
<H2 class=3DHBHeadB><A name=3D969823></A>Database Flag (eDbFlags) =
Constants <A=20
=
href=3D"http://www.palmos.com/dev/support/docs/conduits/win/CRef_SyncMgr.=
html#969592"><SPAN=20
class=3Dnav>^TOP^</SPAN></A> </H2>
<P class=3DBody><A name=3D969824></A>You can combine the database =
flag=20
constants together to specify information about a database. Each =
flag=20
indicates a property or condition of the database. Note that =
additional=20
values for this enum have been defined in <SPAN=20
style=3D"FONT-FAMILY: monospace">SyncMgr.h</SPAN> since CDK =
version 4.03=20
(see <A=20
=
href=3D"http://www.palmos.com/dev/support/docs/conduits/win/CRef_Compatib=
ility.html#971531">Appendix=20
A, "Compatibility Guide,"</A>). </P><PRE class=3DPreformatted>enum =
eDbFlags {<A name=3D969825> </A>
eRecord =
=3D 0x0000,<A name=3D969826> </A>
eResource &nbs=
p; =3D 0x0001,<A name=3D969827> </A>
eReadOnly &nbs=
p; =3D 0x0002,<A name=3D969828> </A>
eAppInfoDirty =
=3D 0x0004,<A name=3D969829> </A>
eBackupDB &nbs=
p; =3D 0x0008,<A name=3D969830> </A>
eOkToInstallNewer =3D 0x0010,<A =
name=3D969831> </A>
eResetAfterInstall =3D 0x0020,<A =
name=3D969832> </A>
eCopyPrevention =3D =
0x0040,<A name=3D969833> </A>
eStream =
=3D 0x0080,<A name=3D981178> </A>
eHidden =
=3D 0x0100,<A name=3D981221> </A>
eLaunchableData =3D =
0x0200,<A name=3D981222> </A>
eRecyclable &n=
bsp; =3D 0x0400,<A name=3D981223> </A>
eBundle =
=3D 0x0800,<A name=3D981202> </A>
eOpenDB =
=3D 0x8000<A name=3D969834> </A>
};<A name=3D969835> </A>
</PRE>
<P class=3DBody><A name=3D969836></A>Note that the <SPAN=20
style=3D"FONT-FAMILY: monospace">eRecord</SPAN> and <SPAN=20
style=3D"FONT-FAMILY: monospace">eResource</SPAN> flags are =
mutually=20
exclusive and that you must specify exactly one of them when =
creating a=20
database. </P>
<H5 class=3DP1><A name=3D969837></A>
<DIV class=3DP1Parameter>
<TABLE cellSpacing=3D0 cellPadding=3D5 border=3D0>
<TBODY>
<TR>
<TD vAlign=3Dtop width=3D180><SPAN=20
style=3D"FONT-FAMILY: monospace">eRecord </SPAN></TD>
<TD vAlign=3Dtop></SPAN>When this flag is set, indicates that =
the=20
database is a record database. This is the default=20
value.</TD></TR></TBODY></TABLE></DIV></H5>
<H5 class=3DP1><A name=3D969838></A>
<DIV class=3DP1Parameter>
<TABLE cellSpacing=3D0 cellPadding=3D5 border=3D0>
<TBODY>
<TR>
<TD vAlign=3Dtop width=3D180><SPAN=20
style=3D"FONT-FAMILY: monospace">eAppInfoDirty </SPAN></TD>
<TD vAlign=3Dtop></SPAN>When this flag is set, indicates that =
the=20
application information block has been=20
modified.</TD></TR></TBODY></TABLE></DIV></H5>
<H5 class=3DP1><A name=3D969839></A>
<DIV class=3DP1Parameter>
<TABLE cellSpacing=3D0 cellPadding=3D5 border=3D0>
<TBODY>
<TR>
<TD vAlign=3Dtop width=3D180><SPAN=20
style=3D"FONT-FAMILY: monospace">eBackupDB </SPAN></TD>
<TD vAlign=3Dtop></SPAN>When this flag is set, indicates that =
the=20
database is to be backed up to the desktop computer if no=20
application-specific conduit has been=20
supplied.</TD></TR></TBODY></TABLE></DIV></H5>
<H5 class=3DP1><A name=3D969840></A>
<DIV class=3DP1Parameter>
<TABLE cellSpacing=3D0 cellPadding=3D5 border=3D0>
<TBODY>
<TR>
<TD vAlign=3Dtop width=3D180><SPAN=20
style=3D"FONT-FAMILY: monospace">eOkToInstallNewer =
</SPAN></TD>
<TD vAlign=3Dtop></SPAN>When this flag is set, indicates that =
the=20
backup/restore conduit can install a newer version of the =
database=20
with a different name if the current database is currently =
opened.=20
For example, the Graffiti<SUP>=AE</SUP> 2 shortcut database =
is updated=20
in this manner.</TD></TR></TBODY></TABLE></DIV></H5>
<H5 class=3DP1><A name=3D969841></A>
<DIV class=3DP1Parameter>
<TABLE cellSpacing=3D0 cellPadding=3D5 border=3D0>
<TBODY>
<TR>
<TD vAlign=3Dtop width=3D180><SPAN=20
style=3D"FONT-FAMILY: monospace">eCopyPrevention =
</SPAN></TD>
<TD vAlign=3Dtop></SPAN>When this flag is set, indicates that =
the=20
database is not to be copied or beamed to other=20
handhelds.</TD></TR></TBODY></TABLE></DIV></H5>
<H5 class=3DP1><A name=3D981275></A>
<DIV class=3DP1Parameter>
<TABLE cellSpacing=3D0 cellPadding=3D5 border=3D0>
<TBODY>
<TR>
<TD vAlign=3Dtop width=3D180><SPAN=20
style=3D"FONT-FAMILY: monospace">eStream</SPAN> </TD>
<TD vAlign=3Dtop>When this flag is set, indicates that this =
database=20
is used for file stream=20
implementation.</TD></TR></TBODY></TABLE></DIV></H5>
<H5 class=3DP1><A name=3D981296></A>
<DIV class=3DP1Parameter>
<TABLE cellSpacing=3D0 cellPadding=3D5 border=3D0>
<TBODY>
<TR>
<TD vAlign=3Dtop width=3D180><SPAN=20
style=3D"FONT-FAMILY: monospace">eHidden</SPAN> </TD>
<TD vAlign=3Dtop>When this flag is set, indicates that this =
database=20
should generally be hidden from view. This flag is used to =
hide some=20
applications from the main view of the Launcher, for =
example. For=20
record (not resource) databases, this flag hides the record =
count=20
within the Launcher's Info =
form.</TD></TR></TBODY></TABLE></DIV></H5>
<H5 class=3DP1><A name=3D981333></A>
<DIV class=3DP1Parameter>
<TABLE cellSpacing=3D0 cellPadding=3D5 border=3D0>
<TBODY>
<TR>
<TD vAlign=3Dtop width=3D180><SPAN=20
style=3D"FONT-FAMILY: monospace">eLaunchableData</SPAN> =
</TD>
<TD vAlign=3Dtop>When this flag is set, indicates that this =
record=20
database (not applicable for executables) can be "launched" =
by=20
passing its name to its owner application (<SPAN=20
style=3D"FONT-FAMILY: monospace">'appl'</SPAN> database with =
same=20
creator ID) using the <SPAN=20
style=3D"FONT-FAMILY: =
monospace">sysAppLaunchCmdOpenNamedDB</SPAN>=20
action code. </TD></TR></TBODY></TABLE></DIV></H5>
<H5 class=3DP1><A name=3D981378></A>
<DIV class=3DP1Parameter>
<TABLE cellSpacing=3D0 cellPadding=3D5 border=3D0>
<TBODY>
<TR>
<TD vAlign=3Dtop width=3D180><SPAN=20
style=3D"FONT-FAMILY: monospace">eRecyclable</SPAN> </TD>
<TD vAlign=3Dtop>When this flag is set, indicates that this =
database=20
(resource or record) is "recyclable" =97 that is, it will be =
deleted=20
very soon, generally the next time the database is=20
closed.</TD></TR></TBODY></TABLE></DIV></H5>
<H5 class=3DP1><A name=3D981408></A>
<DIV class=3DP1Parameter>
<TABLE cellSpacing=3D0 cellPadding=3D5 border=3D0>
<TBODY>
<TR>
<TD vAlign=3Dtop width=3D180><SPAN=20
style=3D"FONT-FAMILY: monospace">eBundle</SPAN> </TD>
<TD vAlign=3Dtop>When this flag is set, indicates that this =
database=20
(resource or record) is associated with the application with =
the=20
same creator ID. It will be beamed and copied along with the =
application. </TD></TR></TBODY></TABLE></DIV></H5>
<H5 class=3DP1><A name=3D969842></A>
<DIV class=3DP1Parameter>
<TABLE cellSpacing=3D0 cellPadding=3D5 border=3D0>
<TBODY>
<TR>
<TD vAlign=3Dtop width=3D180><SPAN=20
style=3D"FONT-FAMILY: monospace">eOpenDB </SPAN></TD>
<TD vAlign=3Dtop></SPAN>When this flag is set, indicates that =
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -