Groups search result 7 for winHswitchfromhapp |
Here's a quick summary of the nice new APIs found in Warp Server for
e-business.
This is a partial list of APIs that have been added or that have been
enhanced. For more information, please consult the Version 4.5 OS/2
Warp Programmer's Toolkit (see
http://www.developer.ibm.com/devcon/products.htm) and other resources.
In particular, the new SSL libraries in MPTS are not enumerated here.
Also, new/enhanced APIs previously provided with Warp Server SMP are
also not included in this list if they haven't received further
enhancement.
There are several very interesting additions. Some of my favorites
include DevHlp_KillProc, DosSetProcessorStatus, and WinRestartWorkplace.
Enjoy!
Timothy Sipples
IBM Network Computing Software
Chicago, Illinois
DEBUG COMMANDS
DBG_C_Attach
Attach to a process command
DBG_C_Detach
Detach from a process under Debug Command
DGB_C_RegDebug
JIT (Just-in-Time) Debugger Registration/Deregistration Command
DGB_C_QueryDebug
Query Debugger JIT Registered Command
DEVHLP SERVICES
DevHlp_CloseFile
Close file (system initialization time only)
DevHlp_FreeCtxHook
Free context hook
DevHlp_FileOpen
Open file (at initialization)
DevHlp_GetDosVar
Return address of kernel variable
DevHlp_KillProc
Kill process unconditionally
DevHlp_OpenFile
Open file (system initialization time only)
DevHlp_PerfSysTrace
Write Software Trace information to STRACE buffer
DevHlp_QSysState
Get system status information
DevHlp_ReadFile
Read (system initialization time only)
DevHlp_ReadFileAt
Seek and Read (system initialization time only)
DevHlp_RegisterKDD
Register driver with kernel debugger
DevHlp_SysTrace
Add information to system trace buffer
SYSTEM EVENT NOTIFICATION
event_POWER
Power off event
CONTROL PROGRAM FUNCTIONS
DosAliasMem
Creates private read/write alias or LDT code segment alias to part of
existing memory object
DosCancelLockRequestL
Cancels an outstanding DosSetFileLocksL
DosClose
Closes a handle to a disk
DosCreateEventSem
Creates an event semaphore
DosCreateThread2
Creates async thread of execution under current process using
pre-allocated stack
DosDumpProcess
Initiates process dump for specified process
DosFindFirst
Find first file object or group of file objects whose names match
specification
DosFindNext
Finds next set of file objects whose names match specification
DosForceSystemDump
Initiates a standalone dump
DosGetProcessorStatus
Returns online or offline processor status of each SMP processor
DosListIO
Performs the specified number of seek/read or seek/write operations
DosListIOL
Performs the specified number of seek/read or seek/write (or both)
operations
DosOpen
Opens a physical or logical disk and returns a handle for operations
DosOpenL
Opens a new file, existing file, or replacement for an existing file
DosPerfSysCall
Retrieves system performance information and performs software
tracing
DosProtectOpenL
Opens a new file, existing file, or replacement for an existing file;
returns protected file handle
DosProtectQueryFileInfo
Gets file information
DosProtectSetFileInfo
Sets file information
DosProtectSetFileLocksL
Locks and unlocks a range of an open file
DosProtectSetFilePtrL
Moves the read or write pointer according to the type of move
specified
DosProtectSetFileSizeL
Changes the size of a file
DosQueryABIOSSupport
Returns flags that indicate various basic hardware configurations
DosQueryFileInfo
Gets file information
DosQueryMemState
Gets the status of a range of pages in memory
Dos16QueryModFromCS
Queries the name, segment, and handle that corresponds to a 16-bit
selector
DosQueryModFromEIP
Queries a module handle and name from a give flat address
DosQueryPathInfo
Gets file information for a file or subdirectory
DosQuerySysInfo
Returns values of static system variables
DosQuerySysState
Returns information about various resources in use by the system
DosQueryThreadAffinity
Allows a thread to inquire for the current thread's processor
affinity mask and the system's capable processor affinity mask
DosRead
Reads the specified number of bytes from a disk to a buffered
location
DosReplaceModule
Replaces or caches a module that is in use
DosSetFileInfo
Sets file information
DosSetFileLocksL
Locks and unlocks a range of an open file
DosSetFilePtr
Moves the read/write pointer according to the type of move specified
DosSetFilePtrL
Moves the read/write pointer according to the type of move specified
DosSetFileSizeL
Changes the size of a file
DosSetPathInfo
Sets information for a file or directory
DosSetProcessorStatus
Sets the online or offline status of an SMP processor
DosSetThreadAffinity
Allows the calling thread to change the processor affinity mask for
the current thread
Dos16SysTrace
Writes a trace record to the system trace buffer
DosTmrQueryFreq
Queries the frequency of the high resolution timer
DosTmrQueryTime
Queries the 64-bit high resolution timer
DosVerifyPidTid
Validates a PID/TID pair
DosWrite
Writes a specified number of bytes to disk
RAW FILE SYSTEM APIs
New data types:
FILELOCKL
FILEFINDBUF3L
FILEFINDBUF4L
FILESTATUS3L
FILESTATUS4L
ListIOL
MPAffinity
IOCTLS
69h
Logical Volume Management
0Eh
Query geometry and physical parameters of hard disk
NETWORK APIs
NetServerNameAdd
Adds a secondary server computername to a server, allowing network
requests directed to the secondary name to be received and processed by
the server
NetServerNameDel
Removes a secondary server computername, closing all shares and
sessions to that name
NetServerNameEnum
Enumerates the set of computernames by which the server is known on
the network
WINDOWING FUNCTIONS
WinHAPPfromPID
Returns the PM Application Handle (HAPP) from the process ID
WinHSWITCHfromHAPP
Returns the handle of the switch list entry from the application
handle
WinRestartWorkplace
Causes the Workplace process to terminate and reinitialize (Warp 4 or
higher)
WinWaitForShell()
Determines if various events in the WorkPlace Shell have taken place
©2002 Google