home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 29 Fixes_o
/
29-Fixes_o.zip
/
IP7060D1.DSK
/
RDMEAPR.INF
(
.txt
)
< prev
next >
Wrap
OS/2 Help File
|
1995-05-03
|
12KB
|
241 lines
ΓòÉΓòÉΓòÉ 1. Application Programmer's Reference ΓòÉΓòÉΓòÉ
This file contains additions and corrections to OS/2 LAN Server Application
Programmer's Reference Version 3.0 (S96F-8440-00).
Page 1-3: Remove line in API Overview, in Enum Functions section that reads:
"The Enum function loops to get more data."
Page 3-3: Add this entry to the acc0_resource_name table as the first item: the
Resource Type of "Drive", and the Name Format of "drive:".
Page 3-31: Change the three references of "client" to "mailslot or semaphore
client".
Page 3-94: In the Connection category, at the fourth bullet, "structure" should
be plural.
Page 3-116: The code fragment "NetFileEnum2(...,&f,...)" should be
"NetFileEnum2(...,&f)"; the resume_key is the last argument.
Page 3-120: Change the Group Membership Information (Level 0) bullet from
"grpi0_name" to "grui0_name".
Page 3-150: In the Mailslot category, the handle type for DosPeekMailslot is an
unsigned LSINT. Insert LSINT.
Page 3-174: A NULL "forwardname" is an error. A null pointer or string must
not be used to specify a local computer receiving messages.
Page 3-176: The NetMessageNameXXX APIs refer to the messaging name as a
"user's" name, but NetMessageNameBufferSend and NetMessageNameFileSend say
"user or application." In fact, the term "user or application" is true for all
messaging names.
Page 3-180: In the Named Pipe category, newer counterparts may be located in
the OS2386.LIB library. For more information, see the OS/2 2.0 Control Program
Programming Reference.
Page 3-185: Near the bottom of the page, "nb0_net_name" should have brackets
and a semicolon. Declare it as "nb0_net_name[NETBIOS_NAME_LEN+1];".
Page 3-272: In Note 2, bottom of the page, change "y = 1 or 10." to omit "or
10". Level 10 is not valid for NetWkstaSetInfo.
Page 3-311: In the API declaration, "type" should be the same as "servertype"
in the listing and the explanation.
Page 3-312: The following sentence should be added to the end of the Remarks
section: "A NULL value for DOMAIN indicates that the NetServerEnum2 API should
return information for all domains that the requester is monitoring."
Page 3-322: Near the bottom of the page, "The low-word values of svcc_code"
should be "...svcs_code".
Page 3-324: Near the top and again at the end of the page, svcs_pid should be
called the "process" identification number, not the "program" identification
number. At the end of Service Information (Level 1), "svcs_pid" should be
"svci1_pid". Both svci1_status and svci2_status should "specify the status of
network service. The status bits are defined in service status on page 3-321."
Page 3-325: In the first paragraph, "srvc_code" should be "svcs_code". In the
second paragraph, svcs_pid identifies the "process" identification number, not
the "program" identification number.
Page 3-356: In the Share category, at the third bullet, "structure" should be
plural.
Page 3-389: In the User category, "usri1_home_dir" can be NULL also. In the
"usri1_flags" table at the bottom of the page, UF_SCRIPT must be set (bit 0
turned on) when adding a user.
Page 3-394: Change the second bullet entry of "usri2_max_storage" to
"usri11_max_storage".
Page 3-397 and 3-398: In the user_logon_info_2 structure, the field
"usrlog2_fullname" should be "usrlog2_full_name".
Page 3-373: The third paragraph in the description for Use Category contains a
sentence that should be removed: "Once a UNC connection is established, users
or programs can access the remote resource by specifying just the netname of
the resource." UNC use means the full UNC name must be used.
Page 3-393: User information is reversed. On page 3-393, the one-line
description for User Account Information (Level 10) should be swapped with that
of User Account Information (Level 11). Level 11 is limited; level 10 is
available for all users to view all users.
Page 3-394: Near the top of the page, the usri11_parms description should be,
"points to an ASCIIZ string that is set aside for use by applications. The
string can be NULL or it can have as many as MAXCOMMENTSZ + 1 bytes." It is
the same as usri2_parms.
Page 3-397: In the User category, "usrlog2_fullname" should be
"usrlog2_full_name".
Page 3-398: In the user_logoff_info_1 structure, change "usrlog1_code" to
"usrlogf1_code". Remove the final "_l" from the structure "app_sel_list_l".
Pages 3-410 and 3-425: In the NetUserGetAppSel API and NetUserSetAppSel API
Remarks section, change the last line in Remarks from "...logged-on user's
private applications." to "...logged-on user's desktop applications."
Page 3-424: The one-line description of NetUserSetAppSel should read: "The
NetUserSetAppSel (partially admin) function sets ..." rather than "The
NetUserSetAppSel (partially admin) function modifies ...".
Page 3-425: In step one insert a second paragraph in Remarks reading: "Domain
control database subdirectories and files must exist for the user before
NetUserGetAppSel is called. The NetUserDCDBInit function can be used to create
the subdirectories and files."
Page 3-425: Remove "again" from the line that reads: 3. Call NetUserSetAppSel
again. Add a line to the Remarks section of the NetUserSetAppSel API that
reads: "The asl_apptype field of the app_sel_list structure is ignored for this
API."
Page 3-428: The NetUserSetInfo description has the phrase "in the system."
Change this to, "in the user accounts subsystem (UAS) database."
Page 3-432: The listing in the \IBMLAN\NETSRC\H\DCDB.H file is as follows:
NetUserSetLogonAsn(const char LSFAR * servername,
char LSFAR * user,
short level,
char LSFAR * buf,
unsigned short buflen);
Remove the count parameter, as it is not in the actual definition.
Page 3-433: Add a line to the Remarks section of the NetUserSetLogonAsn API
that reads: "The lal_type field of the logon_asn_list structure is ignored for
this API." Insert a third paragraph in Remarks reading: "In order to add a
single logon assignment to an existing user logon, the user must
1. Call NetUserGetLogonAsn.
2. Add a logon_asn_list structure for the application to be added to the
returned buffer.
3. Call NetUserSetLogonAsn."
Page 3-434: For the API NetUserValidate2, the meaning for ERROR_ACCESS_DENIED
should be: "The username and password do not correspond to an active account",
NOT "administrative privilege is required".
Page 3-435: In the User category, NetUserValidate2 API description, remove the
second sentence under Remarks. Remove "The behavior of this API is undefined
if the value of reserved1 is not 0."
Page 3-436 to 3-443: In the UPM category, all the function names can be all
lowercase or all uppercase, but not mixed-case. In the listing for syntax,
change Upmeulgn to upmeulgn. Do the same for the other four UPM functions.
Page 3-439: After UPM_OK it should say in the return codes, "The user was
logged off successfully." instead of "The user was logged on successfully."
Exchange "on" for "off".
Page 3-440: In the UPM category, at the top of the page, change UPMEULGF to
UPMGULGF (for COBOL interfaces).
Page 3-442: Parameter "type" is an unsigned short, but the real API function
has this parameter as a pointer to that type.
Page 3-443: In the "upm_user_logon" structure, remotetype should be "short".
Appendix A, page A-3: The USE.H include file declares information pertinent to
the Use category, and the ACCESS.H include file defines the User category.
DCDB.H is correctly listed under the User category. Page A-3 entries should
read as follows:
API Category Include Files Purpose
------------------------------------------------------------------------
Use USE.H Declares structures, constants, and
functions that examine or control
connections (uses) between requesters and
servers.
User ACCESS.H Declares structures, constants, and
functions that retrieve or control user
information. Used also with functions in
the access permissions and group categories.
Appendix B, pages 1 - 3: Moving the contents of netoem.dll to netapi.dll
effected the following changes to the function link-time libraries:
On page B-1, the second sentence that ends "...to a program at run time."
should read: "to a program at program load time." The following sentences
should be inserted as a new second paragraph:
"Note: Application developers may wish to use dynamic loading and address
resolution instead of the import libraries listed below. See the IBM OS/2
Technical Library Programming Guides for information on dynamic loading
and addressing."
On page B-2, the sentence about NETOEM.LIB should be removed, and the three
APIs that are listed should be moved to the above NETAPI.LIB section:
NetMessageBufferSend
NetMessageFileSend
NetServerEnum2
On page B-3, the sentence about NETOEM.LIB should be removed, and the 16 APIs
that are listed should be moved to the above NETAPI.LIB section:
NetAliasAdd NetAppAdd NetUserDCDBInit
NetAliasDel NetAppDel NetUserGetAppSel
NetAliasEnum NetAppEnum NetUserSetAppSel
NetAliasGetInfo NetAppGetInfo NetUserGetLogonAsn
NetAliasSetInfo NetAppSetInfo NetUserSetLogonAsn
Note: LS 3.0 APR lists NetAliasAdd twice ; it should only list it once.
Page B-3: In the runtime libraries, the "Library Contents Directory" table
entry for NETOEM.DLL should read:
NETOEM.DLL Stub library for legacy applications. \MUGLIB\DLL
Appendix C, page C-12: The error codes in NETERR.H FOR FTADMIN API are not
documented. The following #defines listed in \ibmlan\netsrc\h\neterr.h were
left out of the FTADMIN section on page C-12 of Appendix C of the LAN Server
Application Programmer's Reference. They correspond to error values 2529 -
2534.
#define NERR_FTUnableToStart (NERR_BASE+429) /* The verifier/correcter cannot be started. */
#define NERR_FTNotInProgress (NERR_BASE+430) /* The verifier/correcter can't be aborted because it isn't started. */
#define NERR_FTUnableToAbort (NERR_BASE+431) /* The verifier/correcter can't be aborted. */
#define NERR_FTUnabletoChange (NERR_BASE+432) /* The disk could not be locked/unlocked. */
#define NERR_FTInvalidErrHandle (NERR_BASE+433) /* The error handle was not recognized. */
#define NERR_FTDriveNotMirrored (NERR_BASE+434) /* The drive is not mirrored. */
Appendix E, page E-8: The following dependency and the return code need to be
documented for DosReadAsyncNmPipe: the buffer size provided as input on the
DosReadAsyncNmPipe API has a dependency on the value specified in DOSLAN.INI
for /NBS. The buffer size provided as input must be less than or equal to the
value specified for /NBS:xK. If the buffer size is too big, DOS LAN Requester
returns return code 122, which has the manifest ERROR_INSUFFICIENT_BUFFER. It
means, "data buffer too small".
This is true for the DosWriteAsyncNmPipe API as well.
Page X-5: The lower-case index reference with "g" in NetServerGetInfo on page
X-5 should be upper-case "G".