[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Int 15 Fn DE2E  U - Desqview V2.50+ - Socket API  (Cont.)

 0030h "getpwent"
 0031h ???
 0032h ???
 0033h ???
 0034h get IP network number
 0035h ??? (pops up Network Manager window)
 0037h ???
 0038h get machine name and IP address
 0039h ???

Format of Function 0026h/Subfunction 000Fh data:
Offset Size    Description
 00h  8 BYTEs  (return) ???

Format of Function 0026h/Subfunction 0010h data:
Offset Size    Description
 00h  2 BYTEs  (return) ???
 02h   WORD    (return) protocol number
 04h   WORD    (call) protocol number for which to get name
 06h   WORD    (return) ???
 08h   var (return) ASCIZ protocol name
 N var (return) ASCIZ protocol name

Format of Function 0026h/Subfunction 0011h data:
Offset Size    Description
 00h  8 BYTEs  ???
 08h   var (return) ASCIZ protocol name
   var (return) ASCIZ ??? name
   var (return) ASCIZ ??? name

Format of Function 0026h/Subfunction 0012h data:
Offset Size    Description
 00h  8 BYTEs  (return) ???

Format of Function 0026h/Subfunction 0013h data:
Offset Size    Description
 00h 116 BYTEs (return) ???

Format of Function 0026h/Subfunction 0016h data:
Offset Size    Description
 00h  4 BYTEs  (return) ???

Format of Function 0026h/Subfunction 0018h data:
Offset Size    Description
 00h 116 BYTEs (return) ???

Format of Function 0026h/Subfunction 0019h data:
Offset Size    Description
 00h  4 BYTEs  (return) ???
 04h   DWORD   (return) task handle of ???

Format of Function 0026h/Subfunction 001Ah data:
Offset Size    Description
 00h 38 BYTEs  (return) ???

Format of Function 0026h/Subfunction 001Bh data:
Offset Size    Description
 00h 10 BYTEs  (return) ???

Format of Function 0026h/Subfunction 001Dh return data [array]:
Offset Size    Description
 00h   WORD    ??? or FFFFh if end of array
 02h  7 BYTEs  ???
 09h 27 BYTEs  ASCIZ name of service

Format of Function 0026h/Subfunction 0024h return data:
Offset Size    Description
 00h   var ASCIZ username

Format of Function 0026h/Subfunction 0030h data:
Offset Size    Description
 00h   WORD    (call) UID or 0000h for current user
       (return) ???
 02h   WORD    (return) UID
 04h  6 BYTEs  (return) ???
 0Ah   var (return) ASCIZ username
   var (return) ASCIZ encrypted password
   var (return) ASCIZ initial ("home") directory

Format of Function 0026h/Subfunction 0034h data:
Offset Size    Description
 00h  1-3 BYTEs IP network number of caller's machine (low byte first)

Format of Function 0026h/Subfunction 0038h return data:
Offset Size    Description
 00h   BYTE    ???
 01h  4 BYTEs  IP address
 05h   var ASCIZ machine name
   ???

Values for error code:
 0000h successful
 0009h "BADF" bad file handle
 000Ch "ENOMEM" out of memory
 000Eh "EFAULT" bad address
 0016h "EINVAL" invalid argument
 0018h "EMFILE" too many open files
 0020h "EPIPE" ??? broken pipe
 0023h "EWOULDBLOCK" operation cannot be completed at this time
 0024h "EINPROGRESS" operation now in progress
 0026h "ENOTSOCK" socket invalid
 0028h "EMSGSIZE" message too long to send atomically
 002Ch "ESOCKTNOSUPPORT" socket type not supported
 002Fh "EAFNOSUPPORT" address family not supp. by protocol fam.
 0031h "EDOM" argument too large
 0038h "EISCONN" socket is already connected
 0039h "ENOTCONN" socket is not connected

Format of Socket Context Record:
Offset Size    Description
 00h   DWORD   pointer to next Socket Context Record, 0000h:0000h if last
 04h   WORD    SFT index for socket, 00FFh if not connected, FFFFh if detached
 06h   WORD    PSP segment of owner or 0000h
 08h   WORD    mapping context of owning window (see AX=1016h)
 0Ah  2 BYTEs  ???
 0Ch   WORD    address family
 0Eh   WORD    socket type
 10h   WORD    protocol
 12h   WORD    socket state
       0001h created
       0002h bound
       0003h listening???
       0005h connected
 14h   DWORD   timer object handle
 18h   DWORD   object handle (mailbox???)
 1Ch   DWORD   object handle of parent of above object or 0000h:0000h
 20h   DWORD   pointer to ??? or 0000h
 24h  6 BYTEs  ???
 2Ah   WORD    file handle for socket or FFFFh
 2Ch  2 BYTEs  ???
 2Eh   WORD    nonzero if socket nonblocking
---network connections only---
 30h  2 BYTEs  ???
 32h   WORD    ???
 34h  4 BYTEs  (big-endian) IP address of remote
 38h  6 BYTEs  ???

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson