(3) - Library routines

intro
introduction to functions and libraries
DosCallNmPipe
opens a named pipe, writes to it, reads from it, then closes it
DosClose
closes a named pipe
DosConnectNmPipe
waits for a client to open an instance of a named pipe
DosDeleteMailslot
deletes a mailslot
DosDisConnectNmPipe
forces a named pipe closed
DosDupHandle
duplicates the handle to a named pipe
DosMailslotInfo
retrieves information about a specified mailslot
DosMakeMailslot
creates a mailslot and returns its handle
DosMakeNmPipe
creates a new named pipe new instance existing named pipe, and returns its handle.
DosOpen
opens the client end of a named pipe
DosPeekMailslot
reads the most current message in a mailslot
DosPeekNmPipe
reads the data in a named pipe
DosPrintDestControl
cancels or restarts a print job, pauses or continues a printer
DosPrintDestEnum
retrieves a list of all print destinations on a server and, optionally, status information on each
DosPrintDestGetInfo
retrieves information about a specified print destination
DosPrintJobContinue
continues a paused print job
DosPrintJobDel
deletes a print job from a print queue
DosPrintJobEnum
retrieves a list of print jobs in a specified print queue and, optionally, status information on each
DosPrintJobGetInfo
retrieves information about a specified print job
DosPrintJobPause
pauses a print job in a print queue
DosPrintJobSetInfo
modifies the parameters for a submitted print job
DosPrintQAdd
establishes a print queue on a server
DosPrintQContinue
reenables a paused print queue
DosPrintQDel
deletes a print queue from a server
DosPrintQEnum
lists all print queues on a server
DosPrintQGetInfo
retrieves information about a print queue
DosPrintQPause
pauses a print queue
DosPrintQPurge
removes all but the current print job from a print queue
DosPrintQSetInfo
modifies a print queue's configuration
DosQFHandState
retrieves information about the handle of a named pipe
DosQHandType
returns the type of a specified handle
DosQNmPHandState
returns information about the current state of a named pipe
DosQNmPipeInfo
retrieves information about buffers
DosRead
reads data from a named pipe
DosReadMailslot
reads, then removes a mailslot's most current message
DosSetFHandState
modifies a named pipe's open mode state
DosSetNmPHandState
modifies the state of a named pipe
DosTransactNmPipe
writes a message to and then reads a message from a named pipe
DosWaitNmPipe
enables a client to wait for an available instance of a named pipe
DosWrite
writes data to a file or named pipe
DosWriteMailslot
writes a message to a specified mailslot
getlmxname
returns the network name of the Advanced Server Systems running on the local computer
getlmxpath
returns the pathname of the Advanced UNIX
nb_connect
establishes a virtual circuit connection to a specified NetBIOS name
nb_connect_name
returns the NetBIOS name assigned to the local endpoint when nb_connect was used to establish a connection
nb_devname
retrieves the name of the network device provider associated with a specified network number and type of service
nb_getname
returns the NetBIOS name of the computer at the other end of a virtual circuit connection or the sender of a datagram
nb_postname
posts a NetBIOS name to all of the specified networks netnum
nb_putname
puts a NetBIOS name into the data structure appropriate for the underlying provider
NetAccessAdd
creates an access permission record
NetAccessCloseBuffer
closes the self-relative access
NetAccessDel
deletes access permission records
NetAccessFillBuffer
adds the new entry to the self-relative will later be used in NetAccessSetInfoAny call.
NetAccessGetInfo
retrieves an access permission record
NetAccessGetInfoAny
retrieves access control information for resource.
NetAccessInitBuffer
initializes the self-relative buffer be used for storage of ACCESS_INFO_2 structure.
NetAccessSetInfo
modifies an access permission record
NetAccessSetInfoAny
changes the access control a specific resource.
NetAlertRaise
notifies service programs and applications that an event has occurred
NetAlertStart
registers entities to be notified of network events
NetAlertStop
removes registered entities from the alert table
NetApiBufferAllocate
allocates ByteCount bytes of memory.
NetApiBufferFree
frees the memory allocated by the
NetAuditPolicyGetInfo
retrieves information about the audit on a server.
NetAuditPolicySetInfo
sets the audit policy parameters on a
NetConnectionEnum
lists all connections made to a specified resource
NetConnectionEnum32
lists all of the connections made to a on the server or all of the connections established particular computer.
NetDomainComputerAdd
adds the backup server or workstation the domain for which the specified server is a primary
NetDomainComputerDel
deletes the backup server or from the domain for which the specified server is domain controller.
NetDomainSyncDomain
forces a primary domain controller to ask domain controller in its domain to replicate now.
NetDomainSyncServer
forces a backup domain controller to get copy of the SAM database from the primary domain controller. will perform a full synchronize.
NetElfBackupEventLog
saves the specified event log to a
NetElfClearEventLog
clears the specified event log and the current copy of the log file to a backup file.
NetElfCloseEventLog
closes the specified event log.
NetElfCloseEventLogDetail
closes a handle of an event log information.
NetElfDeregisterEventSource
closes a handle returned by the
NetElfEventLogGetInfo
retrieves information about the configuration settings on a server.
NetElfEventLogSetInfo
sets the event log configuration a server.
NetElfGetNumberOfEventLogRecords
retrieves the number of the specified event log.
NetElfGetOldestEventLogRecord
retrieves the absolute record the oldest record in the specified event log.
NetElfOpenBackupEventLog
opens a handle of a backup event
NetElfOpenEventLog
opens a handle of an event log.
NetElfOpenEventLogDetail
opens a handle of an event log record detail
NetElfReadEventLog
reads a whole number of entries from the log.
NetElfReadEventLogDetail
retrieves a detailed information event log record (the error message string corresponding error number contained in the event log record).
NetElfRegisterEventSource
returns a handle that can be used NetElfReportEvent function to log an event.
NetElfReportEvent
writes an entry at the end of the specified
NetFileClose2
forces a resource to close
NetFileClose32
forces a resource to close.
NetFileEnum2
supplies information about open files on a server
NetFileEnum32
supplies information about some or all of the on a server.
NetFileGetInfo2
retrieves information about a server resource
NetFileGetInfo32
information about a particular opening of resource.
NetGetDCName
returns the name of a domain controller for a specified domain
NetGetDisplayInformationIndex
determines the position of in the sorted list of account names, all global group account names, computer account names. is used to determine a starting position for subsequent NetQueryDisplayInformation.
NetGroupAdd
creates a new global group account on a server
NetGroupAdd32
creates a global group in the security database.
NetGroupAddUser
adds a user to a specified global group on a server
NetGroupAddUser32
gives an existing user account membership existing global group.
NetGroupDel
removes a global group account from a server
NetGroupDel32
deletes a global group account from the account database.
NetGroupDelUser
removes a user from a specified global a server
NetGroupDelUser32
removes a user from a particular global the security database.
NetGroupEnum
lists all global group accounts on a server
NetGroupEnum32
retrieves information about each global group account.
NetGroupGetInfo
gets group-related information
NetGroupGetInfo32
retrieves information about global group account on a server.
NetGroupGetUsers
returns a list of members of a specified global group on a server
NetGroupGetUsers32
retrieves a list of the members of a group in the security database.
NetGroupSetInfo
sets information for a given global group
NetGroupSetInfo32
sets the parameters of a global group account.
NetGroupSetUsers
sets information about users who belong to a particular global group
NetGroupSetUsers32
sets the global group membership specified global group. Each user specified is made a the global group. Users that are not specified but are of the global group will have their membership revoked.
NetHandleGetInfo
retrieves handle-specific information for character-device and named-pipe handles
NetLocalGroupAdd
creates a local group in the security
NetLocalGroupAddMember
gives an existing user account or membership in an existing local group.
NetLocalGroupDel
deletes a local group from the accounts
NetLocalGroupDelMember
removes a member from a particular in the security database.
NetLocalGroupEnum
retrieves information about each local
NetLocalGroupGetInfo
retrieves information about a particular account on a server.
NetLocalGroupGetMembers
retrieves a list of the members of a group in the security database.
NetLocalGroupSetInfo
sets the parameters of a local group.
NetLocalGroupSetMembers
sets the local group membership for local group.
NetLookupAccountName
accepts the name of a system and an input. a security identifier (SID) for the account and the name domain on which the account was found.
NetLookupAccountSid
accepts a security identifier (SID) as the name of the account for this SID and of the first domain on which this SID is found.
NetMessageBufferSend
sends a buffer of information to a registered user on a specified computer
NetQueryDisplayInformation
returns user, global group, or information. The information is returned in a is useful for display in user interfaces.
NetRemoteTOD
returns a server's time of day
NetReplExportDirAdd
registers an existing directory in the to be replicated. The default values for locktime and 0) are assumed.
NetReplExportDirDel
deregisters a replicated directory.
NetReplExportDirEnum
lists the replicated directories in the
NetReplExportDirGetInfo
retrieves a replicated directory's
NetReplExportDirLock
locks a replicated directory so that it can be suspended.
NetReplExportDirSetInfo
modifies the control information of a
NetReplExportDirUnlock
unlocks a directory so that it can resume.
NetReplGetInfo
retrieves the Directory Replicator service
NetReplImportDirAdd
registers an existing directory in the to receive replication from a master.
NetReplImportDirDel
deregisters a directory so that it no updates from the master.
NetReplImportDirEnum
lists the replicated directories in the
NetReplImportDirGetInfo
retrieves the status information on a directory.
NetReplImportDirLock
locks a replicated directory so that it can be suspended.
NetReplImportDirUnlock
unlocks a directory so that it can resume.
NetReplSetInfo
modifies the Directory Replicator service
NetServerAdminCommand
executes a command on a server
NetServerDiskEnum
retrieves a list of disk drives on a server
NetServerDiskEnum32
a list of disk drives on a server.
NetServerEnum2
lists all servers of the specified type(s) that are visible in the specified domain(s)
NetServerGetInfo
retrieves information about a specified server
NetServerGetInfo32
retrieves information about the specified server.
NetServerSetInfo
sets a server's operating parameters
NetServerSetInfo32
sets a server's operating parameters; set them individually or collectively. is stored in a way that allows it to remain in effect system has been reinitialized.
NetServiceControl
controls the operations of network services
NetServiceEnum
retrieves information about all network services installed
NetServiceGetInfo
retrieves information about a specified network service
NetServiceGetStartup
retrieves the configuration parameters specified service.
NetServiceSetStartup
changes the configuration parameters of
NetServiceStatus
sets status and code information for a network service
NetSessionDel
ends a session between a client and a server
NetSessionDel32
ends a session between a server and a
NetSessionEnum
provides information on all current sessions
NetSessionEnum32
provides information about all current
NetSessionGetInfo
retrieves information about a session
NetSessionGetInfo32
retrieves information about a between a particular server and workstation.
NetShareAdd
shares a resource on a server
NetShareAdd32
shares a server resource.
NetShareCheck
queries whether a server is sharing a device
NetShareCheck32
checks whether or not a server is device.
NetShareDel
deletes a sharename from a server's list of shared resources
NetShareDel32
deletes a share name from a server's shared resources, disconnecting all connections to the shared
NetShareEnum
retrieves share information about each shared resource on a server
NetShareEnum32
retrieves information about each shared a server.
NetShareGetInfo
retrieves information about a specified shared resource on a server
NetShareGetInfo32
retrieves information about a resource on a server.
NetShareSetInfo
sets a shared resource's parameters
NetShareSetInfo32
sets the parameters of a shared resource.
NetStatisticsGet2
gets operating statistics for a service
NetTrustAddPermittedToTrustDomain
adds the domain to of the domains which are permitted to trust by the domain the specified server is a primary domain controller.
NetTrustAddTrustedDomain
adds the domain to the list of trusted by the domain for which the specified server primary domain controller.
NetTrustDelPermittedToTrustDomain
deletes the domain list of the domains which are permitted to trust by the which the specified server is a primary domain controller.
NetTrustDelTrustedDomain
deletes the domain from the list domains trusted by the domain for which the specified server primary domain controller.
NetTrustEnumPermittedToTrustDomains
retrieves information about which are permitted to trust by the domain for which server is a domain controller.
NetTrustEnumTrustedDomains
retrieves information about all are trusted by the domain for which the specified server domain controller.
NetUserAdd
establishes an account for a user
NetUserAdd32
adds a user account.
NetUserDel
removes an account from a server
NetUserDel32
deletes a user account from the accounts
NetUserEnum
returns information about all user accounts on a server
NetUserEnum32
provides information about account in a domain.
NetUserGetGroups
lists the names of all groups on a server to which a particular user belongs
NetUserGetGroups32
retrieves a list of global groups to specified user belongs.
NetUserGetInfo
retrieves information about a specified user account on a server
NetUserGetInfo32
about a particular user account on a server.
NetUserGetLocalGroups
retrieves a list of local groups to specified user belongs.
NetUserModalsGet
gets global information for on system security.
NetUserModalsGet32
retrieves global information for and global groups in the security database.
NetUserModalsSet
sets global information on system
NetUserModalsSet32
sets global information for and global groups in the security database.
NetUserPasswordSet
changes the password stored for a user's account on a server
NetUserSetGroups
sets the groups to which a specified user belongs
NetUserSetGroups32
group memberships for a specified user account.
NetUserSetInfo
modifies information about user account on a server
NetUserSetInfo32
sets the parameters of a user account.
NetUserValidate2
validates a user's account
NetWkstaGetInfo
returns information about a client's
NetWkstaSetUID2
logs a user on to or off from the network and runs a logon script