home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 May / W2KPRK.iso / diag.cab / os2api.txt < prev    next >
Text File  |  1999-12-02  |  27KB  |  728 lines

  1. OS/2 API Information
  2. (Os2api.txt)
  3.  
  4.  
  5. This file lists OS/2 application programming interfaces (APIs) supported, not supported, and partially supported by Microsoft(r) Windows(r) 2000. It gives an explanation of the restrictions on those APIs that are partially supported.
  6.  
  7. To correctly view the table of supported NetAPI calls, you should maximize the window of the text editor (Notepad is recommended) with which you are viewing this file.
  8.  
  9. CONTENTS
  10. =======================================================================
  11.  
  12.    Note on the Windows NT Presentation (PM) Subsystem
  13.    OS/2 APIs supported in Windows 2000
  14.       NetAPI calls supported in Windows 2000 (table)
  15.       NetBios (V3.0)
  16.       Video input-and-output (VIO) APIs
  17.       VIO calls supported only when called by Presentation (PM) Subsystem applications
  18.       Window-manager (Win) APIs, Graphic Programming Interface (GPI) APIs, and Presentation Manager Device (Dev) APIs
  19.    OS/2 APIs Partially Supported in Windows 2000
  20.    OS/2 APIs Not Supported in Windows 2000
  21.  
  22. =======================================================================
  23.  
  24. Note on the Windows NT Presentation (PM) Subsystem
  25. --------------------------------------------------
  26.  
  27.  
  28. On Windows NT 4.0 (and earlier), an add-on product was available, called the Windows NT Presentation (PM) Subsytem. This subsystem extended the Windows NT support for 16-bit OS/2 application to include support for the graphical OS/2 1.x (16-bit) applications (i.e. OS/2 Presentation Manager applications). This product has been discontinued on Windows 2000 and beyond - this means that it is no longer possible to run OS/2 Presentation Manager applications on Windows 2000 and that Win/GPI/Dev APIs are no longer supported, as can be seen from the list below.
  29.  
  30.  
  31. OS/2 APIs supported in Windows 2000
  32. -----------------------------------------------
  33.  
  34. DosAllocHuge
  35. DosAllocSeg
  36. DosAllocShrSeg
  37. DosBeep
  38. DosBufReset
  39. DosCallback
  40. DosCallNmPipe
  41. DosCaseMap
  42. DosChDir
  43. DosChgFilePtr
  44. DosCLIAccess
  45. DosClose
  46. DosCloseQueue
  47. DosCloseSem
  48. DosConnectNmPipe
  49. DosCopy
  50. DosCreateCSAlias
  51. DosCreateQueue
  52. DosCreateSem
  53. DosCreateThread
  54. DosCwait
  55. DosDelete
  56. DosDevConfig
  57. DosDisConnectNmPipe
  58. DosDupHandle
  59. DosEditName
  60. DosEnterCritSec
  61. DosEnumAttribute
  62. DosErrClass
  63. DosError
  64. DosExecPgm
  65. DosExit
  66. DosExitCritSec
  67. DosExitList
  68. DosFileIO
  69. DosFileLocks
  70. DosFindClose
  71. DosFindFirst
  72. DosFindFirst2
  73. DosFindNext
  74. DosFlagProcess
  75. DosFreeModule
  76. DosFreeResource
  77. DosFreeSeg
  78. DosFSCtl
  79. DosFSRamSemClear
  80. DosFSRamSemRequest
  81. DosGetCollate
  82. DosGetCp
  83. DosGetCtryInfo
  84. DosGetDateTime
  85. DosGetDBCSEv
  86. DosGetEnv
  87. DosGetHugeShift
  88. DosGetInfoSeg
  89. DosGetMachineMode
  90. DosGetMessage
  91. DosGetModHandle
  92. DosGetModName
  93. DosGetPID
  94. DosGetPPID
  95. DosGetProcAddr
  96. DosGetPrty
  97. DosGetResource
  98. DosGetResource2
  99. DosGetSeg
  100. DosGetShrSeg
  101. DosGetVersion
  102. DosGiveSeg
  103. DosHoldSignal
  104. DosHugeIncr
  105. DosHugeShift
  106. DosInsMessage
  107. DosKillProcess
  108. DosLoadModule
  109. DosLockSeg
  110. DosMakeNmPipe
  111. DosMakePipe
  112. DosMemAvail
  113. DosMkDir
  114. DosMkDir2
  115. DosMonClose
  116. DosMonOpen
  117. DosMonRead
  118. DosMonReg
  119. DosMonWrite
  120. DosMove
  121. DosMuxSemWait
  122. DosNewSize
  123. DosOpen
  124. DosOpen2
  125. DosOpenQueue
  126. DosOpenSem
  127. DosPeekNmPipe
  128. DosPeekQueue
  129. DosPhysicalDisk
  130. DosPTrace
  131. DosPurgeQueue
  132. DosPutMessage
  133. DosQAppType
  134. DosQCurDir
  135. DosQCurDisk
  136. DosQFHandState
  137. DosQFileInfo
  138. DosQFileMode
  139. DosQFSAttach
  140. DosQFSInfo
  141. DosQHandType
  142. DosQNmPHandState
  143. DosQNmPipeInfo
  144. DosQNmPipeSemState
  145. DosQPathInfo
  146. DosQSysInfo
  147. DosQueryQueue
  148. DosQVerify
  149. DosR2StackRealloc
  150. DosRead
  151. DosReadAsync
  152. DosReadQueue
  153. DosReallocHuge
  154. DosReallocSeg
  155. DosResumeThread
  156. DosRmDir
  157. DosScanEnv
  158. DosSearchPath
  159. DosSelectDisk
  160. DosSelectSession
  161. DosSemClear
  162. DosSemRequest
  163. DosSemSet
  164. DosSemSetWait
  165. DosSemWait
  166. DosSendSignal
  167. DosSetCp
  168. DosSetDateTime
  169. DosSetFHandState
  170. DosSetFileInfo
  171. DosSetFileMode
  172. DosSetFilePtr
  173. DosSetFSInfo
  174. DosSetMaxFH
  175. DosSetNmPHandState
  176. DosSetNmPipeSem
  177. DosSetPathInfo
  178. DosSetProcCp
  179. DosSetPrty
  180. DosSetSession
  181. DosSetSigHandler
  182. DosSetVec
  183. DosSetVerify
  184. DosSizeSeg
  185. DosSleep
  186. DosStartSession
  187. DosStopSession
  188. DosSubAlloc
  189. DosSubFree
  190. DosSubSet
  191. DosSuspendThread
  192. DosTimerAsync
  193. DosTimerStart
  194. DosTimerStop
  195. DosTransactNmPipe
  196. DosUnlockSeg
  197. DosWaitNmPipe
  198. DosWrite
  199. DosWriteAsync
  200. DosWriteQueue
  201.  
  202. KbdCharIn
  203. KbdClose
  204. KbdFlushBuffer
  205. KbdFreeFocus
  206. KbdGetCp
  207. KbdGetFocus
  208. KbdGetHWID
  209. KbdGetStatus
  210. KbdOpen
  211. KbdPeek
  212. KbdSetCp
  213. KbdSetFgnd
  214. KbdSetStatus
  215. KbdStringIn
  216. KbdXlate
  217.  
  218. MouClose
  219. MouFlushQue
  220. MouGetDevStatus
  221. MouGetEventMask
  222. MouGetNumButtons
  223. MouGetNumQueEl
  224. MouGetPtrPos
  225. MouOpen
  226. MouReadEventQue
  227. MouSetDevStatus
  228. MouSetEventMask
  229.  
  230.  
  231. NetAPI calls supported in Windows 2000
  232. --------------------------------------------------
  233.  
  234. The table below details the OS/2 NetAPIs and the level of support for them
  235. under Windows NT 4.0. The different levels of support are:
  236. - Full: no significant restrictions apply
  237. - Down-level server + self: the API works only when the target LanMan server
  238.         (i.e. the server for which information is to be retrieved/modified etc.)
  239.         is a 'down-level' server (i.e. not Windows NT, for example: DOS, OS/2,
  240.         Windows for Workgroups).
  241.         In addition, the API works in the special case where the API is applied
  242.         to the local machine.
  243. - Down-level server only: same as above, but doesn't work when applied to the
  244.         local machine.
  245. - Unsupported: the API is not supported under Windows NT.
  246.  
  247. The APIs are listed by functional groups.
  248.  
  249.                                              SUPPORT LEVEL
  250.  
  251.                            | Full |  Down-level   |  Down-level | Unsupported |
  252.                            |      | server + self | server only |             |
  253.                            |------|---------------|-------------|-------------|
  254. Access Permission APIs:    |      |               |             |             |
  255. ----------------------     |      |               |             |             |
  256.     NetAccessAdd           |      |               |      x      |             |
  257.     NetAccessCheck         |      |               |             |      x      |
  258.     NetAccessDel           |      |               |      x      |             |
  259.     NetAccessEnum          |      |               |      x      |             |
  260.     NetAccessGetInfo       |      |               |      x      |             |
  261.     NetAccessGetUserPerms  |      |               |      x      |             |
  262.     NetAccessSetInfo       |      |               |      x      |             |
  263. Alert APIs:                |      |               |             |             |
  264. -----------                |      |               |             |             |
  265.     NetAlertRaise          |      |               |             |      x      |
  266.     NetAlertStart          |      |               |             |      x      |
  267.     NetAlertStop           |      |               |             |      x      |
  268. Auditing APIs:             |      |               |             |             |
  269. --------------             |      |               |             |             |
  270.     NetAuditClear          |      |               |      x      |             |
  271.     NetAuditOpen           |      |               |             |      x      |
  272.     NetAuditRead           |      |               |      x      |             |
  273.     NetAuditWrite          |      |               |             |      x      |
  274. Character Device APIs:     |      |               |             |             |
  275. ----------------------     |      |               |             |             |
  276.     NetCharDevControl      |      |               |      x      |             |
  277.     NetCharDevEnum         |      |               |      x      |             |
  278.     NetCharDevGetInfo      |      |               |      x      |             |
  279.     NetCharDevQEnum        |      |               |      x      |             |
  280.     NetCharDevQGetInfo     |      |               |      x      |             |
  281.     NetCharDevQPurge       |      |               |      x      |             |
  282.     NetCharDevQPurgeSelf   |      |               |      x      |             |
  283.     NetCharDevQSetInfo     |      |               |      x      |             |
  284. Config APIs:               |      |               |             |             |
  285. ------------               |      |               |             |             |
  286.     NetConfigGet           |  x   |               |             |             |
  287.     NetConfigGet2          |      |               |             |      x      |
  288.     NetConfigGetAll2       |      |               |             |      x      |
  289.     NetConfigSet           |      |               |             |      x      |
  290. Connection APIs:           |      |               |             |             |
  291. ----------------           |      |               |             |             |
  292.     NetConnectionEnum      |  x   |               |             |             |
  293. Domain APIs:               |      |               |             |             |
  294. ------------               |      |               |             |             |
  295.     NetGetDcName           |  x   |               |             |             |
  296.     NetLogonEnum           |      |               |      x      |             |
  297. ErrorLogging APIs:         |      |               |             |             |
  298. ------------------         |      |               |             |             |
  299.     NetErrorLogClear       |      |               |      x      |             |
  300.     NetErrorLogRead        |      |               |      x      |             |
  301.     NetErrorLogWrite       |      |               |             |      x      |
  302. File APIs:                 |      |               |             |             |
  303. ----------                 |      |               |             |             |
  304.     NetFileClose           |      |               |      x      |             |
  305.     NetFileClose2          |      |               |      x      |             |
  306.     NetFileEnum            |      |               |      x      |             |
  307.     NetFileEnum2           |      |               |      x      |             |
  308.     NetFileGetInfo         |      |               |      x      |             |
  309.     NetFileGetInfo2        |      |               |      x      |             |
  310. Group APIs:                |      |               |             |             |
  311. -----------                |      |               |             |             |
  312.     NetGroupAdd            |  x   |               |             |             |
  313.     NetGroupAddUser        |  x   |               |             |             |
  314.     NetGroupDel            |  x   |               |             |             |
  315.     NetGroupDelUser        |  x   |               |             |             |
  316.     NetGroupEnum           |  x   |               |             |             |
  317.     NetGroupGetInfo        |  x   |               |             |             |
  318.     NetGroupGetUsers       |  x   |               |             |             |
  319.     NetGroupSetInfo        |  x   |               |             |             |
  320.     NetGroupSetUsers       |  x   |               |             |             |
  321. Handle APIs:               |      |               |             |             |
  322. ------------               |      |               |             |             |
  323.     NetHandleGetInfo       |      |               |      x      |             |
  324.     NetHandleSetInfo       |      |               |      x      |             |
  325. Mailslot APIs:             |      |               |             |             |
  326. --------------             |      |               |             |             |
  327.     DosDeleteMailslot      |  x   |               |             |             |
  328.     DosMailslotInfo        |  x   |               |             |             |
  329.     DosMakeMailslot        |  x   |               |             |             |
  330.     DosPeekMailslot        |  x   |               |             |             |
  331.     DosReadMailslot        |  x   |               |             |             |
  332.     DosWriteMailslot       |  x   |               |             |             |
  333. Message APIs:              |      |               |             |             |
  334. -------------              |      |               |             |             |
  335.     NetMessageBufferSend   |  x   |               |             |             |
  336.     NetMessageFileSend     |      |               |      x      |             |
  337.     NetMessageLogFileGet   |      |               |      x      |             |
  338.     NetMessageLogFileSet   |      |               |      x      |             |
  339.     NetMessageNameAdd      |  x   |               |             |             |
  340.     NetMessageNameDel      |  x   |               |             |             |
  341.     NetMessageNameEnum     |  x   |               |             |             |
  342.     NetMessageNameFwd      |      |               |      x      |             |
  343.     NetMessageNameGetInfo  |  x   |               |             |             |
  344.     NetMessageNameUnFwd    |      |               |      x      |             |
  345. Print Destination APIs:    |      |               |             |             |
  346. -----------------------    |      |               |             |             |
  347.     DosPrintDestAdd        |      |               |             |      x      |
  348.     DosPrintDestControl    |      |               |             |      x      |
  349.     DosPrintDestDel        |      |               |             |      x      |
  350.     DosPrintDestEnum       |      |               |             |      x      |
  351.     DosPrintDestGetInfo    |      |               |             |      x      |
  352.     DosPrintDestSetInfo    |      |               |             |      x      |
  353. Print Job APIs:            |      |               |             |             |
  354. ---------------            |      |               |             |             |
  355.     DosPrintJobContinue    |      |               |             |      x      |
  356.     DosPrintJobDel         |      |               |             |      x      |
  357.     DosPrintJobEnum        |      |               |             |      x      |
  358.     DosPrintJobGetId       |      |               |             |      x      |
  359.     DosPrintJobGetInfo     |      |               |             |      x      |
  360.     DosPrintJobPause       |      |               |             |      x      |
  361.     DosPrintJobSetInfo     |      |               |             |      x      |
  362. Print Queue APIs:          |      |               |             |             |
  363. -----------------          |      |               |             |             |
  364.     DosPrintQAdd           |      |               |             |      x      |
  365.     DosPrintQContinue      |      |               |             |      x      |
  366.     DosPrintQDel           |      |               |             |      x      |
  367.     DosPrintQEnum          |      |               |             |      x      |
  368.     DosPrintQGetInfo       |      |               |             |      x      |
  369.     DosPrintQPause         |      |               |             |      x      |
  370.     DosPrintQPurge         |      |               |             |      x      |
  371.     DosPrintQSetInfo       |      |               |             |      x      |
  372. Profile APIs:              |      |               |             |             |
  373. -------------              |      |               |             |             |
  374.     NetProfileSave         |      |               |      x      |             |
  375.     NetProfileLoad         |      |               |      x      |             |
  376. Remote Utility APIs:       |      |               |             |             |
  377. --------------------       |      |               |             |             |
  378.     NetRemoteCopy          |      |               |      x      |             |
  379.     NetRemoteExec          |      |               |      x      |             |
  380.     NetRemoteMove          |      |               |      x      |             |
  381.     NetRemoteTOD           |  x   |               |             |             |
  382. Server APIs:               |      |               |             |             |
  383. ------------               |      |               |             |             |
  384.     NetServerAdminCommand  |      |               |      x      |             |
  385.     NetServerDiskEnum      |  x   |               |             |             |
  386.     NetServerEnum          |      |               |      x      |             |
  387.     NetServerEnum2         |      |               |      x      |             |
  388.     NetServerGetInfo       |  x   |               |             |             |
  389.     NetServerSetInfo       |  x   |               |             |             |
  390. Service APIs:              |      |               |             |             |
  391. -------------              |      |               |             |             |
  392.     NetServiceControl      |  x   |               |             |             |
  393.     NetServiceEnum         |  x   |               |             |             |
  394.     NetServiceGetInfo      |  x   |               |             |             |
  395.     NetServiceInstall      |  x   |               |             |             |
  396.     NetServiceStatus       |      |               |             |      x      |
  397. Session APIs:              |      |               |             |             |
  398. -------------              |      |               |             |             |
  399.     NetSessionDel          |  x   |               |             |             |
  400.     NetSessionEnum         |  x   |               |             |             |
  401.     NetSessionGetInfo      |  x   |               |             |             |
  402. Share APIs:                |      |               |             |             |
  403. -----------                |      |               |             |             |
  404.     NetShareAdd            |  x   |               |             |             |
  405.     NetShareCheck          |  x   |               |             |             |
  406.     NetShareDel            |  x   |               |             |             |
  407.     NetShareEnum           |  x   |               |             |             |
  408.     NetShareGetInfo        |  x   |               |             |             |
  409.     NetShareSetInfo        |  x   |               |             |             |
  410. Statistics APIs:           |      |               |             |             |
  411. ----------------           |      |               |             |             |
  412.     NetStatisticsClear     |      |               |      x      |             |
  413.     NetStatisticsGet       |      |               |      x      |             |
  414.     NetStatisticsGet2      |  x   |               |             |             |
  415. Use APIs:                  |      |               |             |             |
  416. ---------                  |      |               |             |             |
  417.     NetUseAdd              |      |       x       |             |             |
  418.     NetUseDel              |      |       x       |             |             |
  419.     NetUseEnum             |      |       x       |             |             |
  420.     NetUseGetInfo          |      |       x       |             |             |
  421. User APIs:                 |      |               |             |             |
  422. ----------                 |      |               |             |             |
  423.     NetUserAdd             |  x   |               |             |             |
  424.     NetUserDel             |  x   |               |             |             |
  425.     NetUserEnum            |  x   |               |             |             |
  426.     NetUserGetGroups       |  x   |               |             |             |
  427.     NetUserGetInfo         |  x   |               |             |             |
  428.     NetUserModalsGet       |  x   |               |             |             |
  429.     NetUserModalsSet       |  x   |               |             |             |
  430.     NetUserPasswordSet     |  x   |               |             |             |
  431.     NetUserSetGroups       |  x   |               |             |             |
  432.     NetUserSetInfo         |  x   |               |             |             |
  433.     NetUSerValidate2       |      |               |             |      x      |
  434. Workstation APIs:          |      |               |             |             |
  435. -----------------          |      |               |             |             |
  436.     NetWkstaGetInfo        |  x   |               |             |             |
  437.     NetWkstaSetInfo        |  x   |               |             |             |
  438.     NetWkstaSetUID         |      |               |             |      x      |
  439.     NetWkstaSetUID2        |      |               |             |      x      |
  440.  
  441.  
  442. NetBios (V3.0)
  443. --------------
  444.  
  445. NetBiosClose (V2.X)
  446. NetBiosEnum (V2.X)
  447. NetBiosGetInfo (V2.X)
  448. NetBiosOpen (V2.X)
  449. NetBiosSubmit (V2.X)
  450.  
  451.  
  452. Video input-and-output (VIO) APIs
  453. ---------------------------------
  454.  
  455. VioCheckCharType
  456. VioEndPopUp
  457. VioGetAnsi
  458. VioGetBuf
  459. VioGetCp
  460. VioGetCurPos
  461. VioGetCurType
  462. VioPopUp
  463. VioReadCellStr
  464. VioReadCharStr
  465. VioScrLock
  466. VioScrollDn
  467. VioScrollLf
  468. VioScrollRt
  469. VioScrollUp
  470. VioScrUnLock
  471. VioSetAnsi
  472. VioSetCp
  473. VioSetCurPos
  474. VioSetCurType
  475. VioShowBuf
  476. VioWrtCellStr
  477. VioWrtCharStr
  478. VioWrtCharStrAtt
  479. VioWrtNAttr
  480. VioWrtNCell
  481. VioWrtNChar
  482. VioWrtTTY
  483.  
  484.  
  485. VIO calls no longer supported when called with a non-null HPS parameter
  486. -----------------------------------------------------------------------
  487.  
  488. Like the WIN/GPI and DEV APIs listed below, these APIs are no longer supported on Windows 2000 due to the fact that Microsoft has discontinued support for the Windows NT Presentation Manager (PM) Subsystem.
  489.  
  490. VioAssociate
  491. VioCreateLogFont
  492. VioCreatePS
  493. VioDeleteSetId
  494. VioDeRegister
  495. VioDestroyPS
  496. VioGetDeviceCellSize
  497. VioGetFont
  498. VioGetOrg
  499. VioGetPhysBuf
  500. VioModeUndo
  501. VioModeWait
  502. VioPrtSc
  503. VioPrtScToggle
  504. VioQueryFonts
  505. VioQuerySetIds
  506. VioRedrawSize
  507. VioRegister
  508. VioSavRedrawUndo
  509. VioSavRedrawWait
  510. VioSetDeviceCellSize
  511. VioSetFont
  512. VioSetOrg
  513. VioShowPS
  514.  
  515.  
  516. Window-manager(Win) APIs, Graphic Programming Interface (GPI) APIs, and
  517. Presentation Manager Device (Dev) APIs
  518. -----------------------------------------------------------------------
  519. No longer supported on Windows 2000 - were supported by the PM Subsystem, now a discontinued product.
  520.  
  521.  
  522.  
  523. OS/2 APIs Partially Supported in Windows 2000
  524. ---------------------------------------------------------
  525.  
  526. DosDevIOCtl, DosDevIOCtl2
  527.  
  528. The I/O Controls (IOCTLs) from the Screen and Pointer Draw category are not supported.
  529. All of the IOCTLs from the General category are supported.
  530. All of the IOCTLs from the Asynchronous Communications category
  531. are supported:
  532.  
  533. ASYNC_GETBAUDRATE
  534. ASYNC_GETCOMMERROR
  535. ASYNC_GETCOMMEVENT
  536. ASYNC_GETCOMMSTATUS
  537. ASYNC_GETDCBINFO
  538. ASYNC_GETINQUECOUNT
  539. ASYNC_GETLINECTRL
  540. ASYNC_GETLINESTATUS
  541. ASYNC_GETMODEMINPUT
  542. ASYNC_GETMODEMOUTPUT
  543. ASYNC_GETOUTQUECOUNT
  544. ASYNC_SETBAUDRATE
  545. ASYNC_SETBREAKOFF
  546. ASYNC_SETBREAKON
  547. ASYNC_SETDCBINFO
  548. ASYNC_SETLINECTRL
  549. ASYNC_SETMODEMCTRL
  550. ASYNC_STARTTRANSMIT
  551. ASYNC_STOPTRANSMIT
  552. ASYNC_TRANSMITIMM
  553.  
  554. The following IOCTLs from the Keyboard category are supported:
  555.  
  556. KBD_CREATE
  557. KBD_DESTROY
  558. KBD_GETCODEPAGE
  559. KBD_GETINPUTMODE
  560. KBD_GETINTERIMFLAG
  561. KBD_GETSHIFTSTATE
  562. KBD_PEEKCHAR
  563. KBD_READCHAR
  564. KBD_SETFOCUS
  565. KBD_SETINPUTMODE
  566. KBD_SETINTERIMFLAG
  567. KBD_SETKCB
  568. KBD_SETSHIFTSTATE
  569.  
  570. All of the IOCTLs from the Printer category are supported:
  571.  
  572. PRT_ACTIVATEFONT
  573. PRT_GETFRAMECTL
  574. PRT_GETINFINITERETRY
  575. PRT_GETPRINTERSTATUS
  576. PRT_INITPRINTER
  577. PRT_QUERYACTIVEFONT
  578. PRT_SETFRAMECTL
  579. PRT_SETINFINITERETRY
  580. PRT_VERIFYFONT
  581. PTR_GETPTRDRAWADDRESS
  582.  
  583. The following IOCTLs from the Pointing Device (Mouse) category
  584. are supported:
  585.  
  586. MOU_GETBUTTONCOUNT
  587. MOU_GETEVENTMASK
  588. MOU_GETMICKEYCOUUT
  589. MOU_GETMOUSTATUS
  590. MOU_GETQUESTATUS
  591. MOU_READQUESTATUS
  592. MOU_SETEVENTMASK
  593. MOU_SETMOUSTATUS
  594.  
  595. The following IOCTLs from the Disk Control category are supported:
  596.  
  597. DSK_BLOCKREMOVABLE
  598. DSK_GETDEVICEPARAMS
  599. DSK_GETLOGICALMAP
  600. DSK_LOCKDRIVE
  601. DSK_READTRACK
  602. DSK_REDETERMINEMEDIA
  603. DSK_SETLOGICALMAP
  604. DSK_SYNC
  605. DSK_UNLOCKDRIVE
  606. DSK_VERIFYTRACK
  607.  
  608. The following IOCTL from the Physical Disk Control category is supported:
  609.  
  610. PDSK_GETPHYSDEVICEPARAMS
  611.  
  612. The following IOCTL from the Monitors category is supported:
  613.  
  614. MON_REGISTERMONITOR
  615.  
  616. DosFSAttach
  617.  
  618. This function partially implements the DosFSAttach() API.  The only valid
  619. FsName is "LAN". The format expected for the arguments is as follows:
  620.  
  621. DeviceName    =  device name, e.g. "J:", "LPT1:"
  622. FsName        =  "LAN"
  623. FsData        =  "\01\0SHARENAME" for a regular connection or
  624.                  "\02\0SHARENAME\0PASSWORD" for a password connection or
  625.                  "\03\0SHARENAME\0PASSWORD\0USERNAME" for a
  626.                     username/password connection.
  627. FsDataLength  =  length of FsData
  628. AttachFlags   =  FS_ATTACH or FS_DETACH
  629.  
  630. The function connects to the network using WNetAdd/DelConnection().
  631. Therefore it will use the multiple provider router to connect to any
  632. type of network for which Windows NT has a redirector. The SHARENAME
  633. format depends on the network you're trying to reach.  For LanMan/MsNet
  634. networks it is "\\\\sharename\\servername".
  635.  
  636. If DeviceName is a drive letter, the drive is automatically reset to the
  637. root directory after a connection and before a disconnection.  This is
  638. for compatibility with OS/2.
  639.  
  640.  
  641. VioGetConfig
  642.  
  643. The following return values will always be returned in the _VIOCONFIGINFO
  644. structure.  All other fields will always return 0 (zero).
  645.  
  646. adapter     =   DISPLAY_VGA
  647. display     =   MONITOR_851X_COLOR
  648. cbMemory    =   0x40000 (262,144)
  649.  
  650.  
  651. VioGetMode
  652.  
  653. The following return values will always be returned in the _VIOMODEINFO
  654. structure.  Values for col, row, hres, and vres will contain the correct
  655. values.
  656.  
  657. fbType          =   VGMT_OTHER
  658. color           =   COLOR_16
  659. fmt_ID          =   0
  660. attrib          =   0
  661. buf_addr        =   0xFFFFFFFF
  662. buf_length      =   0L
  663. full_length        =   0L
  664. partial_length  =   0L
  665. ex_data_addr    =   0xFFFFFFFF
  666.  
  667.  
  668. VioSetMode
  669.  
  670. The col and row fields in the _VIOMODEINFO structure will be used.
  671. All other fields will be ignored.  No error code or value checking
  672. will be performed.
  673.  
  674.  
  675. VioGetState, VioSetState
  676.  
  677. All fields in the structure will contain initial values, as indicated
  678. in the following list.  Any setting of new values will be saved and
  679. returned on the next VioGetState call.
  680.  
  681. VIOINTENSITY.fs             =   0x0001
  682. VIOOVERSCAN.color           =   0
  683. VIOPALSTATE.acolor          =   all 0
  684. VIOCOLORREG.colorregaddr    =   all 0
  685. VIOSETUNLINELOC.scanline    =   31
  686. VIOSETTARGET                =   (only primary display)
  687.  
  688.  
  689.  
  690. OS/2 APIs Not Supported in Windows 2000
  691. --------------------------------------------------
  692.  
  693. DosDynamicTrace
  694. DosFindNotifyClose
  695. DosFindNotifyFirst
  696. DosFindNotifyNext
  697. DosOplockRelease
  698. DosOplockWait
  699. DosPortAccess
  700. DosShutdown
  701. DosSystemService
  702. DosSysTrace
  703.  
  704. KbdDeRegister
  705. KbdRegister
  706. KbdSetCustXt
  707. KbdSynch
  708.  
  709. MouDeRegister
  710. MouDrawPtr
  711. MouGetNumMickeys
  712. MouGetPtrShape
  713. MouGetScaleFact
  714. MouInitReal
  715. MouRegister
  716. MouRemovePtr
  717. MouSetPtrPos
  718. MouSetPtrShape
  719. MouSetScaleFact
  720. MouSynch
  721.  
  722. PicIchg
  723. PicPrint
  724.  
  725.  
  726. =======================================================================
  727. OS2API.TXT
  728. Last updated: November 10, 1999