summaryrefslogtreecommitdiffstats
path: root/public/sdk/rpc16/dos
diff options
context:
space:
mode:
Diffstat (limited to 'public/sdk/rpc16/dos')
-rw-r--r--public/sdk/rpc16/dos/dll/rpc16c1.map222
-rw-r--r--public/sdk/rpc16/dos/dll/rpc16c1.rpcbin0 -> 3399 bytes
-rw-r--r--public/sdk/rpc16/dos/dll/rpc16c3.map335
-rw-r--r--public/sdk/rpc16/dos/dll/rpc16c3.rpcbin0 -> 10559 bytes
-rw-r--r--public/sdk/rpc16/dos/dll/rpc16c4.map284
-rw-r--r--public/sdk/rpc16/dos/dll/rpc16c4.rpcbin0 -> 6428 bytes
-rw-r--r--public/sdk/rpc16/dos/dll/rpc16c5.map216
-rw-r--r--public/sdk/rpc16/dos/dll/rpc16c5.rpcbin0 -> 5965 bytes
-rw-r--r--public/sdk/rpc16/dos/dll/rpc16c6.map330
-rw-r--r--public/sdk/rpc16/dos/dll/rpc16c6.rpcbin0 -> 9365 bytes
-rw-r--r--public/sdk/rpc16/dos/dll/rpc16dg3.map351
-rw-r--r--public/sdk/rpc16/dos/dll/rpc16dg3.rpcbin0 -> 11171 bytes
-rw-r--r--public/sdk/rpc16/dos/dll/rpc16dg6.map329
-rw-r--r--public/sdk/rpc16/dos/dll/rpc16dg6.rpcbin0 -> 9183 bytes
-rw-r--r--public/sdk/rpc16/dos/dll/rpcns.map305
-rw-r--r--public/sdk/rpc16/dos/dll/rpcns.rpcbin0 -> 9780 bytes
-rw-r--r--public/sdk/rpc16/dos/dll/rpcnslm.map364
-rw-r--r--public/sdk/rpc16/dos/dll/rpcnslm.rpcbin0 -> 23527 bytes
-rw-r--r--public/sdk/rpc16/dos/dll/rpcnsmgm.map387
-rw-r--r--public/sdk/rpc16/dos/dll/rpcnsmgm.rpcbin0 -> 20524 bytes
-rw-r--r--public/sdk/rpc16/dos/dll/security.map353
-rw-r--r--public/sdk/rpc16/dos/dll/security.rpcbin0 -> 16000 bytes
-rw-r--r--public/sdk/rpc16/dos/inc/midles.h218
-rw-r--r--public/sdk/rpc16/dos/inc/rpc.h64
-rw-r--r--public/sdk/rpc16/dos/inc/rpcdce.h1618
-rw-r--r--public/sdk/rpc16/dos/inc/rpcdcep.h415
-rw-r--r--public/sdk/rpc16/dos/inc/rpcerr.h188
-rw-r--r--public/sdk/rpc16/dos/inc/rpcndr.h2630
-rw-r--r--public/sdk/rpc16/dos/inc/rpcnsi.h509
-rw-r--r--public/sdk/rpc16/dos/inc/rpcnsip.h72
-rw-r--r--public/sdk/rpc16/dos/inc/rpcx86.h74
31 files changed, 9264 insertions, 0 deletions
diff --git a/public/sdk/rpc16/dos/dll/rpc16c1.map b/public/sdk/rpc16/dos/dll/rpc16c1.map
new file mode 100644
index 000000000..442bbbf31
--- /dev/null
+++ b/public/sdk/rpc16/dos/dll/rpc16c1.map
@@ -0,0 +1,222 @@
+LINK : warning L4021: no stack segment
+
+ Start Stop Length Name Class
+ 00000H 00000H 00000H NPLTCLNT_TEXT CODE
+ 00000H 001BDH 001BEH EXPORTLT_TEXT CODE
+ 001BEH 001BEH 00000H DOSUTIL_TEXT CODE
+ 001BEH 00475H 002B8H _TEXT CODE
+ 00480H 00AD8H 00659H COMDAT_SEG1 CODE
+ 00ADAH 00B2DH 00054H _DATA DATA
+ 00B2EH 00B46H 00019H STRINGSEGMENT DATA
+ 00B48H 00B48H 00000H XIFB DATA
+ 00B48H 00B48H 00000H XIF DATA
+ 00B48H 00B48H 00000H XIFE DATA
+ 00B48H 00B48H 00000H CONST CONST
+ 00B48H 00B48H 00000H _BSS BSS
+
+ Origin Group
+ 00AD:0 DGROUP
+
+ Address Publics by Name
+
+ 0048:05BC ??_C@_08DNBJ@ncacn_np?$AA@
+ 0048:01B4 ASSEMBLEREAD
+ 0048:0134 CLIENTCLOSE
+ 0048:0000 CLIENTOPEN
+ 0048:02D2 CLIENTREAD
+ 0048:034E CLIENTTOWERCONSTRUCT
+ 0048:04C0 CLIENTTOWEREXPLODE
+ 0048:0150 CLIENTWRITE
+ 0000:0000 Unr CLIENTWRITEREAD
+ 001B:015E DOSCALLNMPIPE
+ 001B:004A DOSCONNECTNMPIPE
+ 001B:0034 DOSDISCONNECTNMPIPE
+ 001B:001E DOSMAKENMPIPE
+ 001B:011D DOSPEEKNMPIPE
+ 001B:00D5 DOSQNMPHANDSTATE
+ 001B:00F7 DOSQNMPIPEINFO
+ 001B:018D DOSRAWREADNMPIPE
+ 001B:01BE DOSRAWWRITENMPIPE
+ 001B:01E8 DOSREADASYNCNMPIPE
+ 001B:0207 DOSREADASYNCNMPIPE2
+ 001B:0060 DOSSETNMPHANDSTATE
+ 001B:00A2 DOSTRANSACTNMPIPE
+ 001B:0080 DOSWAITNMPIPE
+ 001B:021B DOSWRITEASYNCNMPIPE
+ 001B:023A DOSWRITEASYNCNMPIPE2
+ 0000:019A EXPORTTIME
+ 0000:009F I_DOSATEXIT
+ 0000:01AC I_NSGETMEMORYALLOCATOR
+ 0000:00F8 I_RPCALLOCATE
+ 0000:00FE I_RPCFREE
+ 0000:0104 I_RPCFREEBUFFER
+ 0000:010A I_RPCGETBUFFER
+ 0000:0116 I_RPCNSBINDINGSETENTRYNAME
+ 0000:01A0 I_RPCREGISTEREDBUFFERALLOCATE
+ 0000:01A6 I_RPCREGISTEREDBUFFERFREE
+ 0000:0110 I_RPCSENDRECEIVE
+ 0000:0152 I_RPCTRANSCLIENTMAXFRAG
+ 0000:00B8 I_RPCTRANSCLIENTREALLOCBUFFER
+ 0000:013A NDRCCONTEXTBINDING
+ 0000:0140 NDRCCONTEXTMARSHALL
+ 0000:0146 NDRCCONTEXTUNMARSHALL
+ 0000:015E NDRCLIENTCONTEXTMARSHALL
+ 0000:018E NDRCLIENTCONTEXTUNMARSHALL
+ 0000:0182 NDRCLIENTINITIALIZE
+ 0000:0188 NDRCLIENTINITIALIZENEW
+ 0000:017C NDRCONVERT
+ 0000:016A NDRFREEBUFFER
+ 0000:0170 NDRGETBUFFER
+ 0000:0176 NDRPOINTERBUFFERSIZE
+ 0000:0164 NDRPOINTERMARSHALL
+ 0000:0158 NDRPOINTERUNMARSHALL
+ 0000:0194 NDRSENDRECEIVE
+ 0000:01B8 NDRSIMPLESTRUCTBUFFERSIZE
+ 0000:01B2 NDRSIMPLESTRUCTMARSHALL
+ 0000:00CC RPCBINDINGCOPY
+ 0000:00EC RPCBINDINGFREE
+ 0000:00E0 RPCBINDINGFROMSTRINGBINDING
+ 0000:00DB RPCBINDINGTOSTRINGBINDING
+ 0000:00E6 RPCBINDINGVECTORFREE
+ 0000:00BD RPCGETEXCEPTIONHANDLER
+ 0000:00C7 RPCLEAVEEXCEPTION
+ 0000:0128 RPCREGCLOSEKEY
+ 0000:0122 RPCREGCREATEKEY
+ 0000:011C RPCREGOPENKEY
+ 0000:0134 RPCREGQUERYVALUE
+ 0000:012E RPCREGSETVALUE
+ 0000:00C2 RPCSETEXCEPTIONHANDLER
+ 0000:014C RPCSSDESTROYCLIENTCONTEXT
+ 0000:00D1 RPCSTRINGBINDINGCOMPOSE
+ 0000:00D6 RPCSTRINGBINDINGPARSE
+ 0000:00F2 RPCSTRINGFREE
+ 0048:05AC TRANSPORTLOAD
+ 0000:0063 _CallExport
+ 0000:0000 _DOSDLLInit
+ 00AD:0078 _edata
+ 00AD:0078 _end
+ 00AD:003A _errno
+ 0000:0046 _ExportInit
+ 0000:00A4 _GETENV
+ 0000:0081 _GetExportTableVersion
+ 0000:00B3 _GETPROCADDRR
+ 0000:00A9 _LOADMODR
+ 001B:0268 _memcpy
+ 001B:024E _strlen
+ 00AD:0046 _theTable
+ 00AD:000A _TransInfo
+ 0000:00AE _UNLOADMODR
+ 0000:0000 Abs __ACRTUSED
+ 0000:0000 Abs __ADBUSED
+ 0000:1000 Abs __AHINCR
+ 0000:000C Abs __AHSHIFT
+ 0048:0642 __dos_close
+ 0048:0620 __dos_open
+ 0048:05C6 __dos_read
+ 0048:05FA __dos_write
+ 00AD:0078 __edata
+ 00AD:0078 __end
+ 00AD:0044 __rpc_hostDS
+
+ Address Publics by Value
+
+ 0000:0000 Unr CLIENTWRITEREAD
+ 0000:0000 Abs __ADBUSED
+ 0000:0000 _DOSDLLInit
+ 0000:0000 Abs __ACRTUSED
+ 0000:000C Abs __AHSHIFT
+ 0000:0046 _ExportInit
+ 0000:0063 _CallExport
+ 0000:0081 _GetExportTableVersion
+ 0000:009F I_DOSATEXIT
+ 0000:00A4 _GETENV
+ 0000:00A9 _LOADMODR
+ 0000:00AE _UNLOADMODR
+ 0000:00B3 _GETPROCADDRR
+ 0000:00B8 I_RPCTRANSCLIENTREALLOCBUFFER
+ 0000:00BD RPCGETEXCEPTIONHANDLER
+ 0000:00C2 RPCSETEXCEPTIONHANDLER
+ 0000:00C7 RPCLEAVEEXCEPTION
+ 0000:00CC RPCBINDINGCOPY
+ 0000:00D1 RPCSTRINGBINDINGCOMPOSE
+ 0000:00D6 RPCSTRINGBINDINGPARSE
+ 0000:00DB RPCBINDINGTOSTRINGBINDING
+ 0000:00E0 RPCBINDINGFROMSTRINGBINDING
+ 0000:00E6 RPCBINDINGVECTORFREE
+ 0000:00EC RPCBINDINGFREE
+ 0000:00F2 RPCSTRINGFREE
+ 0000:00F8 I_RPCALLOCATE
+ 0000:00FE I_RPCFREE
+ 0000:0104 I_RPCFREEBUFFER
+ 0000:010A I_RPCGETBUFFER
+ 0000:0110 I_RPCSENDRECEIVE
+ 0000:0116 I_RPCNSBINDINGSETENTRYNAME
+ 0000:011C RPCREGOPENKEY
+ 0000:0122 RPCREGCREATEKEY
+ 0000:0128 RPCREGCLOSEKEY
+ 0000:012E RPCREGSETVALUE
+ 0000:0134 RPCREGQUERYVALUE
+ 0000:013A NDRCCONTEXTBINDING
+ 0000:0140 NDRCCONTEXTMARSHALL
+ 0000:0146 NDRCCONTEXTUNMARSHALL
+ 0000:014C RPCSSDESTROYCLIENTCONTEXT
+ 0000:0152 I_RPCTRANSCLIENTMAXFRAG
+ 0000:0158 NDRPOINTERUNMARSHALL
+ 0000:015E NDRCLIENTCONTEXTMARSHALL
+ 0000:0164 NDRPOINTERMARSHALL
+ 0000:016A NDRFREEBUFFER
+ 0000:0170 NDRGETBUFFER
+ 0000:0176 NDRPOINTERBUFFERSIZE
+ 0000:017C NDRCONVERT
+ 0000:0182 NDRCLIENTINITIALIZE
+ 0000:0188 NDRCLIENTINITIALIZENEW
+ 0000:018E NDRCLIENTCONTEXTUNMARSHALL
+ 0000:0194 NDRSENDRECEIVE
+ 0000:019A EXPORTTIME
+ 0000:01A0 I_RPCREGISTEREDBUFFERALLOCATE
+ 0000:01A6 I_RPCREGISTEREDBUFFERFREE
+ 0000:01AC I_NSGETMEMORYALLOCATOR
+ 0000:01B2 NDRSIMPLESTRUCTMARSHALL
+ 0000:01B8 NDRSIMPLESTRUCTBUFFERSIZE
+ 001B:001E DOSMAKENMPIPE
+ 001B:0034 DOSDISCONNECTNMPIPE
+ 001B:004A DOSCONNECTNMPIPE
+ 001B:0060 DOSSETNMPHANDSTATE
+ 001B:0080 DOSWAITNMPIPE
+ 001B:00A2 DOSTRANSACTNMPIPE
+ 001B:00D5 DOSQNMPHANDSTATE
+ 001B:00F7 DOSQNMPIPEINFO
+ 001B:011D DOSPEEKNMPIPE
+ 001B:015E DOSCALLNMPIPE
+ 001B:018D DOSRAWREADNMPIPE
+ 001B:01BE DOSRAWWRITENMPIPE
+ 001B:01E8 DOSREADASYNCNMPIPE
+ 001B:0207 DOSREADASYNCNMPIPE2
+ 001B:021B DOSWRITEASYNCNMPIPE
+ 001B:023A DOSWRITEASYNCNMPIPE2
+ 001B:024E _strlen
+ 001B:0268 _memcpy
+ 0048:0000 CLIENTOPEN
+ 0048:0134 CLIENTCLOSE
+ 0048:0150 CLIENTWRITE
+ 0048:01B4 ASSEMBLEREAD
+ 0048:02D2 CLIENTREAD
+ 0048:034E CLIENTTOWERCONSTRUCT
+ 0048:04C0 CLIENTTOWEREXPLODE
+ 0048:05AC TRANSPORTLOAD
+ 0048:05BC ??_C@_08DNBJ@ncacn_np?$AA@
+ 0048:05C6 __dos_read
+ 0048:05FA __dos_write
+ 0048:0620 __dos_open
+ 0048:0642 __dos_close
+ 00AD:000A _TransInfo
+ 00AD:003A _errno
+ 00AD:0044 __rpc_hostDS
+ 00AD:0046 _theTable
+ 00AD:0078 __end
+ 00AD:0078 _end
+ 00AD:0078 _edata
+ 00AD:0078 __edata
+ 0000:1000 Abs __AHINCR
+
+Program entry point at 0000:0000
diff --git a/public/sdk/rpc16/dos/dll/rpc16c1.rpc b/public/sdk/rpc16/dos/dll/rpc16c1.rpc
new file mode 100644
index 000000000..70ea68f12
--- /dev/null
+++ b/public/sdk/rpc16/dos/dll/rpc16c1.rpc
Binary files differ
diff --git a/public/sdk/rpc16/dos/dll/rpc16c3.map b/public/sdk/rpc16/dos/dll/rpc16c3.map
new file mode 100644
index 000000000..fbfce4c07
--- /dev/null
+++ b/public/sdk/rpc16/dos/dll/rpc16c3.map
@@ -0,0 +1,335 @@
+LINK : warning L4021: no stack segment
+
+ Start Stop Length Name Class
+ 00000H 00000H 00000H TCLTCLNT_TEXT CODE
+ 00000H 001BDH 001BEH EXPORTLT_TEXT CODE
+ 001C0H 0184CH 0168DH _TEXT CODE
+ 0184EH 01911H 000C4H INT_TEXT CODE
+ 01920H 01E06H 004E7H COMDAT_SEG1 CODE
+ 01E08H 02725H 0091EH _DATA DATA
+ 02726H 0273EH 00019H STRINGSEGMENT DATA
+ 02740H 02740H 00000H XIFB DATA
+ 02740H 02740H 00000H XIF DATA
+ 02740H 02740H 00000H XIFE DATA
+ 02740H 02740H 00000H CONST CONST
+ 02740H 028CBH 0018CH _BSS BSS
+ 028D0H 028DBH 0000CH c_common BSS
+
+ Origin Group
+ 01E0:0 DGROUP
+
+ Address Publics by Name
+
+ 0192:04D6 ??_C@_03EOPG@135?$AA@
+ 0192:04CC ??_C@_09FBHK@localhost?$AA@
+ 0192:04C0 ??_C@_0M@OCLK@?40123456789?$AA@
+ 0192:04DA ??_C@_0N@JDIH@ncacn_ip_tcp?$AA@
+ 0192:0118 CLIENTCLOSE
+ 0192:0000 CLIENTOPEN
+ 0192:017E CLIENTREAD
+ 0192:0294 CLIENTTOWERCONSTRUCT
+ 0192:0396 CLIENTTOWEREXPLODE
+ 0192:013A CLIENTWRITE
+ 0000:019A EXPORTTIME
+ 0000:009F I_DOSATEXIT
+ 0000:01AC I_NSGETMEMORYALLOCATOR
+ 0000:00F8 I_RPCALLOCATE
+ 0000:00FE I_RPCFREE
+ 0000:0104 I_RPCFREEBUFFER
+ 0000:010A I_RPCGETBUFFER
+ 0000:0116 I_RPCNSBINDINGSETENTRYNAME
+ 0000:01A0 I_RPCREGISTEREDBUFFERALLOCATE
+ 0000:01A6 I_RPCREGISTEREDBUFFERFREE
+ 0000:0110 I_RPCSENDRECEIVE
+ 0000:0152 I_RPCTRANSCLIENTMAXFRAG
+ 0000:00B8 I_RPCTRANSCLIENTREALLOCBUFFER
+ 0000:013A NDRCCONTEXTBINDING
+ 0000:0140 NDRCCONTEXTMARSHALL
+ 0000:0146 NDRCCONTEXTUNMARSHALL
+ 0000:015E NDRCLIENTCONTEXTMARSHALL
+ 0000:018E NDRCLIENTCONTEXTUNMARSHALL
+ 0000:0182 NDRCLIENTINITIALIZE
+ 0000:0188 NDRCLIENTINITIALIZENEW
+ 0000:017C NDRCONVERT
+ 0000:016A NDRFREEBUFFER
+ 0000:0170 NDRGETBUFFER
+ 0000:0176 NDRPOINTERBUFFERSIZE
+ 0000:0164 NDRPOINTERMARSHALL
+ 0000:0158 NDRPOINTERUNMARSHALL
+ 0000:0194 NDRSENDRECEIVE
+ 0000:01B8 NDRSIMPLESTRUCTBUFFERSIZE
+ 0000:01B2 NDRSIMPLESTRUCTMARSHALL
+ 0184:0010 oldint24
+ 0184:0014 oldint2f
+ 0184:000E our_psp
+ 0000:00CC RPCBINDINGCOPY
+ 0000:00EC RPCBINDINGFREE
+ 0000:00E0 RPCBINDINGFROMSTRINGBINDING
+ 0000:00DB RPCBINDINGTOSTRINGBINDING
+ 0000:00E6 RPCBINDINGVECTORFREE
+ 0000:00BD RPCGETEXCEPTIONHANDLER
+ 0000:00C7 RPCLEAVEEXCEPTION
+ 0000:0128 RPCREGCLOSEKEY
+ 0000:0122 RPCREGCREATEKEY
+ 0000:011C RPCREGOPENKEY
+ 0000:0134 RPCREGQUERYVALUE
+ 0000:012E RPCREGSETVALUE
+ 0000:00C2 RPCSETEXCEPTIONHANDLER
+ 0000:014C RPCSSDESTROYCLIENTCONTEXT
+ 0000:00D1 RPCSTRINGBINDINGCOMPOSE
+ 0000:00D6 RPCSTRINGBINDINGPARSE
+ 0000:00F2 RPCSTRINGFREE
+ 0192:0484 TRANSPORTLOAD
+ 001C:14FA _atoi
+ 0000:0063 _CallExport
+ 0000:0000 _DOSDLLInit
+ 01E0:0100 _driver_entry
+ 01E0:0940 _edata
+ 01E0:0ADC _end
+ 001C:0884 _endhostent
+ 01E0:0038 _errno
+ 0000:0046 _ExportInit
+ 0000:00A4 _GETENV
+ 0000:0081 _GetExportTableVersion
+ 001C:0C34 _gethostbyaddr
+ 001C:0A7C _gethostbyname
+ 001C:09D4 _gethostent
+ 0000:00B3 _GETPROCADDRR
+ 001C:0010 _htonl
+ 001C:001F _htons
+ 001C:03BC _inet_addr
+ 001C:0616 _inet_lnaof
+ 001C:06AC _inet_makeaddr
+ 001C:065E _inet_netof
+ 001C:04EE _inet_network
+ 001C:07A4 _inet_ntoa
+ 0000:00A9 _LOADMODR
+ 001C:1279 _locater_bind
+ 001C:126B _locater_close
+ 001C:1254 _locater_open
+ 001C:130F _locater_send
+ 001C:12DD _locater_unbind
+ 001C:15CC _memcpy
+ 001C:0010 _ntohl
+ 001C:001F _ntohs
+ 01E0:0AD4 _segregs
+ 001C:0828 _sethostent
+ 0184:0063 _set_int_handlers
+ 001C:1570 _strcspn
+ 001C:14E0 _strlen
+ 01E0:0044 _theTable
+ 01E0:0008 _TransInfo
+ 0000:00AE _UNLOADMODR
+ 0000:0000 Abs __ACRTUSED
+ 0000:0000 Abs __ADBUSED
+ 0000:1000 Abs __AHINCR
+ 0000:000C Abs __AHSHIFT
+ 001C:14FE __catox
+ 001C:0D70 __close_socket
+ 001C:162A __cltoasub
+ 001C:0DC8 __connect
+ 001C:1637 __cxtoa
+ 01E0:0940 __edata
+ 01E0:0ADC __end
+ 01E0:0AD0 __FakeErrno
+ 001C:14BC __fillbuf
+ 01E0:0AD2 __global_base
+ 001C:1554 __itoa
+ 001C:14A9 __lowio_so_fclose
+ 001C:1480 __lowio_so_fopen
+ 001C:1493 __lowio_so_rewind
+ 001C:0E32 __recv
+ 01E0:0042 __rpc_hostDS
+ 001C:0EB4 __send
+ 001C:0F36 __socket
+ 001C:0078 __so_atoui
+ 001C:10B0 __so_check_binary_compatibility
+ 001C:0718 __so_convert_char_to_ascii
+ 001C:0FE6 __so_drvropen
+ 001C:1446 __so_fclose
+ 001C:1366 __so_fgetc
+ 001C:13C4 __so_fgets
+ 001C:141A __so_fopen
+ 001C:036C __so_get_base
+ 001C:1341 __so_get_code_seg
+ 001C:020A __so_get_netfiles_path
+ 001C:10AC __so_get_sock_pid
+ 001C:11B4 __so_get_status
+ 001C:1344 __so_get_timer_cnt
+ 001C:019E __so_get_token
+ 001C:0028 __so_isdigit
+ 001C:0044 __so_isxdigit
+ 001C:0250 __so_mem_compare
+ 001C:11F8 __so_mult32
+ 001C:08A8 __so_parse_hosts_entry
+ 001C:0F9A __so_process_exit
+ 001C:1158 __so_resolve_IP_addr_to_name
+ 001C:10FE __so_resolve_name_to_IP_addr
+ 001C:1468 __so_rewind
+ 001C:10EC __so_send_the_ioctl_request
+ 001C:034C __so_skip_white_space
+ 001C:011E __so_strcat
+ 001C:0152 __so_strchr
+ 001C:00F6 __so_strcpy
+ 001C:02A2 __so_string_compare
+ 001C:017E __so_strlen
+ 001C:02E0 __so_valid_char
+
+ Address Publics by Value
+
+ 0000:0000 _DOSDLLInit
+ 0000:0000 Abs __ACRTUSED
+ 0000:0000 Abs __ADBUSED
+ 0000:000C Abs __AHSHIFT
+ 0000:0046 _ExportInit
+ 0000:0063 _CallExport
+ 0000:0081 _GetExportTableVersion
+ 0000:009F I_DOSATEXIT
+ 0000:00A4 _GETENV
+ 0000:00A9 _LOADMODR
+ 0000:00AE _UNLOADMODR
+ 0000:00B3 _GETPROCADDRR
+ 0000:00B8 I_RPCTRANSCLIENTREALLOCBUFFER
+ 0000:00BD RPCGETEXCEPTIONHANDLER
+ 0000:00C2 RPCSETEXCEPTIONHANDLER
+ 0000:00C7 RPCLEAVEEXCEPTION
+ 0000:00CC RPCBINDINGCOPY
+ 0000:00D1 RPCSTRINGBINDINGCOMPOSE
+ 0000:00D6 RPCSTRINGBINDINGPARSE
+ 0000:00DB RPCBINDINGTOSTRINGBINDING
+ 0000:00E0 RPCBINDINGFROMSTRINGBINDING
+ 0000:00E6 RPCBINDINGVECTORFREE
+ 0000:00EC RPCBINDINGFREE
+ 0000:00F2 RPCSTRINGFREE
+ 0000:00F8 I_RPCALLOCATE
+ 0000:00FE I_RPCFREE
+ 0000:0104 I_RPCFREEBUFFER
+ 0000:010A I_RPCGETBUFFER
+ 0000:0110 I_RPCSENDRECEIVE
+ 0000:0116 I_RPCNSBINDINGSETENTRYNAME
+ 0000:011C RPCREGOPENKEY
+ 0000:0122 RPCREGCREATEKEY
+ 0000:0128 RPCREGCLOSEKEY
+ 0000:012E RPCREGSETVALUE
+ 0000:0134 RPCREGQUERYVALUE
+ 0000:013A NDRCCONTEXTBINDING
+ 0000:0140 NDRCCONTEXTMARSHALL
+ 0000:0146 NDRCCONTEXTUNMARSHALL
+ 0000:014C RPCSSDESTROYCLIENTCONTEXT
+ 0000:0152 I_RPCTRANSCLIENTMAXFRAG
+ 0000:0158 NDRPOINTERUNMARSHALL
+ 0000:015E NDRCLIENTCONTEXTMARSHALL
+ 0000:0164 NDRPOINTERMARSHALL
+ 0000:016A NDRFREEBUFFER
+ 0000:0170 NDRGETBUFFER
+ 0000:0176 NDRPOINTERBUFFERSIZE
+ 0000:017C NDRCONVERT
+ 0000:0182 NDRCLIENTINITIALIZE
+ 0000:0188 NDRCLIENTINITIALIZENEW
+ 0000:018E NDRCLIENTCONTEXTUNMARSHALL
+ 0000:0194 NDRSENDRECEIVE
+ 0000:019A EXPORTTIME
+ 0000:01A0 I_RPCREGISTEREDBUFFERALLOCATE
+ 0000:01A6 I_RPCREGISTEREDBUFFERFREE
+ 0000:01AC I_NSGETMEMORYALLOCATOR
+ 0000:01B2 NDRSIMPLESTRUCTMARSHALL
+ 0000:01B8 NDRSIMPLESTRUCTBUFFERSIZE
+ 001C:0010 _ntohl
+ 001C:0010 _htonl
+ 001C:001F _htons
+ 001C:001F _ntohs
+ 001C:0028 __so_isdigit
+ 001C:0044 __so_isxdigit
+ 001C:0078 __so_atoui
+ 001C:00F6 __so_strcpy
+ 001C:011E __so_strcat
+ 001C:0152 __so_strchr
+ 001C:017E __so_strlen
+ 001C:019E __so_get_token
+ 001C:020A __so_get_netfiles_path
+ 001C:0250 __so_mem_compare
+ 001C:02A2 __so_string_compare
+ 001C:02E0 __so_valid_char
+ 001C:034C __so_skip_white_space
+ 001C:036C __so_get_base
+ 001C:03BC _inet_addr
+ 001C:04EE _inet_network
+ 001C:0616 _inet_lnaof
+ 001C:065E _inet_netof
+ 001C:06AC _inet_makeaddr
+ 001C:0718 __so_convert_char_to_ascii
+ 001C:07A4 _inet_ntoa
+ 001C:0828 _sethostent
+ 001C:0884 _endhostent
+ 001C:08A8 __so_parse_hosts_entry
+ 001C:09D4 _gethostent
+ 001C:0A7C _gethostbyname
+ 001C:0C34 _gethostbyaddr
+ 001C:0D70 __close_socket
+ 001C:0DC8 __connect
+ 001C:0E32 __recv
+ 0000:1000 Abs __AHINCR
+ 001C:0EB4 __send
+ 001C:0F36 __socket
+ 001C:0F9A __so_process_exit
+ 001C:0FE6 __so_drvropen
+ 001C:10AC __so_get_sock_pid
+ 001C:10B0 __so_check_binary_compatibility
+ 001C:10EC __so_send_the_ioctl_request
+ 001C:10FE __so_resolve_name_to_IP_addr
+ 001C:1158 __so_resolve_IP_addr_to_name
+ 001C:11B4 __so_get_status
+ 001C:11F8 __so_mult32
+ 001C:1254 _locater_open
+ 001C:126B _locater_close
+ 001C:1279 _locater_bind
+ 001C:12DD _locater_unbind
+ 001C:130F _locater_send
+ 001C:1341 __so_get_code_seg
+ 001C:1344 __so_get_timer_cnt
+ 001C:1366 __so_fgetc
+ 001C:13C4 __so_fgets
+ 001C:141A __so_fopen
+ 001C:1446 __so_fclose
+ 001C:1468 __so_rewind
+ 001C:1480 __lowio_so_fopen
+ 001C:1493 __lowio_so_rewind
+ 001C:14A9 __lowio_so_fclose
+ 001C:14BC __fillbuf
+ 001C:14E0 _strlen
+ 001C:14FA _atoi
+ 001C:14FE __catox
+ 001C:1554 __itoa
+ 001C:1570 _strcspn
+ 001C:15CC _memcpy
+ 001C:162A __cltoasub
+ 001C:1637 __cxtoa
+ 0184:000E our_psp
+ 0184:0010 oldint24
+ 0184:0014 oldint2f
+ 0184:0063 _set_int_handlers
+ 0192:0000 CLIENTOPEN
+ 0192:0118 CLIENTCLOSE
+ 0192:013A CLIENTWRITE
+ 0192:017E CLIENTREAD
+ 0192:0294 CLIENTTOWERCONSTRUCT
+ 0192:0396 CLIENTTOWEREXPLODE
+ 0192:0484 TRANSPORTLOAD
+ 0192:04C0 ??_C@_0M@OCLK@?40123456789?$AA@
+ 0192:04CC ??_C@_09FBHK@localhost?$AA@
+ 0192:04D6 ??_C@_03EOPG@135?$AA@
+ 0192:04DA ??_C@_0N@JDIH@ncacn_ip_tcp?$AA@
+ 01E0:0008 _TransInfo
+ 01E0:0038 _errno
+ 01E0:0042 __rpc_hostDS
+ 01E0:0044 _theTable
+ 01E0:0100 _driver_entry
+ 01E0:0940 _edata
+ 01E0:0940 __edata
+ 01E0:0AD0 __FakeErrno
+ 01E0:0AD2 __global_base
+ 01E0:0AD4 _segregs
+ 01E0:0ADC _end
+ 01E0:0ADC __end
+
+Program entry point at 0000:0000
diff --git a/public/sdk/rpc16/dos/dll/rpc16c3.rpc b/public/sdk/rpc16/dos/dll/rpc16c3.rpc
new file mode 100644
index 000000000..b57cf28e1
--- /dev/null
+++ b/public/sdk/rpc16/dos/dll/rpc16c3.rpc
Binary files differ
diff --git a/public/sdk/rpc16/dos/dll/rpc16c4.map b/public/sdk/rpc16/dos/dll/rpc16c4.map
new file mode 100644
index 000000000..92aec0434
--- /dev/null
+++ b/public/sdk/rpc16/dos/dll/rpc16c4.map
@@ -0,0 +1,284 @@
+LINK : warning L4021: no stack segment
+
+ Start Stop Length Name Class
+ 00000H 00000H 00000H DNLTCLNT_TEXT CODE
+ 00000H 001BDH 001BEH EXPORTLT_TEXT CODE
+ 001BEH 002ABH 000EEH DNETADDR_TEXT CODE
+ 002ACH 003ADH 00102H DNETPATH_TEXT CODE
+ 003AEH 0040FH 00062H GNODEBAD_TEXT CODE
+ 00410H 0048DH 0007EH GNODEBNM_TEXT CODE
+ 0048EH 005BFH 00132H GNODEENT_TEXT CODE
+ 005C0H 005F3H 00034H HCLOSE_TEXT CODE
+ 005F4H 00691H 0009EH HOPEN_TEXT CODE
+ 00692H 006F5H 00064H HREAD_TEXT CODE
+ 006F6H 0078DH 00098H HSEEK_TEXT CODE
+ 0078EH 007EDH 00060H PRGCLS_TEXT CODE
+ 007EEH 00841H 00054H PRGCON_TEXT CODE
+ 00842H 00953H 00112H PRGRCV_TEXT CODE
+ 00954H 00A3FH 000ECH PRGSEL_TEXT CODE
+ 00A40H 00B3BH 000FCH PRGSND_TEXT CODE
+ 00B3CH 00B95H 0005AH PRGSOC_TEXT CODE
+ 00B96H 00BB3H 0001EH PTRCONV_TEXT CODE
+ 00BB4H 00D60H 001ADH _DNET_TEXT CODE
+ 00D62H 00F59H 001F8H _TEXT CODE
+ 00F60H 0146AH 0050BH COMDAT_SEG1 CODE
+ 0146CH 016F9H 0028EH _DATA DATA
+ 016FAH 01712H 00019H STRINGSEGMENT DATA
+ 01714H 01714H 00000H XIFB DATA
+ 01714H 01714H 00000H XIF DATA
+ 01714H 01714H 00000H XIFE DATA
+ 01714H 0171BH 00008H CONST CONST
+ 0171CH 017B3H 00098H _BSS BSS
+
+ Origin Group
+ 0146:0 DGROUP
+
+ Address Publics by Name
+
+ 00F6:04F8 ??_C@_03HJFF@?$CD69?$AA@
+ 00F6:04EC ??_C@_0M@OCLK@?40123456789?$AA@
+ 00F6:04FC ??_C@_0P@MCIL@ncacn_dnet_nsp?$AA@
+ 00F6:011C CLIENTCLOSE
+ 00F6:0000 CLIENTOPEN
+ 00F6:0178 CLIENTREAD
+ 00F6:02B4 CLIENTTOWERCONSTRUCT
+ 00F6:03CE CLIENTTOWEREXPLODE
+ 00F6:0138 CLIENTWRITE
+ 0000:019A EXPORTTIME
+ 0000:009F I_DOSATEXIT
+ 0000:01AC I_NSGETMEMORYALLOCATOR
+ 0000:00F8 I_RPCALLOCATE
+ 0000:00FE I_RPCFREE
+ 0000:0104 I_RPCFREEBUFFER
+ 0000:010A I_RPCGETBUFFER
+ 0000:0116 I_RPCNSBINDINGSETENTRYNAME
+ 0000:01A0 I_RPCREGISTEREDBUFFERALLOCATE
+ 0000:01A6 I_RPCREGISTEREDBUFFERFREE
+ 0000:0110 I_RPCSENDRECEIVE
+ 0000:0152 I_RPCTRANSCLIENTMAXFRAG
+ 0000:00B8 I_RPCTRANSCLIENTREALLOCBUFFER
+ 0000:013A NDRCCONTEXTBINDING
+ 0000:0140 NDRCCONTEXTMARSHALL
+ 0000:0146 NDRCCONTEXTUNMARSHALL
+ 0000:015E NDRCLIENTCONTEXTMARSHALL
+ 0000:018E NDRCLIENTCONTEXTUNMARSHALL
+ 0000:0182 NDRCLIENTINITIALIZE
+ 0000:0188 NDRCLIENTINITIALIZENEW
+ 0000:017C NDRCONVERT
+ 0000:016A NDRFREEBUFFER
+ 0000:0170 NDRGETBUFFER
+ 0000:0176 NDRPOINTERBUFFERSIZE
+ 0000:0164 NDRPOINTERMARSHALL
+ 0000:0158 NDRPOINTERUNMARSHALL
+ 0000:0194 NDRSENDRECEIVE
+ 0000:01B8 NDRSIMPLESTRUCTBUFFERSIZE
+ 0000:01B2 NDRSIMPLESTRUCTMARSHALL
+ 0000:00CC RPCBINDINGCOPY
+ 0000:00EC RPCBINDINGFREE
+ 0000:00E0 RPCBINDINGFROMSTRINGBINDING
+ 0000:00DB RPCBINDINGTOSTRINGBINDING
+ 0000:00E6 RPCBINDINGVECTORFREE
+ 0000:00BD RPCGETEXCEPTIONHANDLER
+ 0000:00C7 RPCLEAVEEXCEPTION
+ 0000:0128 RPCREGCLOSEKEY
+ 0000:0122 RPCREGCREATEKEY
+ 0000:011C RPCREGOPENKEY
+ 0000:0134 RPCREGQUERYVALUE
+ 0000:012E RPCREGSETVALUE
+ 0000:00C2 RPCSETEXCEPTIONHANDLER
+ 0000:014C RPCSSDESTROYCLIENTCONTEXT
+ 0000:00D1 RPCSTRINGBINDINGCOMPOSE
+ 0000:00D6 RPCSTRINGBINDINGPARSE
+ 0000:00F2 RPCSTRINGFREE
+ 00F6:04DC TRANSPORTLOAD
+ 00D6:00E6 _atoi
+ 00BB:0004 _bcmp
+ 00BB:002D _bcopy
+ 00BB:0052 _bzero
+ 0000:0063 _CallExport
+ 007E:000E _connect
+ 00BB:0074 _decnet
+ 001B:000E _dnet_addr
+ 0146:0134 _dnet_copyright
+ 002A:000C _dnet_path
+ 0146:0176 _dnet_version
+ 0146:0132 _dnp_status
+ 0000:0000 _DOSDLLInit
+ 0146:02BC _edata
+ 0146:0354 _end
+ 0048:005C _endnodeent
+ 0146:003C _errno
+ 0000:0046 _ExportInit
+ 0000:00A4 _GETENV
+ 0000:0081 _GetExportTableVersion
+ 003A:000E _getnodebyaddr
+ 0041:0000 _getnodebyname
+ 0048:00FC _getnodedb
+ 0048:007E _getnodeent
+ 0000:00B3 _GETPROCADDRR
+ 002A:00F0 _get_current_volume
+ 005C:0000 _hclose
+ 005F:0004 _hopen
+ 0069:0002 _hread
+ 006F:0006 _hseek
+ 00BB:00EF _install_check
+ 0000:00A9 _LOADMODR
+ 00B9:0006 _lohi
+ 00B9:0012 _lsw
+ 00D6:019C _memcpy
+ 00BB:0116 _msdos
+ 00B9:001A _msw
+ 0084:0002 _recv
+ 0078:000E _sclose
+ 0095:0004 _select
+ 00A4:0000 _send
+ 0048:000E _setnodeent
+ 00B3:000C _socket
+ 0084:0062 _sread
+ 00D6:0012 _strcat
+ 00D6:00A2 _strcmp
+ 00D6:0066 _strcpy
+ 00D6:0140 _strcspn
+ 00D6:00CC _strlen
+ 00A4:0054 _swrite
+ 0146:0048 _theTable
+ 0146:000C _TransInfo
+ 0000:00AE _UNLOADMODR
+ 0084:00A0 _xrecv
+ 00A4:0092 _xsend
+ 0000:0000 Abs __ACRTUSED
+ 0000:0000 Abs __ADBUSED
+ 0000:1000 Abs __AHINCR
+ 0000:000C Abs __AHSHIFT
+ 00D6:00EA __catox
+ 0146:0198 __ctype
+ 0146:0198 __ctype_
+ 0146:02BC __edata
+ 0146:0354 __end
+ 0146:0046 __rpc_hostDS
+
+ Address Publics by Value
+
+ 0000:0000 Abs __ACRTUSED
+ 0000:0000 Abs __ADBUSED
+ 0000:0000 _DOSDLLInit
+ 0000:000C Abs __AHSHIFT
+ 0000:0046 _ExportInit
+ 0000:0063 _CallExport
+ 0000:0081 _GetExportTableVersion
+ 0000:009F I_DOSATEXIT
+ 0000:00A4 _GETENV
+ 0000:00A9 _LOADMODR
+ 0000:00AE _UNLOADMODR
+ 0000:00B3 _GETPROCADDRR
+ 0000:00B8 I_RPCTRANSCLIENTREALLOCBUFFER
+ 0000:00BD RPCGETEXCEPTIONHANDLER
+ 0000:00C2 RPCSETEXCEPTIONHANDLER
+ 0000:00C7 RPCLEAVEEXCEPTION
+ 0000:00CC RPCBINDINGCOPY
+ 0000:00D1 RPCSTRINGBINDINGCOMPOSE
+ 0000:00D6 RPCSTRINGBINDINGPARSE
+ 0000:00DB RPCBINDINGTOSTRINGBINDING
+ 0000:00E0 RPCBINDINGFROMSTRINGBINDING
+ 0000:00E6 RPCBINDINGVECTORFREE
+ 0000:00EC RPCBINDINGFREE
+ 0000:00F2 RPCSTRINGFREE
+ 0000:00F8 I_RPCALLOCATE
+ 0000:00FE I_RPCFREE
+ 0000:0104 I_RPCFREEBUFFER
+ 0000:010A I_RPCGETBUFFER
+ 0000:0110 I_RPCSENDRECEIVE
+ 0000:0116 I_RPCNSBINDINGSETENTRYNAME
+ 0000:011C RPCREGOPENKEY
+ 0000:0122 RPCREGCREATEKEY
+ 0000:0128 RPCREGCLOSEKEY
+ 0000:012E RPCREGSETVALUE
+ 0000:0134 RPCREGQUERYVALUE
+ 0000:013A NDRCCONTEXTBINDING
+ 0000:0140 NDRCCONTEXTMARSHALL
+ 0000:0146 NDRCCONTEXTUNMARSHALL
+ 0000:014C RPCSSDESTROYCLIENTCONTEXT
+ 0000:0152 I_RPCTRANSCLIENTMAXFRAG
+ 0000:0158 NDRPOINTERUNMARSHALL
+ 0000:015E NDRCLIENTCONTEXTMARSHALL
+ 0000:0164 NDRPOINTERMARSHALL
+ 0000:016A NDRFREEBUFFER
+ 0000:0170 NDRGETBUFFER
+ 0000:0176 NDRPOINTERBUFFERSIZE
+ 0000:017C NDRCONVERT
+ 0000:0182 NDRCLIENTINITIALIZE
+ 0000:0188 NDRCLIENTINITIALIZENEW
+ 0000:018E NDRCLIENTCONTEXTUNMARSHALL
+ 0000:0194 NDRSENDRECEIVE
+ 0000:019A EXPORTTIME
+ 0000:01A0 I_RPCREGISTEREDBUFFERALLOCATE
+ 0000:01A6 I_RPCREGISTEREDBUFFERFREE
+ 0000:01AC I_NSGETMEMORYALLOCATOR
+ 0000:01B2 NDRSIMPLESTRUCTMARSHALL
+ 0000:01B8 NDRSIMPLESTRUCTBUFFERSIZE
+ 001B:000E _dnet_addr
+ 002A:000C _dnet_path
+ 002A:00F0 _get_current_volume
+ 003A:000E _getnodebyaddr
+ 0041:0000 _getnodebyname
+ 0048:000E _setnodeent
+ 0048:005C _endnodeent
+ 0048:007E _getnodeent
+ 0048:00FC _getnodedb
+ 005C:0000 _hclose
+ 005F:0004 _hopen
+ 0069:0002 _hread
+ 006F:0006 _hseek
+ 0078:000E _sclose
+ 007E:000E _connect
+ 0084:0002 _recv
+ 0084:0062 _sread
+ 0084:00A0 _xrecv
+ 0095:0004 _select
+ 00A4:0000 _send
+ 00A4:0054 _swrite
+ 00A4:0092 _xsend
+ 00B3:000C _socket
+ 00B9:0006 _lohi
+ 00B9:0012 _lsw
+ 00B9:001A _msw
+ 00BB:0004 _bcmp
+ 00BB:002D _bcopy
+ 00BB:0052 _bzero
+ 00BB:0074 _decnet
+ 00BB:00EF _install_check
+ 00BB:0116 _msdos
+ 00D6:0012 _strcat
+ 00D6:0066 _strcpy
+ 00D6:00A2 _strcmp
+ 00D6:00CC _strlen
+ 00D6:00E6 _atoi
+ 00D6:00EA __catox
+ 00D6:0140 _strcspn
+ 00D6:019C _memcpy
+ 00F6:0000 CLIENTOPEN
+ 0000:1000 Abs __AHINCR
+ 00F6:011C CLIENTCLOSE
+ 00F6:0138 CLIENTWRITE
+ 00F6:0178 CLIENTREAD
+ 00F6:02B4 CLIENTTOWERCONSTRUCT
+ 00F6:03CE CLIENTTOWEREXPLODE
+ 00F6:04DC TRANSPORTLOAD
+ 00F6:04EC ??_C@_0M@OCLK@?40123456789?$AA@
+ 00F6:04F8 ??_C@_03HJFF@?$CD69?$AA@
+ 00F6:04FC ??_C@_0P@MCIL@ncacn_dnet_nsp?$AA@
+ 0146:000C _TransInfo
+ 0146:003C _errno
+ 0146:0046 __rpc_hostDS
+ 0146:0048 _theTable
+ 0146:0132 _dnp_status
+ 0146:0134 _dnet_copyright
+ 0146:0176 _dnet_version
+ 0146:0198 __ctype
+ 0146:0198 __ctype_
+ 0146:02BC _edata
+ 0146:02BC __edata
+ 0146:0354 _end
+ 0146:0354 __end
+
+Program entry point at 0000:0000
diff --git a/public/sdk/rpc16/dos/dll/rpc16c4.rpc b/public/sdk/rpc16/dos/dll/rpc16c4.rpc
new file mode 100644
index 000000000..de21026e1
--- /dev/null
+++ b/public/sdk/rpc16/dos/dll/rpc16c4.rpc
Binary files differ
diff --git a/public/sdk/rpc16/dos/dll/rpc16c5.map b/public/sdk/rpc16/dos/dll/rpc16c5.map
new file mode 100644
index 000000000..e0e4775af
--- /dev/null
+++ b/public/sdk/rpc16/dos/dll/rpc16c5.map
@@ -0,0 +1,216 @@
+LINK : warning L4021: no stack segment
+
+ Start Stop Length Name Class
+ 00000H 00000H 00000H NBLTCLNT_TEXT CODE
+ 00000H 001BDH 001BEH EXPORTLT_TEXT CODE
+ 001BEH 0030CH 0014FH _TEXT CODE
+ 00310H 01486H 01177H COMDAT_SEG1 CODE
+ 01488H 01533H 000ACH _DATA DATA
+ 01534H 0154CH 00019H STRINGSEGMENT DATA
+ 0154EH 0154EH 00000H XIFB DATA
+ 0154EH 0154EH 00000H XIF DATA
+ 0154EH 0154EH 00000H XIFE DATA
+ 0154EH 0154EH 00000H CONST CONST
+ 0154EH 0154EH 00000H _BSS BSS
+ 01550H 0157FH 00030H c_common BSS
+
+ Origin Group
+ 0148:0 DGROUP
+
+ Address Publics by Name
+
+ 0031:1158 ??_C@_0BP@PJIB@Software?2Microsoft?2Rpc?2NetBios?$AA@
+ 0031:1122 ??_C@_0M@PAMB@ncacn_nb_nb?$AA@
+ 0031:112E ??_C@_0N@DJPI@ncacn_nb_tcp?$AA@
+ 0031:114A ??_C@_0N@JHIF@ncacn_nb_ipx?$AA@
+ 0031:113C ??_C@_0N@OHPK@ncacn_nb_xns?$AA@
+ 0031:057C CLOSE
+ 0031:10F4 EXECNCB
+ 0000:019A EXPORTTIME
+ 0031:0F20 INITNBMUTEX
+ 0000:009F I_DOSATEXIT
+ 0000:01AC I_NSGETMEMORYALLOCATOR
+ 0000:00F8 I_RPCALLOCATE
+ 0000:00FE I_RPCFREE
+ 0000:0104 I_RPCFREEBUFFER
+ 0000:010A I_RPCGETBUFFER
+ 0000:0116 I_RPCNSBINDINGSETENTRYNAME
+ 0000:01A0 I_RPCREGISTEREDBUFFERALLOCATE
+ 0000:01A6 I_RPCREGISTEREDBUFFERFREE
+ 0000:0110 I_RPCSENDRECEIVE
+ 0000:0152 I_RPCTRANSCLIENTMAXFRAG
+ 0000:00B8 I_RPCTRANSCLIENTREALLOCBUFFER
+ 0031:106E MAPERRORCODE
+ 0000:013A NDRCCONTEXTBINDING
+ 0000:0140 NDRCCONTEXTMARSHALL
+ 0000:0146 NDRCCONTEXTUNMARSHALL
+ 0000:015E NDRCLIENTCONTEXTMARSHALL
+ 0000:018E NDRCLIENTCONTEXTUNMARSHALL
+ 0000:0182 NDRCLIENTINITIALIZE
+ 0000:0188 NDRCLIENTINITIALIZENEW
+ 0000:017C NDRCONVERT
+ 0000:016A NDRFREEBUFFER
+ 0000:0170 NDRGETBUFFER
+ 0000:0176 NDRPOINTERBUFFERSIZE
+ 0000:0164 NDRPOINTERMARSHALL
+ 0000:0158 NDRPOINTERUNMARSHALL
+ 0000:0194 NDRSENDRECEIVE
+ 0000:01B8 NDRSIMPLESTRUCTBUFFERSIZE
+ 0000:01B2 NDRSIMPLESTRUCTMARSHALL
+ 0031:0302 OPEN
+ 0031:081A RECEIVE
+ 0000:00CC RPCBINDINGCOPY
+ 0000:00EC RPCBINDINGFREE
+ 0000:00E0 RPCBINDINGFROMSTRINGBINDING
+ 0000:00DB RPCBINDINGTOSTRINGBINDING
+ 0000:00E6 RPCBINDINGVECTORFREE
+ 0000:00BD RPCGETEXCEPTIONHANDLER
+ 0000:00C7 RPCLEAVEEXCEPTION
+ 0000:0128 RPCREGCLOSEKEY
+ 0000:0122 RPCREGCREATEKEY
+ 0000:011C RPCREGOPENKEY
+ 0000:0134 RPCREGQUERYVALUE
+ 0000:012E RPCREGSETVALUE
+ 0000:00C2 RPCSETEXCEPTIONHANDLER
+ 0000:014C RPCSSDESTROYCLIENTCONTEXT
+ 0000:00D1 RPCSTRINGBINDINGCOMPOSE
+ 0000:00D6 RPCSTRINGBINDINGPARSE
+ 0000:00F2 RPCSTRINGFREE
+ 0031:0710 SEND
+ 0031:098C SENDRECEIVE
+ 0031:0BF8 TOWERCONSTRUCT
+ 0031:0DE6 TOWEREXPLODE
+ 0031:00A0 TRANSPORTLOAD
+ 0000:0063 _CallExport
+ 0031:0000 _CleanUpNetBios
+ 0000:0000 _DOSDLLInit
+ 0148:00CE _edata
+ 0148:0100 _end
+ 0148:0090 _errno
+ 0000:0046 _ExportInit
+ 0000:00A4 _GETENV
+ 0000:0081 _GetExportTableVersion
+ 0000:00B3 _GETPROCADDRR
+ 0000:00A9 _LOADMODR
+ 0148:007E _MachineName
+ 0148:008E _MachineNameLengthUnpadded
+ 0031:0F28 _MapProtocol
+ 001B:009E _memcpy
+ 001B:00FC _memset
+ 0148:0008 _NetBiosErrors
+ 0148:00D0 _ProtoToLana
+ 0031:10B6 _SetupNetBios
+ 001B:005A _strcmp
+ 001B:001E _strcpy
+ 001B:0084 _strlen
+ 0148:009C _theTable
+ 0148:004E _TransInfo
+ 0000:00AE _UNLOADMODR
+ 0000:0000 Abs __ACRTUSED
+ 0000:0000 Abs __ADBUSED
+ 0000:1000 Abs __AHINCR
+ 0000:000C Abs __AHSHIFT
+ 0148:00CE __edata
+ 0148:0100 __end
+ 001B:0144 __fstrlen
+ 0148:009A __rpc_hostDS
+
+ Address Publics by Value
+
+ 0000:0000 Abs __ACRTUSED
+ 0000:0000 _DOSDLLInit
+ 0000:0000 Abs __ADBUSED
+ 0000:000C Abs __AHSHIFT
+ 0000:0046 _ExportInit
+ 0000:0063 _CallExport
+ 0000:0081 _GetExportTableVersion
+ 0000:009F I_DOSATEXIT
+ 0000:00A4 _GETENV
+ 0000:00A9 _LOADMODR
+ 0000:00AE _UNLOADMODR
+ 0000:00B3 _GETPROCADDRR
+ 0000:00B8 I_RPCTRANSCLIENTREALLOCBUFFER
+ 0000:00BD RPCGETEXCEPTIONHANDLER
+ 0000:00C2 RPCSETEXCEPTIONHANDLER
+ 0000:00C7 RPCLEAVEEXCEPTION
+ 0000:00CC RPCBINDINGCOPY
+ 0000:00D1 RPCSTRINGBINDINGCOMPOSE
+ 0000:00D6 RPCSTRINGBINDINGPARSE
+ 0000:00DB RPCBINDINGTOSTRINGBINDING
+ 0000:00E0 RPCBINDINGFROMSTRINGBINDING
+ 0000:00E6 RPCBINDINGVECTORFREE
+ 0000:00EC RPCBINDINGFREE
+ 0000:00F2 RPCSTRINGFREE
+ 0000:00F8 I_RPCALLOCATE
+ 0000:00FE I_RPCFREE
+ 0000:0104 I_RPCFREEBUFFER
+ 0000:010A I_RPCGETBUFFER
+ 0000:0110 I_RPCSENDRECEIVE
+ 0000:0116 I_RPCNSBINDINGSETENTRYNAME
+ 0000:011C RPCREGOPENKEY
+ 0000:0122 RPCREGCREATEKEY
+ 0000:0128 RPCREGCLOSEKEY
+ 0000:012E RPCREGSETVALUE
+ 0000:0134 RPCREGQUERYVALUE
+ 0000:013A NDRCCONTEXTBINDING
+ 0000:0140 NDRCCONTEXTMARSHALL
+ 0000:0146 NDRCCONTEXTUNMARSHALL
+ 0000:014C RPCSSDESTROYCLIENTCONTEXT
+ 0000:0152 I_RPCTRANSCLIENTMAXFRAG
+ 0000:0158 NDRPOINTERUNMARSHALL
+ 0000:015E NDRCLIENTCONTEXTMARSHALL
+ 0000:0164 NDRPOINTERMARSHALL
+ 0000:016A NDRFREEBUFFER
+ 0000:0170 NDRGETBUFFER
+ 0000:0176 NDRPOINTERBUFFERSIZE
+ 0000:017C NDRCONVERT
+ 0000:0182 NDRCLIENTINITIALIZE
+ 0000:0188 NDRCLIENTINITIALIZENEW
+ 0000:018E NDRCLIENTCONTEXTUNMARSHALL
+ 0000:0194 NDRSENDRECEIVE
+ 0000:019A EXPORTTIME
+ 0000:01A0 I_RPCREGISTEREDBUFFERALLOCATE
+ 0000:01A6 I_RPCREGISTEREDBUFFERFREE
+ 0000:01AC I_NSGETMEMORYALLOCATOR
+ 0000:01B2 NDRSIMPLESTRUCTMARSHALL
+ 0000:01B8 NDRSIMPLESTRUCTBUFFERSIZE
+ 001B:001E _strcpy
+ 001B:005A _strcmp
+ 001B:0084 _strlen
+ 001B:009E _memcpy
+ 001B:00FC _memset
+ 001B:0144 __fstrlen
+ 0031:0000 _CleanUpNetBios
+ 0031:00A0 TRANSPORTLOAD
+ 0031:0302 OPEN
+ 0031:057C CLOSE
+ 0031:0710 SEND
+ 0031:081A RECEIVE
+ 0031:098C SENDRECEIVE
+ 0031:0BF8 TOWERCONSTRUCT
+ 0000:1000 Abs __AHINCR
+ 0031:0DE6 TOWEREXPLODE
+ 0031:0F20 INITNBMUTEX
+ 0031:0F28 _MapProtocol
+ 0031:106E MAPERRORCODE
+ 0031:10B6 _SetupNetBios
+ 0031:10F4 EXECNCB
+ 0031:1122 ??_C@_0M@PAMB@ncacn_nb_nb?$AA@
+ 0031:112E ??_C@_0N@DJPI@ncacn_nb_tcp?$AA@
+ 0031:113C ??_C@_0N@OHPK@ncacn_nb_xns?$AA@
+ 0031:114A ??_C@_0N@JHIF@ncacn_nb_ipx?$AA@
+ 0031:1158 ??_C@_0BP@PJIB@Software?2Microsoft?2Rpc?2NetBios?$AA@
+ 0148:0008 _NetBiosErrors
+ 0148:004E _TransInfo
+ 0148:007E _MachineName
+ 0148:008E _MachineNameLengthUnpadded
+ 0148:0090 _errno
+ 0148:009A __rpc_hostDS
+ 0148:009C _theTable
+ 0148:00CE _edata
+ 0148:00CE __edata
+ 0148:00D0 _ProtoToLana
+ 0148:0100 __end
+ 0148:0100 _end
+
+Program entry point at 0000:0000
diff --git a/public/sdk/rpc16/dos/dll/rpc16c5.rpc b/public/sdk/rpc16/dos/dll/rpc16c5.rpc
new file mode 100644
index 000000000..6fd32a149
--- /dev/null
+++ b/public/sdk/rpc16/dos/dll/rpc16c5.rpc
Binary files differ
diff --git a/public/sdk/rpc16/dos/dll/rpc16c6.map b/public/sdk/rpc16/dos/dll/rpc16c6.map
new file mode 100644
index 000000000..7112247b1
--- /dev/null
+++ b/public/sdk/rpc16/dos/dll/rpc16c6.map
@@ -0,0 +1,330 @@
+LINK : warning L4021: no stack segment
+
+ Start Stop Length Name Class
+ 00000H 00000H 00000H SPXCLNT_TEXT CODE
+ 00000H 001BDH 001BEH EXPORTLT_TEXT CODE
+ 001BEH 001BEH 00000H GETHOST_TEXT CODE
+ 001BEH 001BEH 00000H NOVELL_TEXT CODE
+ 001BEH 0051DH 00360H _TEXT CODE
+ 00520H 02020H 01B01H COMDAT_SEG1 CODE
+ 02022H 0207BH 0005AH _DATA DATA
+ 0207CH 02094H 00019H STRINGSEGMENT DATA
+ 02096H 02096H 00000H XIFB DATA
+ 02096H 02096H 00000H XIF DATA
+ 02096H 02096H 00000H XIFE DATA
+ 02096H 02096H 00000H CONST CONST
+ 02096H 02096H 00000H _BSS BSS
+ 020A0H 02205H 00166H c_common BSS
+
+ Origin Group
+ 0202:0 DGROUP
+
+ Address Publics by Name
+
+ 0052:0A60 ??_C@_05LKBG@34280?$AA@
+ 0052:0A66 ??_C@_09LLEG@ncacn_spx?$AA@
+ 0052:0A54 ??_C@_0L@JIBM@0123456789?$AA@
+ 0052:117C ??_C@_0M@KHAG@NET_ADDRESS?$AA@
+ 0052:11CE ASMIPXCANCELEVENT
+ 0052:11EA ASMIPXCLOSESOCKET
+ 0000:0000 Unr ASMIPXDISCONNECTFROMTARGET
+ 0000:0000 Unr ASMIPXGETINTERNETWORKADDRESS
+ 0052:1206 ASMIPXGETINTERVALMARKER
+ 0052:135A ASMIPXGETLOCALTARGET
+ 0052:1344 ASMIPXGETMAXPACKETSIZE
+ 0052:1188 ASMIPXINITIALIZE
+ 0052:121C ASMIPXLISTENFORPACKET
+ 0052:1238 ASMIPXOPENSOCKET
+ 0052:1260 ASMIPXRELINQUISHCONTROL
+ 0052:1276 ASMIPXSENDPACKET
+ 0000:0000 Unr ASMSPXABORTCONNECTION
+ 0052:12C4 ASMSPXESTABLISHCONNECTION
+ 0052:1292 ASMSPXINITIALIZE
+ 0052:12EC ASMSPXLISTENFORSEQUENCEDPACKET
+ 0052:1308 ASMSPXSENDSEQUENCEDPACKET
+ 0052:1326 ASMSPXTERMINATECONNECTION
+ 0052:0258 CLIENTCLOSE
+ 0052:00E6 CLIENTOPEN
+ 0052:0558 CLIENTRECV
+ 0052:02E2 CLIENTSEND
+ 0052:06E2 CLIENTTOWERCONSTRUCT
+ 0052:07B4 CLIENTTOWEREXPLODE
+ 0000:019A EXPORTTIME
+ 0000:009F I_DOSATEXIT
+ 0000:01AC I_NSGETMEMORYALLOCATOR
+ 0000:00F8 I_RPCALLOCATE
+ 0000:00FE I_RPCFREE
+ 0000:0104 I_RPCFREEBUFFER
+ 0000:010A I_RPCGETBUFFER
+ 0000:0116 I_RPCNSBINDINGSETENTRYNAME
+ 0000:01A0 I_RPCREGISTEREDBUFFERALLOCATE
+ 0000:01A6 I_RPCREGISTEREDBUFFERFREE
+ 0000:0110 I_RPCSENDRECEIVE
+ 0000:0152 I_RPCTRANSCLIENTMAXFRAG
+ 0000:00B8 I_RPCTRANSCLIENTREALLOCBUFFER
+ 0000:013A NDRCCONTEXTBINDING
+ 0000:0140 NDRCCONTEXTMARSHALL
+ 0000:0146 NDRCCONTEXTUNMARSHALL
+ 0000:015E NDRCLIENTCONTEXTMARSHALL
+ 0000:018E NDRCLIENTCONTEXTUNMARSHALL
+ 0000:0182 NDRCLIENTINITIALIZE
+ 0000:0188 NDRCLIENTINITIALIZENEW
+ 0000:017C NDRCONVERT
+ 0000:016A NDRFREEBUFFER
+ 0000:0170 NDRGETBUFFER
+ 0000:0176 NDRPOINTERBUFFERSIZE
+ 0000:0164 NDRPOINTERMARSHALL
+ 0000:0158 NDRPOINTERUNMARSHALL
+ 0000:0194 NDRSENDRECEIVE
+ 0000:01B8 NDRSIMPLESTRUCTBUFFERSIZE
+ 0000:01B2 NDRSIMPLESTRUCTMARSHALL
+ 0000:00CC RPCBINDINGCOPY
+ 0000:00EC RPCBINDINGFREE
+ 0000:00E0 RPCBINDINGFROMSTRINGBINDING
+ 0000:00DB RPCBINDINGTOSTRINGBINDING
+ 0000:00E6 RPCBINDINGVECTORFREE
+ 0000:00BD RPCGETEXCEPTIONHANDLER
+ 0000:00C7 RPCLEAVEEXCEPTION
+ 0000:0128 RPCREGCLOSEKEY
+ 0000:0122 RPCREGCREATEKEY
+ 0000:011C RPCREGOPENKEY
+ 0000:0134 RPCREGQUERYVALUE
+ 0000:012E RPCREGSETVALUE
+ 0000:00C2 RPCSETEXCEPTIONHANDLER
+ 0000:014C RPCSSDESTROYCLIENTCONTEXT
+ 0000:00D1 RPCSTRINGBINDINGCOMPOSE
+ 0000:00D6 RPCSTRINGBINDINGPARSE
+ 0000:00F2 RPCSTRINGFREE
+ 0052:0902 TRANSPORTLOAD
+ 0202:005A _ActiveFileServer
+ 0052:0B0C _AddServerToCache
+ 001B:0038 _atoi
+ 0052:0000 _ByteSwapShort
+ 0052:0C28 _CachedServerContacted
+ 0052:0C68 _CachedServerNotContacted
+ 0000:0063 _CallExport
+ 0052:0A70 _chtob
+ 0202:015C _chunk
+ 0052:0890 _ClientCleanup
+ 0052:167A _ConnectToAnyFileServer
+ 0202:0146 _conn_failed_cnt
+ 0202:0086 _conn_lookup
+ 0052:199E _DisconnectFromServer
+ 0000:0000 _DOSDLLInit
+ 0052:0AF4 _DosGetTickCount
+ 0202:0076 _edata
+ 0202:01E6 _end
+ 0202:014A _enteripx
+ 0202:0032 _errno
+ 0000:0046 _ExportInit
+ 0202:0058 _FileServerCount
+ 0052:1400 _FindFileServers
+ 0052:0BE8 _FindServerInCache
+ 0000:00A4 _GETENV
+ 0000:0081 _GetExportTableVersion
+ 0000:00B3 _GETPROCADDRR
+ 0052:1012 _IpxGetHostByName
+ 0000:00A9 _LOADMODR
+ 0202:0164 _max_num_send
+ 001B:00EE _memcpy
+ 001B:014C _memset
+ 0052:1784 _NcpTransaction
+ 0202:0144 _nfy_failure_cnt
+ 0202:0162 _packet_size
+ 0202:0124 _PreferredServer
+ 0202:0056 _PreferredServerFound
+ 0052:19F0 _ReadPropertyValue
+ 0202:0084 _receive_code
+ 0202:0160 _receive_data
+ 0202:0080 _receive_failed_cnt
+ 0202:0082 _receive_fragmentCount
+ 0202:00E6 _receive_fragmentSize
+ 0202:0152 _receive_head
+ 0202:0143 _receive_seq
+ 0202:0148 _receive_spx_length
+ 0202:015A _receive_state
+ 0202:014E _receive_tail
+ 0052:0CC8 _SearchBindery
+ 0052:0DA4 _SearchWithSap
+ 0202:0156 _send_data
+ 0202:0157 _send_seq
+ 0202:0166 _ServerCache
+ 0202:00E8 _Servers
+ 0052:13B4 _SetupEcb
+ 0202:0158 _socket
+ 001B:001E _strlen
+ 001B:0092 _strspn
+ 0202:003E _theTable
+ 0202:0002 _TransInfo
+ 0000:00AE _UNLOADMODR
+ 0000:0000 Abs __ACRTUSED
+ 0000:0000 Abs __ADBUSED
+ 0000:1000 Abs __AHINCR
+ 0000:000C Abs __AHSHIFT
+ 001B:003C __catox
+ 0202:0076 __edata
+ 0202:01E6 __end
+ 001B:0194 __fmemcmp
+ 001B:01F0 __fmemcpy
+ 001B:02CE __fmemset
+ 001B:0268 __fstrcmp
+ 001B:0292 __fstrcpy
+ 001B:024E __fstrlen
+ 001B:0316 __fstrnicmp
+ 0202:003C __rpc_hostDS
+
+ Address Publics by Value
+
+ 0000:0000 Abs __ADBUSED
+ 0000:0000 Unr ASMIPXGETINTERNETWORKADDRESS
+ 0000:0000 Unr ASMSPXABORTCONNECTION
+ 0000:0000 _DOSDLLInit
+ 0000:0000 Abs __ACRTUSED
+ 0000:0000 Unr ASMIPXDISCONNECTFROMTARGET
+ 0000:000C Abs __AHSHIFT
+ 0000:0046 _ExportInit
+ 0000:0063 _CallExport
+ 0000:0081 _GetExportTableVersion
+ 0000:009F I_DOSATEXIT
+ 0000:00A4 _GETENV
+ 0000:00A9 _LOADMODR
+ 0000:00AE _UNLOADMODR
+ 0000:00B3 _GETPROCADDRR
+ 0000:00B8 I_RPCTRANSCLIENTREALLOCBUFFER
+ 0000:00BD RPCGETEXCEPTIONHANDLER
+ 0000:00C2 RPCSETEXCEPTIONHANDLER
+ 0000:00C7 RPCLEAVEEXCEPTION
+ 0000:00CC RPCBINDINGCOPY
+ 0000:00D1 RPCSTRINGBINDINGCOMPOSE
+ 0000:00D6 RPCSTRINGBINDINGPARSE
+ 0000:00DB RPCBINDINGTOSTRINGBINDING
+ 0000:00E0 RPCBINDINGFROMSTRINGBINDING
+ 0000:00E6 RPCBINDINGVECTORFREE
+ 0000:00EC RPCBINDINGFREE
+ 0000:00F2 RPCSTRINGFREE
+ 0000:00F8 I_RPCALLOCATE
+ 0000:00FE I_RPCFREE
+ 0000:0104 I_RPCFREEBUFFER
+ 0000:010A I_RPCGETBUFFER
+ 0000:0110 I_RPCSENDRECEIVE
+ 0000:0116 I_RPCNSBINDINGSETENTRYNAME
+ 0000:011C RPCREGOPENKEY
+ 0000:0122 RPCREGCREATEKEY
+ 0000:0128 RPCREGCLOSEKEY
+ 0000:012E RPCREGSETVALUE
+ 0000:0134 RPCREGQUERYVALUE
+ 0000:013A NDRCCONTEXTBINDING
+ 0000:0140 NDRCCONTEXTMARSHALL
+ 0000:0146 NDRCCONTEXTUNMARSHALL
+ 0000:014C RPCSSDESTROYCLIENTCONTEXT
+ 0000:0152 I_RPCTRANSCLIENTMAXFRAG
+ 0000:0158 NDRPOINTERUNMARSHALL
+ 0000:015E NDRCLIENTCONTEXTMARSHALL
+ 0000:0164 NDRPOINTERMARSHALL
+ 0000:016A NDRFREEBUFFER
+ 0000:0170 NDRGETBUFFER
+ 0000:0176 NDRPOINTERBUFFERSIZE
+ 0000:017C NDRCONVERT
+ 0000:0182 NDRCLIENTINITIALIZE
+ 0000:0188 NDRCLIENTINITIALIZENEW
+ 0000:018E NDRCLIENTCONTEXTUNMARSHALL
+ 0000:0194 NDRSENDRECEIVE
+ 0000:019A EXPORTTIME
+ 0000:01A0 I_RPCREGISTEREDBUFFERALLOCATE
+ 0000:01A6 I_RPCREGISTEREDBUFFERFREE
+ 0000:01AC I_NSGETMEMORYALLOCATOR
+ 0000:01B2 NDRSIMPLESTRUCTMARSHALL
+ 0000:01B8 NDRSIMPLESTRUCTBUFFERSIZE
+ 001B:001E _strlen
+ 001B:0038 _atoi
+ 001B:003C __catox
+ 001B:0092 _strspn
+ 001B:00EE _memcpy
+ 001B:014C _memset
+ 001B:0194 __fmemcmp
+ 001B:01F0 __fmemcpy
+ 001B:024E __fstrlen
+ 001B:0268 __fstrcmp
+ 001B:0292 __fstrcpy
+ 001B:02CE __fmemset
+ 001B:0316 __fstrnicmp
+ 0052:0000 _ByteSwapShort
+ 0052:00E6 CLIENTOPEN
+ 0052:0258 CLIENTCLOSE
+ 0052:02E2 CLIENTSEND
+ 0052:0558 CLIENTRECV
+ 0052:06E2 CLIENTTOWERCONSTRUCT
+ 0052:07B4 CLIENTTOWEREXPLODE
+ 0052:0890 _ClientCleanup
+ 0052:0902 TRANSPORTLOAD
+ 0052:0A54 ??_C@_0L@JIBM@0123456789?$AA@
+ 0052:0A60 ??_C@_05LKBG@34280?$AA@
+ 0052:0A66 ??_C@_09LLEG@ncacn_spx?$AA@
+ 0052:0A70 _chtob
+ 0000:1000 Abs __AHINCR
+ 0052:0AF4 _DosGetTickCount
+ 0052:0B0C _AddServerToCache
+ 0052:0BE8 _FindServerInCache
+ 0052:0C28 _CachedServerContacted
+ 0052:0C68 _CachedServerNotContacted
+ 0052:0CC8 _SearchBindery
+ 0052:0DA4 _SearchWithSap
+ 0052:1012 _IpxGetHostByName
+ 0052:117C ??_C@_0M@KHAG@NET_ADDRESS?$AA@
+ 0052:1188 ASMIPXINITIALIZE
+ 0052:11CE ASMIPXCANCELEVENT
+ 0052:11EA ASMIPXCLOSESOCKET
+ 0052:1206 ASMIPXGETINTERVALMARKER
+ 0052:121C ASMIPXLISTENFORPACKET
+ 0052:1238 ASMIPXOPENSOCKET
+ 0052:1260 ASMIPXRELINQUISHCONTROL
+ 0052:1276 ASMIPXSENDPACKET
+ 0052:1292 ASMSPXINITIALIZE
+ 0052:12C4 ASMSPXESTABLISHCONNECTION
+ 0052:12EC ASMSPXLISTENFORSEQUENCEDPACKET
+ 0052:1308 ASMSPXSENDSEQUENCEDPACKET
+ 0052:1326 ASMSPXTERMINATECONNECTION
+ 0052:1344 ASMIPXGETMAXPACKETSIZE
+ 0052:135A ASMIPXGETLOCALTARGET
+ 0052:13B4 _SetupEcb
+ 0052:1400 _FindFileServers
+ 0052:167A _ConnectToAnyFileServer
+ 0052:1784 _NcpTransaction
+ 0052:199E _DisconnectFromServer
+ 0052:19F0 _ReadPropertyValue
+ 0202:0002 _TransInfo
+ 0202:0032 _errno
+ 0202:003C __rpc_hostDS
+ 0202:003E _theTable
+ 0202:0056 _PreferredServerFound
+ 0202:0058 _FileServerCount
+ 0202:005A _ActiveFileServer
+ 0202:0076 __edata
+ 0202:0076 _edata
+ 0202:0080 _receive_failed_cnt
+ 0202:0082 _receive_fragmentCount
+ 0202:0084 _receive_code
+ 0202:0086 _conn_lookup
+ 0202:00E6 _receive_fragmentSize
+ 0202:00E8 _Servers
+ 0202:0124 _PreferredServer
+ 0202:0143 _receive_seq
+ 0202:0144 _nfy_failure_cnt
+ 0202:0146 _conn_failed_cnt
+ 0202:0148 _receive_spx_length
+ 0202:014A _enteripx
+ 0202:014E _receive_tail
+ 0202:0152 _receive_head
+ 0202:0156 _send_data
+ 0202:0157 _send_seq
+ 0202:0158 _socket
+ 0202:015A _receive_state
+ 0202:015C _chunk
+ 0202:0160 _receive_data
+ 0202:0162 _packet_size
+ 0202:0164 _max_num_send
+ 0202:0166 _ServerCache
+ 0202:01E6 _end
+ 0202:01E6 __end
+
+Program entry point at 0000:0000
diff --git a/public/sdk/rpc16/dos/dll/rpc16c6.rpc b/public/sdk/rpc16/dos/dll/rpc16c6.rpc
new file mode 100644
index 000000000..6991f4b32
--- /dev/null
+++ b/public/sdk/rpc16/dos/dll/rpc16c6.rpc
Binary files differ
diff --git a/public/sdk/rpc16/dos/dll/rpc16dg3.map b/public/sdk/rpc16/dos/dll/rpc16dg3.map
new file mode 100644
index 000000000..1d331a245
--- /dev/null
+++ b/public/sdk/rpc16/dos/dll/rpc16dg3.map
@@ -0,0 +1,351 @@
+LINK : warning L4021: no stack segment
+
+ Start Stop Length Name Class
+ 00000H 00000H 00000H DGUDPC_TEXT CODE
+ 00000H 001BDH 001BEH EXPORTLT_TEXT CODE
+ 001C0H 018D2H 01713H _TEXT CODE
+ 018D4H 01997H 000C4H INT_TEXT CODE
+ 019A0H 02046H 006A7H COMDAT_SEG1 CODE
+ 02048H 02989H 00942H _DATA DATA
+ 0298AH 029A2H 00019H STRINGSEGMENT DATA
+ 029A4H 029A4H 00000H XIFB DATA
+ 029A4H 029A4H 00000H XIF DATA
+ 029A4H 029A4H 00000H XIFE DATA
+ 029A4H 029A4H 00000H CONST CONST
+ 029A4H 02B2FH 0018CH _BSS BSS
+ 02B30H 02B39H 0000AH c_common BSS
+
+ Origin Group
+ 0204:0 DGROUP
+
+ Address Publics by Name
+
+ 019A:0696 ??_C@_03EOPG@135?$AA@
+ 019A:069A ??_C@_0N@OGGG@ncadg_ip_udp?$AA@
+ 019A:0000 ASSIGNLOCALENDPOINT
+ 019A:0610 BEGINCALL
+ 019A:03BA CLIENTTOWERCONSTRUCT
+ 019A:04BC CLIENTTOWEREXPLODE
+ 019A:021A DEREGISTERSERVERADDRESS
+ 019A:061C ENDCALL
+ 0000:019A EXPORTTIME
+ 019A:00D0 FREELOCALENDPOINT
+ 019A:05F8 INQBUFFERLENGTH
+ 0000:009F I_DOSATEXIT
+ 0000:01AC I_NSGETMEMORYALLOCATOR
+ 0000:00F8 I_RPCALLOCATE
+ 0000:00FE I_RPCFREE
+ 0000:0104 I_RPCFREEBUFFER
+ 0000:010A I_RPCGETBUFFER
+ 0000:0116 I_RPCNSBINDINGSETENTRYNAME
+ 0000:01A0 I_RPCREGISTEREDBUFFERALLOCATE
+ 0000:01A6 I_RPCREGISTEREDBUFFERFREE
+ 0000:0110 I_RPCSENDRECEIVE
+ 0000:0152 I_RPCTRANSCLIENTMAXFRAG
+ 0000:00B8 I_RPCTRANSCLIENTREALLOCBUFFER
+ 0000:013A NDRCCONTEXTBINDING
+ 0000:0140 NDRCCONTEXTMARSHALL
+ 0000:0146 NDRCCONTEXTUNMARSHALL
+ 0000:015E NDRCLIENTCONTEXTMARSHALL
+ 0000:018E NDRCLIENTCONTEXTUNMARSHALL
+ 0000:0182 NDRCLIENTINITIALIZE
+ 0000:0188 NDRCLIENTINITIALIZENEW
+ 0000:017C NDRCONVERT
+ 0000:016A NDRFREEBUFFER
+ 0000:0170 NDRGETBUFFER
+ 0000:0176 NDRPOINTERBUFFERSIZE
+ 0000:0164 NDRPOINTERMARSHALL
+ 0000:0158 NDRPOINTERUNMARSHALL
+ 0000:0194 NDRSENDRECEIVE
+ 0000:01B8 NDRSIMPLESTRUCTBUFFERSIZE
+ 0000:01B2 NDRSIMPLESTRUCTMARSHALL
+ 018D:0006 oldint24
+ 018D:000A oldint2f
+ 018D:0004 our_psp
+ 019A:05AA QUERYCLIENTENDPOINT
+ 019A:02E4 RECEIVEPACKET
+ 019A:00F2 REGISTERSERVERADDRESS
+ 0000:00CC RPCBINDINGCOPY
+ 0000:00EC RPCBINDINGFREE
+ 0000:00E0 RPCBINDINGFROMSTRINGBINDING
+ 0000:00DB RPCBINDINGTOSTRINGBINDING
+ 0000:00E6 RPCBINDINGVECTORFREE
+ 0000:00BD RPCGETEXCEPTIONHANDLER
+ 0000:00C7 RPCLEAVEEXCEPTION
+ 0000:0128 RPCREGCLOSEKEY
+ 0000:0122 RPCREGCREATEKEY
+ 0000:011C RPCREGOPENKEY
+ 0000:0134 RPCREGQUERYVALUE
+ 0000:012E RPCREGSETVALUE
+ 0000:00C2 RPCSETEXCEPTIONHANDLER
+ 0000:014C RPCSSDESTROYCLIENTCONTEXT
+ 0000:00D1 RPCSTRINGBINDINGCOMPOSE
+ 0000:00D6 RPCSTRINGBINDINGPARSE
+ 0000:00F2 RPCSTRINGFREE
+ 019A:0226 SENDTOSERVER
+ 019A:05DC SETBUFFERLENGTH
+ 019A:0626 TRANSPORTLOAD
+ 001C:158A _atoi
+ 0000:0063 _CallExport
+ 0000:0000 _DOSDLLInit
+ 0204:0124 _driver_entry
+ 0204:0964 _edata
+ 0204:0AFA _end
+ 001C:0884 _endhostent
+ 0204:005C _errno
+ 0000:0046 _ExportInit
+ 0000:00A4 _GETENV
+ 0000:0081 _GetExportTableVersion
+ 001C:0C34 _gethostbyaddr
+ 001C:0A7C _gethostbyname
+ 001C:09D4 _gethostent
+ 0000:00B3 _GETPROCADDRR
+ 001C:0010 _htonl
+ 001C:001F _htons
+ 001C:03BC _inet_addr
+ 001C:0616 _inet_lnaof
+ 001C:06AC _inet_makeaddr
+ 001C:065E _inet_netof
+ 001C:04EE _inet_network
+ 001C:07A4 _inet_ntoa
+ 0204:0008 _LargestPacketSize
+ 0000:00A9 _LOADMODR
+ 001C:1309 _locater_bind
+ 001C:12FB _locater_close
+ 001C:12E4 _locater_open
+ 001C:139F _locater_send
+ 001C:136D _locater_unbind
+ 019A:0662 _MapStatus
+ 001C:160A _memcpy
+ 001C:1668 _memset
+ 001C:0010 _ntohl
+ 001C:001F _ntohs
+ 0204:0AF2 _segregs
+ 001C:0828 _sethostent
+ 018D:0059 _set_int_handlers
+ 001C:1570 _strlen
+ 0204:0068 _theTable
+ 0204:000C _TransInfo
+ 0000:00AE _UNLOADMODR
+ 0000:0000 Abs __ACRTUSED
+ 0000:0000 Abs __ADBUSED
+ 0000:1000 Abs __AHINCR
+ 0000:000C Abs __AHSHIFT
+ 001C:0D70 __bind
+ 001C:158E __catox
+ 001C:0DDA __close_socket
+ 001C:16B0 __cltoasub
+ 001C:16BD __cxtoa
+ 0204:0964 __edata
+ 0204:0AFA __end
+ 001C:154C __fillbuf
+ 0204:0AF0 __global_base
+ 001C:15E4 __itoa
+ 001C:1539 __lowio_so_fclose
+ 001C:1510 __lowio_so_fopen
+ 001C:1523 __lowio_so_rewind
+ 001C:0E32 __recvfrom
+ 0204:0066 __rpc_hostDS
+ 001C:0EBE __select
+ 001C:0F46 __sendto
+ 001C:0FCC __socket
+ 001C:0078 __so_atoui
+ 001C:1146 __so_check_binary_compatibility
+ 001C:0718 __so_convert_char_to_ascii
+ 001C:107C __so_drvropen
+ 001C:14D6 __so_fclose
+ 001C:13F6 __so_fgetc
+ 001C:1454 __so_fgets
+ 001C:14AA __so_fopen
+ 001C:036C __so_get_base
+ 001C:13D1 __so_get_code_seg
+ 001C:020A __so_get_netfiles_path
+ 001C:1142 __so_get_sock_pid
+ 001C:124A __so_get_status
+ 001C:13D4 __so_get_timer_cnt
+ 001C:019E __so_get_token
+ 001C:0028 __so_isdigit
+ 001C:0044 __so_isxdigit
+ 001C:0250 __so_mem_compare
+ 001C:128E __so_mult32
+ 001C:08A8 __so_parse_hosts_entry
+ 001C:1030 __so_process_exit
+ 001C:11EE __so_resolve_IP_addr_to_name
+ 001C:1194 __so_resolve_name_to_IP_addr
+ 001C:14F8 __so_rewind
+ 001C:1182 __so_send_the_ioctl_request
+ 001C:034C __so_skip_white_space
+ 001C:011E __so_strcat
+ 001C:0152 __so_strchr
+ 001C:00F6 __so_strcpy
+ 001C:02A2 __so_string_compare
+ 001C:017E __so_strlen
+ 001C:02E0 __so_valid_char
+ 001C:1600 __ultoa
+
+ Address Publics by Value
+
+ 0000:0000 Abs __ACRTUSED
+ 0000:0000 _DOSDLLInit
+ 0000:0000 Abs __ADBUSED
+ 0000:000C Abs __AHSHIFT
+ 0000:0046 _ExportInit
+ 0000:0063 _CallExport
+ 0000:0081 _GetExportTableVersion
+ 0000:009F I_DOSATEXIT
+ 0000:00A4 _GETENV
+ 0000:00A9 _LOADMODR
+ 0000:00AE _UNLOADMODR
+ 0000:00B3 _GETPROCADDRR
+ 0000:00B8 I_RPCTRANSCLIENTREALLOCBUFFER
+ 0000:00BD RPCGETEXCEPTIONHANDLER
+ 0000:00C2 RPCSETEXCEPTIONHANDLER
+ 0000:00C7 RPCLEAVEEXCEPTION
+ 0000:00CC RPCBINDINGCOPY
+ 0000:00D1 RPCSTRINGBINDINGCOMPOSE
+ 0000:00D6 RPCSTRINGBINDINGPARSE
+ 0000:00DB RPCBINDINGTOSTRINGBINDING
+ 0000:00E0 RPCBINDINGFROMSTRINGBINDING
+ 0000:00E6 RPCBINDINGVECTORFREE
+ 0000:00EC RPCBINDINGFREE
+ 0000:00F2 RPCSTRINGFREE
+ 0000:00F8 I_RPCALLOCATE
+ 0000:00FE I_RPCFREE
+ 0000:0104 I_RPCFREEBUFFER
+ 0000:010A I_RPCGETBUFFER
+ 0000:0110 I_RPCSENDRECEIVE
+ 0000:0116 I_RPCNSBINDINGSETENTRYNAME
+ 0000:011C RPCREGOPENKEY
+ 0000:0122 RPCREGCREATEKEY
+ 0000:0128 RPCREGCLOSEKEY
+ 0000:012E RPCREGSETVALUE
+ 0000:0134 RPCREGQUERYVALUE
+ 0000:013A NDRCCONTEXTBINDING
+ 0000:0140 NDRCCONTEXTMARSHALL
+ 0000:0146 NDRCCONTEXTUNMARSHALL
+ 0000:014C RPCSSDESTROYCLIENTCONTEXT
+ 0000:0152 I_RPCTRANSCLIENTMAXFRAG
+ 0000:0158 NDRPOINTERUNMARSHALL
+ 0000:015E NDRCLIENTCONTEXTMARSHALL
+ 0000:0164 NDRPOINTERMARSHALL
+ 0000:016A NDRFREEBUFFER
+ 0000:0170 NDRGETBUFFER
+ 0000:0176 NDRPOINTERBUFFERSIZE
+ 0000:017C NDRCONVERT
+ 0000:0182 NDRCLIENTINITIALIZE
+ 0000:0188 NDRCLIENTINITIALIZENEW
+ 0000:018E NDRCLIENTCONTEXTUNMARSHALL
+ 0000:0194 NDRSENDRECEIVE
+ 0000:019A EXPORTTIME
+ 0000:01A0 I_RPCREGISTEREDBUFFERALLOCATE
+ 0000:01A6 I_RPCREGISTEREDBUFFERFREE
+ 0000:01AC I_NSGETMEMORYALLOCATOR
+ 0000:01B2 NDRSIMPLESTRUCTMARSHALL
+ 0000:01B8 NDRSIMPLESTRUCTBUFFERSIZE
+ 001C:0010 _htonl
+ 001C:0010 _ntohl
+ 001C:001F _ntohs
+ 001C:001F _htons
+ 001C:0028 __so_isdigit
+ 001C:0044 __so_isxdigit
+ 001C:0078 __so_atoui
+ 001C:00F6 __so_strcpy
+ 001C:011E __so_strcat
+ 001C:0152 __so_strchr
+ 001C:017E __so_strlen
+ 001C:019E __so_get_token
+ 001C:020A __so_get_netfiles_path
+ 001C:0250 __so_mem_compare
+ 001C:02A2 __so_string_compare
+ 001C:02E0 __so_valid_char
+ 001C:034C __so_skip_white_space
+ 001C:036C __so_get_base
+ 001C:03BC _inet_addr
+ 001C:04EE _inet_network
+ 001C:0616 _inet_lnaof
+ 001C:065E _inet_netof
+ 001C:06AC _inet_makeaddr
+ 001C:0718 __so_convert_char_to_ascii
+ 001C:07A4 _inet_ntoa
+ 001C:0828 _sethostent
+ 001C:0884 _endhostent
+ 001C:08A8 __so_parse_hosts_entry
+ 001C:09D4 _gethostent
+ 001C:0A7C _gethostbyname
+ 001C:0C34 _gethostbyaddr
+ 001C:0D70 __bind
+ 001C:0DDA __close_socket
+ 001C:0E32 __recvfrom
+ 0000:1000 Abs __AHINCR
+ 001C:0EBE __select
+ 001C:0F46 __sendto
+ 001C:0FCC __socket
+ 001C:1030 __so_process_exit
+ 001C:107C __so_drvropen
+ 001C:1142 __so_get_sock_pid
+ 001C:1146 __so_check_binary_compatibility
+ 001C:1182 __so_send_the_ioctl_request
+ 001C:1194 __so_resolve_name_to_IP_addr
+ 001C:11EE __so_resolve_IP_addr_to_name
+ 001C:124A __so_get_status
+ 001C:128E __so_mult32
+ 001C:12E4 _locater_open
+ 001C:12FB _locater_close
+ 001C:1309 _locater_bind
+ 001C:136D _locater_unbind
+ 001C:139F _locater_send
+ 001C:13D1 __so_get_code_seg
+ 001C:13D4 __so_get_timer_cnt
+ 001C:13F6 __so_fgetc
+ 001C:1454 __so_fgets
+ 001C:14AA __so_fopen
+ 001C:14D6 __so_fclose
+ 001C:14F8 __so_rewind
+ 001C:1510 __lowio_so_fopen
+ 001C:1523 __lowio_so_rewind
+ 001C:1539 __lowio_so_fclose
+ 001C:154C __fillbuf
+ 001C:1570 _strlen
+ 001C:158A _atoi
+ 001C:158E __catox
+ 001C:15E4 __itoa
+ 001C:1600 __ultoa
+ 001C:160A _memcpy
+ 001C:1668 _memset
+ 001C:16B0 __cltoasub
+ 001C:16BD __cxtoa
+ 018D:0004 our_psp
+ 018D:0006 oldint24
+ 018D:000A oldint2f
+ 018D:0059 _set_int_handlers
+ 019A:0000 ASSIGNLOCALENDPOINT
+ 019A:00D0 FREELOCALENDPOINT
+ 019A:00F2 REGISTERSERVERADDRESS
+ 019A:021A DEREGISTERSERVERADDRESS
+ 019A:0226 SENDTOSERVER
+ 019A:02E4 RECEIVEPACKET
+ 019A:03BA CLIENTTOWERCONSTRUCT
+ 019A:04BC CLIENTTOWEREXPLODE
+ 019A:05AA QUERYCLIENTENDPOINT
+ 019A:05DC SETBUFFERLENGTH
+ 019A:05F8 INQBUFFERLENGTH
+ 019A:0610 BEGINCALL
+ 019A:061C ENDCALL
+ 019A:0626 TRANSPORTLOAD
+ 019A:0662 _MapStatus
+ 019A:0696 ??_C@_03EOPG@135?$AA@
+ 019A:069A ??_C@_0N@OGGG@ncadg_ip_udp?$AA@
+ 0204:0008 _LargestPacketSize
+ 0204:000C _TransInfo
+ 0204:005C _errno
+ 0204:0066 __rpc_hostDS
+ 0204:0068 _theTable
+ 0204:0124 _driver_entry
+ 0204:0964 _edata
+ 0204:0964 __edata
+ 0204:0AF0 __global_base
+ 0204:0AF2 _segregs
+ 0204:0AFA __end
+ 0204:0AFA _end
+
+Program entry point at 0000:0000
diff --git a/public/sdk/rpc16/dos/dll/rpc16dg3.rpc b/public/sdk/rpc16/dos/dll/rpc16dg3.rpc
new file mode 100644
index 000000000..ddae8e0b5
--- /dev/null
+++ b/public/sdk/rpc16/dos/dll/rpc16dg3.rpc
Binary files differ
diff --git a/public/sdk/rpc16/dos/dll/rpc16dg6.map b/public/sdk/rpc16/dos/dll/rpc16dg6.map
new file mode 100644
index 000000000..5d7636f0d
--- /dev/null
+++ b/public/sdk/rpc16/dos/dll/rpc16dg6.map
@@ -0,0 +1,329 @@
+LINK : warning L4021: no stack segment
+
+ Start Stop Length Name Class
+ 00000H 00000H 00000H IPXCLNT_TEXT CODE
+ 00000H 00023H 00024H RPC16DG6_FIXED CODE
+ 00024H 001E1H 001BEH EXPORTLT_TEXT CODE
+ 001E2H 001E2H 00000H GETHOST_TEXT CODE
+ 001E2H 001E2H 00000H NOVELL_TEXT CODE
+ 001E2H 005A7H 003C6H _TEXT CODE
+ 005B0H 01F46H 01997H COMDAT_SEG1 CODE
+ 01F48H 01FC5H 0007EH _DATA DATA
+ 01FC6H 01FDEH 00019H STRINGSEGMENT DATA
+ 01FE0H 01FE0H 00000H XIFB DATA
+ 01FE0H 01FE0H 00000H XIF DATA
+ 01FE0H 01FE0H 00000H XIFE DATA
+ 01FE0H 01FE0H 00000H CONST CONST
+ 01FE0H 01FE0H 00000H _BSS BSS
+ 01FE0H 020D3H 000F4H c_common BSS
+
+ Origin Group
+ 01F4:0 DGROUP
+
+ Address Publics by Name
+
+ 005B:0A2C ??_C@_05LKBG@34280?$AA@
+ 005B:0A32 ??_C@_09OHNL@ncadg_ipx?$AA@
+ 005B:10A8 ??_C@_0M@KHAG@NET_ADDRESS?$AA@
+ 005B:10FA ASMIPXCANCELEVENT
+ 005B:1116 ASMIPXCLOSESOCKET
+ 005B:11D4 ASMIPXDISCONNECTFROMTARGET
+ 0000:0000 Unr ASMIPXGETINTERNETWORKADDRESS
+ 005B:1132 ASMIPXGETINTERVALMARKER
+ 005B:11F0 ASMIPXGETLOCALTARGET
+ 005B:11BE ASMIPXGETMAXPACKETSIZE
+ 005B:10B4 ASMIPXINITIALIZE
+ 005B:1148 ASMIPXLISTENFORPACKET
+ 005B:1164 ASMIPXOPENSOCKET
+ 005B:118C ASMIPXRELINQUISHCONTROL
+ 005B:11A2 ASMIPXSENDPACKET
+ 0000:0000 Unr ASMSPXABORTCONNECTION
+ 0000:0000 Unr ASMSPXESTABLISHCONNECTION
+ 0000:0000 Unr ASMSPXINITIALIZE
+ 0000:0000 Unr ASMSPXLISTENFORSEQUENCEDPACKET
+ 0000:0000 Unr ASMSPXSENDSEQUENCEDPACKET
+ 0000:0000 Unr ASMSPXTERMINATECONNECTION
+ 005B:016E ASSIGNLOCALENDPOINT
+ 005B:00BC BEGINCALL
+ 005B:07DA CLIENTTOWERCONSTRUCT
+ 005B:08C8 CLIENTTOWEREXPLODE
+ 005B:03A2 DEREGISTERSERVERADDRESS
+ 005B:0100 ENDCALL
+ 0002:019E EXPORTTIME
+ 005B:02D0 FREELOCALENDPOINT
+ 0002:00A3 I_DOSATEXIT
+ 0002:01B0 I_NSGETMEMORYALLOCATOR
+ 0002:00FC I_RPCALLOCATE
+ 0002:0102 I_RPCFREE
+ 0002:0108 I_RPCFREEBUFFER
+ 0002:010E I_RPCGETBUFFER
+ 0002:011A I_RPCNSBINDINGSETENTRYNAME
+ 0002:01A4 I_RPCREGISTEREDBUFFERALLOCATE
+ 0002:01AA I_RPCREGISTEREDBUFFERFREE
+ 0002:0114 I_RPCSENDRECEIVE
+ 0002:0156 I_RPCTRANSCLIENTMAXFRAG
+ 0002:00BC I_RPCTRANSCLIENTREALLOCBUFFER
+ 0002:013E NDRCCONTEXTBINDING
+ 0002:0144 NDRCCONTEXTMARSHALL
+ 0002:014A NDRCCONTEXTUNMARSHALL
+ 0002:0162 NDRCLIENTCONTEXTMARSHALL
+ 0002:0192 NDRCLIENTCONTEXTUNMARSHALL
+ 0002:0186 NDRCLIENTINITIALIZE
+ 0002:018C NDRCLIENTINITIALIZENEW
+ 0002:0180 NDRCONVERT
+ 0002:016E NDRFREEBUFFER
+ 0002:0174 NDRGETBUFFER
+ 0002:017A NDRPOINTERBUFFERSIZE
+ 0002:0168 NDRPOINTERMARSHALL
+ 0002:015C NDRPOINTERUNMARSHALL
+ 0002:0198 NDRSENDRECEIVE
+ 0002:01BC NDRSIMPLESTRUCTBUFFERSIZE
+ 0002:01B6 NDRSIMPLESTRUCTMARSHALL
+ 005B:09A4 QUERYCLIENTENDPOINT
+ 005B:04BA RECEIVEPACKET
+ 005B:0334 REGISTERSERVERADDRESS
+ 0002:00D0 RPCBINDINGCOPY
+ 0002:00F0 RPCBINDINGFREE
+ 0002:00E4 RPCBINDINGFROMSTRINGBINDING
+ 0002:00DF RPCBINDINGTOSTRINGBINDING
+ 0002:00EA RPCBINDINGVECTORFREE
+ 0002:00C1 RPCGETEXCEPTIONHANDLER
+ 0002:00CB RPCLEAVEEXCEPTION
+ 0002:012C RPCREGCLOSEKEY
+ 0002:0126 RPCREGCREATEKEY
+ 0002:0120 RPCREGOPENKEY
+ 0002:0138 RPCREGQUERYVALUE
+ 0002:0132 RPCREGSETVALUE
+ 0002:00C6 RPCSETEXCEPTIONHANDLER
+ 0002:0150 RPCSSDESTROYCLIENTCONTEXT
+ 0002:00D5 RPCSTRINGBINDINGCOMPOSE
+ 0002:00DA RPCSTRINGBINDINGPARSE
+ 0002:00F6 RPCSTRINGFREE
+ 005B:03BE SENDTOSERVER
+ 005B:09CE TRANSPORTLOAD
+ 005B:07D0 TRANSPORTUNLOAD
+ 01F4:0084 _ActiveFileServer
+ 005B:0AD8 _AddServerToCache
+ 001E:002C _atoi
+ 005B:0000 _ByteSwapShort
+ 0000:0000 Unr _CachedServerContacted
+ 0000:0000 Unr _CachedServerNotContacted
+ 0002:0067 _CallExport
+ 005B:0A3C _chtob
+ 005B:0092 _ClientCleanup
+ 005B:1510 _ConnectToAnyFileServer
+ 01F4:000A _consecutive_timeout_count
+ 005B:1834 _DisconnectFromServer
+ 0002:0004 _DOSDLLInit
+ 005B:0AC0 _DosGetTickCount
+ 01F4:00A0 _edata
+ 01F4:0194 _end
+ 01F4:00FE _enteripx
+ 01F4:0104 _ep_list
+ 01F4:005C _errno
+ 0002:004A _ExportInit
+ 01F4:0082 _FileServerCount
+ 005B:1296 _FindFileServers
+ 005B:0BB4 _FindServerInCache
+ 0002:00A8 _GETENV
+ 0002:0085 _GetExportTableVersion
+ 0002:00B7 _GETPROCADDRR
+ 005B:0F3E _IpxGetHostByName
+ 0002:00AD _LOADMODR
+ 01F4:0112 _max_num_send
+ 001E:0090 _memcpy
+ 001E:00EE _memset
+ 005B:161A _NcpTransaction
+ 01F4:00A0 _num_endpoints
+ 01F4:0102 _packet_size
+ 0000:0000 _post_ecb
+ 01F4:00DE _PreferredServer
+ 01F4:0080 _PreferredServerFound
+ 005B:1886 _ReadPropertyValue
+ 005B:0BF4 _SearchBindery
+ 005B:0CD0 _SearchWithSap
+ 01F4:0008 _Sequence
+ 01F4:0114 _ServerCache
+ 01F4:00A2 _Servers
+ 005B:124A _SetupEcb
+ 001E:0012 _strlen
+ 01F4:0068 _theTable
+ 01F4:000C _TransInfo
+ 0002:00B2 _UNLOADMODR
+ 0000:0000 Abs __ACRTUSED
+ 0000:0000 Abs __ADBUSED
+ 001E:019A __aFFalmul
+ 001E:019A __aFFaulmul
+ 001E:01BC __aFlmul
+ 001E:01BC __aFulmul
+ 0000:1000 Abs __AHINCR
+ 0000:000C Abs __AHSHIFT
+ 001E:0030 __catox
+ 001E:0136 __cltoasub
+ 001E:0143 __cxtoa
+ 01F4:00A0 __edata
+ 01F4:0194 __end
+ 001E:01EE __fmemcmp
+ 001E:024A __fmemcpy
+ 001E:0328 __fmemset
+ 001E:02C2 __fstrcmp
+ 001E:02EC __fstrcpy
+ 001E:02A8 __fstrlen
+ 001E:0370 __fstrnicmp
+ 01F4:0066 __rpc_hostDS
+ 001E:0086 __ultoa
+
+ Address Publics by Value
+
+ 0000:0000 Abs __ACRTUSED
+ 0000:0000 Unr ASMSPXTERMINATECONNECTION
+ 0000:0000 Unr ASMSPXESTABLISHCONNECTION
+ 0000:0000 Unr ASMSPXLISTENFORSEQUENCEDPACKET
+ 0000:0000 Unr ASMSPXINITIALIZE
+ 0000:0000 Abs __ADBUSED
+ 0000:0000 _post_ecb
+ 0000:0000 Unr ASMSPXSENDSEQUENCEDPACKET
+ 0000:0000 Unr _CachedServerNotContacted
+ 0000:0000 Unr ASMSPXABORTCONNECTION
+ 0000:0000 Unr _CachedServerContacted
+ 0000:0000 Unr ASMIPXGETINTERNETWORKADDRESS
+ 0000:000C Abs __AHSHIFT
+ 0002:0004 _DOSDLLInit
+ 0002:004A _ExportInit
+ 0002:0067 _CallExport
+ 0002:0085 _GetExportTableVersion
+ 0002:00A3 I_DOSATEXIT
+ 0002:00A8 _GETENV
+ 0002:00AD _LOADMODR
+ 0002:00B2 _UNLOADMODR
+ 0002:00B7 _GETPROCADDRR
+ 0002:00BC I_RPCTRANSCLIENTREALLOCBUFFER
+ 0002:00C1 RPCGETEXCEPTIONHANDLER
+ 0002:00C6 RPCSETEXCEPTIONHANDLER
+ 0002:00CB RPCLEAVEEXCEPTION
+ 0002:00D0 RPCBINDINGCOPY
+ 0002:00D5 RPCSTRINGBINDINGCOMPOSE
+ 0002:00DA RPCSTRINGBINDINGPARSE
+ 0002:00DF RPCBINDINGTOSTRINGBINDING
+ 0002:00E4 RPCBINDINGFROMSTRINGBINDING
+ 0002:00EA RPCBINDINGVECTORFREE
+ 0002:00F0 RPCBINDINGFREE
+ 0002:00F6 RPCSTRINGFREE
+ 0002:00FC I_RPCALLOCATE
+ 0002:0102 I_RPCFREE
+ 0002:0108 I_RPCFREEBUFFER
+ 0002:010E I_RPCGETBUFFER
+ 0002:0114 I_RPCSENDRECEIVE
+ 0002:011A I_RPCNSBINDINGSETENTRYNAME
+ 0002:0120 RPCREGOPENKEY
+ 0002:0126 RPCREGCREATEKEY
+ 0002:012C RPCREGCLOSEKEY
+ 0002:0132 RPCREGSETVALUE
+ 0002:0138 RPCREGQUERYVALUE
+ 0002:013E NDRCCONTEXTBINDING
+ 0002:0144 NDRCCONTEXTMARSHALL
+ 0002:014A NDRCCONTEXTUNMARSHALL
+ 0002:0150 RPCSSDESTROYCLIENTCONTEXT
+ 0002:0156 I_RPCTRANSCLIENTMAXFRAG
+ 0002:015C NDRPOINTERUNMARSHALL
+ 0002:0162 NDRCLIENTCONTEXTMARSHALL
+ 0002:0168 NDRPOINTERMARSHALL
+ 0002:016E NDRFREEBUFFER
+ 0002:0174 NDRGETBUFFER
+ 0002:017A NDRPOINTERBUFFERSIZE
+ 0002:0180 NDRCONVERT
+ 0002:0186 NDRCLIENTINITIALIZE
+ 0002:018C NDRCLIENTINITIALIZENEW
+ 0002:0192 NDRCLIENTCONTEXTUNMARSHALL
+ 0002:0198 NDRSENDRECEIVE
+ 0002:019E EXPORTTIME
+ 0002:01A4 I_RPCREGISTEREDBUFFERALLOCATE
+ 0002:01AA I_RPCREGISTEREDBUFFERFREE
+ 0002:01B0 I_NSGETMEMORYALLOCATOR
+ 0002:01B6 NDRSIMPLESTRUCTMARSHALL
+ 0002:01BC NDRSIMPLESTRUCTBUFFERSIZE
+ 001E:0012 _strlen
+ 001E:002C _atoi
+ 001E:0030 __catox
+ 001E:0086 __ultoa
+ 001E:0090 _memcpy
+ 001E:00EE _memset
+ 001E:0136 __cltoasub
+ 001E:0143 __cxtoa
+ 001E:019A __aFFaulmul
+ 001E:019A __aFFalmul
+ 001E:01BC __aFlmul
+ 001E:01BC __aFulmul
+ 001E:01EE __fmemcmp
+ 001E:024A __fmemcpy
+ 001E:02A8 __fstrlen
+ 001E:02C2 __fstrcmp
+ 001E:02EC __fstrcpy
+ 001E:0328 __fmemset
+ 001E:0370 __fstrnicmp
+ 005B:0000 _ByteSwapShort
+ 005B:0092 _ClientCleanup
+ 005B:00BC BEGINCALL
+ 005B:0100 ENDCALL
+ 005B:016E ASSIGNLOCALENDPOINT
+ 005B:02D0 FREELOCALENDPOINT
+ 005B:0334 REGISTERSERVERADDRESS
+ 005B:03A2 DEREGISTERSERVERADDRESS
+ 005B:03BE SENDTOSERVER
+ 005B:04BA RECEIVEPACKET
+ 005B:07D0 TRANSPORTUNLOAD
+ 005B:07DA CLIENTTOWERCONSTRUCT
+ 005B:08C8 CLIENTTOWEREXPLODE
+ 005B:09A4 QUERYCLIENTENDPOINT
+ 005B:09CE TRANSPORTLOAD
+ 005B:0A2C ??_C@_05LKBG@34280?$AA@
+ 005B:0A32 ??_C@_09OHNL@ncadg_ipx?$AA@
+ 005B:0A3C _chtob
+ 0000:1000 Abs __AHINCR
+ 005B:0AC0 _DosGetTickCount
+ 005B:0AD8 _AddServerToCache
+ 005B:0BB4 _FindServerInCache
+ 005B:0BF4 _SearchBindery
+ 005B:0CD0 _SearchWithSap
+ 005B:0F3E _IpxGetHostByName
+ 005B:10A8 ??_C@_0M@KHAG@NET_ADDRESS?$AA@
+ 005B:10B4 ASMIPXINITIALIZE
+ 005B:10FA ASMIPXCANCELEVENT
+ 005B:1116 ASMIPXCLOSESOCKET
+ 005B:1132 ASMIPXGETINTERVALMARKER
+ 005B:1148 ASMIPXLISTENFORPACKET
+ 005B:1164 ASMIPXOPENSOCKET
+ 005B:118C ASMIPXRELINQUISHCONTROL
+ 005B:11A2 ASMIPXSENDPACKET
+ 005B:11BE ASMIPXGETMAXPACKETSIZE
+ 005B:11D4 ASMIPXDISCONNECTFROMTARGET
+ 005B:11F0 ASMIPXGETLOCALTARGET
+ 005B:124A _SetupEcb
+ 005B:1296 _FindFileServers
+ 005B:1510 _ConnectToAnyFileServer
+ 005B:161A _NcpTransaction
+ 005B:1834 _DisconnectFromServer
+ 005B:1886 _ReadPropertyValue
+ 01F4:0008 _Sequence
+ 01F4:000A _consecutive_timeout_count
+ 01F4:000C _TransInfo
+ 01F4:005C _errno
+ 01F4:0066 __rpc_hostDS
+ 01F4:0068 _theTable
+ 01F4:0080 _PreferredServerFound
+ 01F4:0082 _FileServerCount
+ 01F4:0084 _ActiveFileServer
+ 01F4:00A0 __edata
+ 01F4:00A0 _num_endpoints
+ 01F4:00A0 _edata
+ 01F4:00A2 _Servers
+ 01F4:00DE _PreferredServer
+ 01F4:00FE _enteripx
+ 01F4:0102 _packet_size
+ 01F4:0104 _ep_list
+ 01F4:0112 _max_num_send
+ 01F4:0114 _ServerCache
+ 01F4:0194 __end
+ 01F4:0194 _end
+
+Program entry point at 0002:0004
diff --git a/public/sdk/rpc16/dos/dll/rpc16dg6.rpc b/public/sdk/rpc16/dos/dll/rpc16dg6.rpc
new file mode 100644
index 000000000..6ef28b915
--- /dev/null
+++ b/public/sdk/rpc16/dos/dll/rpc16dg6.rpc
Binary files differ
diff --git a/public/sdk/rpc16/dos/dll/rpcns.map b/public/sdk/rpc16/dos/dll/rpcns.map
new file mode 100644
index 000000000..a1e662ef5
--- /dev/null
+++ b/public/sdk/rpc16/dos/dll/rpcns.map
@@ -0,0 +1,305 @@
+LINK : warning L4021: no stack segment
+
+ Start Stop Length Name Class
+ 00000H 00000H 00000H NSICLNT_TEXT CODE
+ 00000H 00000H 00000H NSICLT_C_TEXT CODE
+ 00000H 00000H 00000H CBIND_TEXT CODE
+ 00000H 001BDH 001BEH EXPORTNS_TEXT CODE
+ 001BEH 00244H 00087H EXCEPT86_TEXT CODE
+ 00246H 00246H 00000H UTIL_TEXT CODE
+ 00246H 00298H 00053H MEM_TEXT CODE
+ 0029AH 0037EH 000E5H LMDLL_TEXT CODE
+ 00380H 0054DH 001CEH _TEXT CODE
+ 00550H 01C5AH 0170BH COMDAT_SEG1 CODE
+ 01C5CH 01F37H 002DCH _DATA DATA
+ 01F38H 02014H 000DDH STRINGSEGMENT DATA
+ 02016H 02016H 00000H XIFB DATA
+ 02016H 02016H 00000H XIF DATA
+ 02016H 02016H 00000H XIFE DATA
+ 02016H 02031H 0001CH TABLESEGMENT DATA
+ 02032H 02033H 00002H CONST CONST
+ 02034H 02067H 00034H _BSS BSS
+ 02070H 02070H 00000H c_common BSS
+
+ Origin Group
+ 01C5:0 DGROUP
+
+ Address Publics by Name
+
+ 0055:1500 ??0WIDE_STRING@@REC@PEE@Z
+ 0055:15E4 ??2@ZAPEXI@Z
+ 0055:15F2 ??3@ZAXPEX@Z
+ 0055:08F8 ??_C@_07DFNK@ncalrpc?$AA@
+ 0055:0900 ??_C@_08DNBJ@ncacn_np?$AA@
+ 0055:14BA ??_C@_08GAHO@Endpoint?$AA@
+ 0055:14A0 ??_C@_08OBCM@Protocol?$AA@
+ 0055:146A ??_C@_0BB@EHCE@?2mailslot?2Resp_c?$AA@
+ 0055:1456 ??_C@_0BE@JFMA@?2?2?$CK?2mailslot?2Resp_s?$AA@
+ 0055:147C ??_C@_0CD@LHG@Software?2Microsoft?2Rpc?2NameServi@
+ 0055:16FE ??_C@_0N@NHGH@DefaultEntry?$AA@
+ 0055:16F0 ??_C@_0O@JCMN@DefaultSyntax?$AA@
+ 0055:14C4 ??_C@_0O@MCEM@?2pipe?2locator?$AA@
+ 0055:14AA ??_C@_0P@NOEJ@NetworkAddress?$AA@
+ 01C5:01A4 ?LocalMS@@3PEDE
+ 01C5:01A0 ?MailslotName@@3PEDE
+ 01C5:03F6 ?NsiStringBinding@@3PEEE
+ 0055:06CE ?RandomNumber@@ZAHXZ
+ 0055:0388 ?RpcNsBindingImportBeginW@@ZCGKPEGPEXPEU_GUID@@PEPEX@Z
+ 0055:0000 ?RpcNsBindingLookupBeginW@@ZCGKPEGPEXPEU_GUID@@KPEPEX@Z
+ 0029:0034 DOSDELETEMAILSLOT
+ 0029:001F DOSMAKEMAILSLOT
+ 0029:0026 DOSREADMAILSLOT
+ 0029:002D DOSWRITEMAILSLOT
+ 0000:019A EXPORTTIME
+ 0000:009F I_DOSATEXIT
+ 0055:1316 I_GETDEFAULTENTRYSYNTAX
+ 0055:124A I_NSCLIENTBINDDONE
+ 0055:0EC2 I_NSCLIENTBINDSEARCH
+ 0000:01AC I_NSGETMEMORYALLOCATOR
+ 0000:00F8 I_RPCALLOCATE
+ 0000:00FE I_RPCFREE
+ 0000:0104 I_RPCFREEBUFFER
+ 0000:010A I_RPCGETBUFFER
+ 0000:0116 I_RPCNSBINDINGSETENTRYNAME
+ 0000:01A0 I_RPCREGISTEREDBUFFERALLOCATE
+ 0000:01A6 I_RPCREGISTEREDBUFFERFREE
+ 0000:0110 I_RPCSENDRECEIVE
+ 0000:0152 I_RPCTRANSCLIENTMAXFRAG
+ 0000:00B8 I_RPCTRANSCLIENTREALLOCBUFFER
+ 0024:0022 MIDL_USER_ALLOCATE
+ 0024:003B MIDL_USER_FREE
+ 0000:013A NDRCCONTEXTBINDING
+ 0000:0140 NDRCCONTEXTMARSHALL
+ 0000:0146 NDRCCONTEXTUNMARSHALL
+ 0000:015E NDRCLIENTCONTEXTMARSHALL
+ 0000:018E NDRCLIENTCONTEXTUNMARSHALL
+ 0000:0182 NDRCLIENTINITIALIZE
+ 0000:0188 NDRCLIENTINITIALIZENEW
+ 0000:017C NDRCONVERT
+ 0000:016A NDRFREEBUFFER
+ 0000:0170 NDRGETBUFFER
+ 0000:0176 NDRPOINTERBUFFERSIZE
+ 0000:0164 NDRPOINTERMARSHALL
+ 0000:0158 NDRPOINTERUNMARSHALL
+ 0000:0194 NDRSENDRECEIVE
+ 0000:01B8 NDRSIMPLESTRUCTBUFFERSIZE
+ 0000:01B2 NDRSIMPLESTRUCTMARSHALL
+ 0029:000A NETGETDCNAME
+ 0029:0011 NETSERVERENUM2
+ 0029:0018 NETWKSTAGETINFO
+ 0024:0006 NSALLOCATORSETUP
+ 0000:00CC RPCBINDINGCOPY
+ 0000:00EC RPCBINDINGFREE
+ 0000:00E0 RPCBINDINGFROMSTRINGBINDING
+ 0000:00DB RPCBINDINGTOSTRINGBINDING
+ 0000:00E6 RPCBINDINGVECTORFREE
+ 0000:00BD RPCGETEXCEPTIONHANDLER
+ 0000:00C7 RPCLEAVEEXCEPTION
+ 0055:087E RPCNSBINDINGIMPORTBEGINA
+ 0055:04AC RPCNSBINDINGIMPORTDONE
+ 0055:0412 RPCNSBINDINGIMPORTNEXT
+ 0055:07FE RPCNSBINDINGLOOKUPBEGINA
+ 0055:030A RPCNSBINDINGLOOKUPDONE
+ 0055:0124 RPCNSBINDINGLOOKUPNEXT
+ 0055:0702 RPCNSBINDINGSELECT
+ 0055:0518 RPCNSMGMTHANDLESETEXPAGE
+ 001B:004D RPCRAISEEXCEPTION
+ 0000:0128 RPCREGCLOSEKEY
+ 0000:0122 RPCREGCREATEKEY
+ 0000:011C RPCREGOPENKEY
+ 0000:0134 RPCREGQUERYVALUE
+ 0000:012E RPCREGSETVALUE
+ 001B:000E RPCSETEXCEPTION
+ 0000:00C2 RPCSETEXCEPTIONHANDLER
+ 0000:014C RPCSSDESTROYCLIENTCONTEXT
+ 0000:00D1 RPCSTRINGBINDINGCOMPOSE
+ 0000:00D6 RPCSTRINGBINDINGPARSE
+ 0000:00F2 RPCSTRINGFREE
+ 0038:0090 _atoi
+ 0055:1326 _BroadcastAQuery
+ 0000:0063 _CallExport
+ 0055:1602 _CallExportInit
+ 0055:1604 _CopyString
+ 01C5:03F0 _DefaultName
+ 01C5:019C _DefaultSyntax
+ 0000:0000 _DOSDLLInit
+ 01C5:03E4 _edata
+ 01C5:0420 _end
+ 01C5:01A8 _errno
+ 0000:0046 _ExportInit
+ 01C5:03F4 _fSyntaxDefaultsLoaded
+ 0055:1646 _GetDefaultEntrys
+ 0000:00A4 _GETENV
+ 0000:0081 _GetExportTableVersion
+ 0000:00B3 _GETPROCADDRR
+ 0000:00A9 _LOADMODR
+ 0055:14D2 _MapException
+ 0038:00EA _memset
+ 01C5:03EC _NsiClntBinding
+ 01C5:0058 _NsiC_ClientIfHandle
+ 01C5:020C _NsiToRpcStatus
+ 0055:090A _nsi_binding_lookup_begin
+ 0055:0ACA _nsi_binding_lookup_done
+ 0055:0BB4 _nsi_binding_lookup_next
+ 0055:0CEC _nsi_mgmt_handle_set_exp_age
+ 0055:0DDA _RegGetString
+ 0029:003B _RpcNsLmDiscard
+ 0038:004C _strcmp
+ 0038:0010 _strcpy
+ 0038:0076 _strlen
+ 01C5:01B4 _theTable
+ 0055:159C _UnicodeToAscii
+ 0000:00AE _UNLOADMODR
+ 0000:0000 Abs __ACRTUSED
+ 0000:0000 Abs __ADBUSED
+ 0038:0132 __aFlmul
+ 0038:0132 __aFulmul
+ 0038:0164 __aFulrem
+ 0000:1000 Abs __AHINCR
+ 0000:000C Abs __AHSHIFT
+ 0038:0094 __catox
+ 01C5:03E4 __edata
+ 01C5:0420 __end
+ 01C5:023C __NsAllocatorInitialized
+ 01C5:01B2 __rpc_hostDS
+
+ Address Publics by Value
+
+ 0000:0000 Abs __ACRTUSED
+ 0000:0000 _DOSDLLInit
+ 0000:0000 Abs __ADBUSED
+ 0000:000C Abs __AHSHIFT
+ 0000:0046 _ExportInit
+ 0000:0063 _CallExport
+ 0000:0081 _GetExportTableVersion
+ 0000:009F I_DOSATEXIT
+ 0000:00A4 _GETENV
+ 0000:00A9 _LOADMODR
+ 0000:00AE _UNLOADMODR
+ 0000:00B3 _GETPROCADDRR
+ 0000:00B8 I_RPCTRANSCLIENTREALLOCBUFFER
+ 0000:00BD RPCGETEXCEPTIONHANDLER
+ 0000:00C2 RPCSETEXCEPTIONHANDLER
+ 0000:00C7 RPCLEAVEEXCEPTION
+ 0000:00CC RPCBINDINGCOPY
+ 0000:00D1 RPCSTRINGBINDINGCOMPOSE
+ 0000:00D6 RPCSTRINGBINDINGPARSE
+ 0000:00DB RPCBINDINGTOSTRINGBINDING
+ 0000:00E0 RPCBINDINGFROMSTRINGBINDING
+ 0000:00E6 RPCBINDINGVECTORFREE
+ 0000:00EC RPCBINDINGFREE
+ 0000:00F2 RPCSTRINGFREE
+ 0000:00F8 I_RPCALLOCATE
+ 0000:00FE I_RPCFREE
+ 0000:0104 I_RPCFREEBUFFER
+ 0000:010A I_RPCGETBUFFER
+ 0000:0110 I_RPCSENDRECEIVE
+ 0000:0116 I_RPCNSBINDINGSETENTRYNAME
+ 0000:011C RPCREGOPENKEY
+ 0000:0122 RPCREGCREATEKEY
+ 0000:0128 RPCREGCLOSEKEY
+ 0000:012E RPCREGSETVALUE
+ 0000:0134 RPCREGQUERYVALUE
+ 0000:013A NDRCCONTEXTBINDING
+ 0000:0140 NDRCCONTEXTMARSHALL
+ 0000:0146 NDRCCONTEXTUNMARSHALL
+ 0000:014C RPCSSDESTROYCLIENTCONTEXT
+ 0000:0152 I_RPCTRANSCLIENTMAXFRAG
+ 0000:0158 NDRPOINTERUNMARSHALL
+ 0000:015E NDRCLIENTCONTEXTMARSHALL
+ 0000:0164 NDRPOINTERMARSHALL
+ 0000:016A NDRFREEBUFFER
+ 0000:0170 NDRGETBUFFER
+ 0000:0176 NDRPOINTERBUFFERSIZE
+ 0000:017C NDRCONVERT
+ 0000:0182 NDRCLIENTINITIALIZE
+ 0000:0188 NDRCLIENTINITIALIZENEW
+ 0000:018E NDRCLIENTCONTEXTUNMARSHALL
+ 0000:0194 NDRSENDRECEIVE
+ 0000:019A EXPORTTIME
+ 0000:01A0 I_RPCREGISTEREDBUFFERALLOCATE
+ 0000:01A6 I_RPCREGISTEREDBUFFERFREE
+ 0000:01AC I_NSGETMEMORYALLOCATOR
+ 0000:01B2 NDRSIMPLESTRUCTMARSHALL
+ 0000:01B8 NDRSIMPLESTRUCTBUFFERSIZE
+ 001B:000E RPCSETEXCEPTION
+ 001B:004D RPCRAISEEXCEPTION
+ 0024:0006 NSALLOCATORSETUP
+ 0024:0022 MIDL_USER_ALLOCATE
+ 0024:003B MIDL_USER_FREE
+ 0029:000A NETGETDCNAME
+ 0029:0011 NETSERVERENUM2
+ 0029:0018 NETWKSTAGETINFO
+ 0029:001F DOSMAKEMAILSLOT
+ 0029:0026 DOSREADMAILSLOT
+ 0029:002D DOSWRITEMAILSLOT
+ 0029:0034 DOSDELETEMAILSLOT
+ 0029:003B _RpcNsLmDiscard
+ 0038:0010 _strcpy
+ 0038:004C _strcmp
+ 0038:0076 _strlen
+ 0038:0090 _atoi
+ 0038:0094 __catox
+ 0038:00EA _memset
+ 0038:0132 __aFulmul
+ 0038:0132 __aFlmul
+ 0038:0164 __aFulrem
+ 0055:0000 ?RpcNsBindingLookupBeginW@@ZCGKPEGPEXPEU_GUID@@KPEPEX@Z
+ 0055:0124 RPCNSBINDINGLOOKUPNEXT
+ 0055:030A RPCNSBINDINGLOOKUPDONE
+ 0055:0388 ?RpcNsBindingImportBeginW@@ZCGKPEGPEXPEU_GUID@@PEPEX@Z
+ 0055:0412 RPCNSBINDINGIMPORTNEXT
+ 0055:04AC RPCNSBINDINGIMPORTDONE
+ 0055:0518 RPCNSMGMTHANDLESETEXPAGE
+ 0055:06CE ?RandomNumber@@ZAHXZ
+ 0055:0702 RPCNSBINDINGSELECT
+ 0055:07FE RPCNSBINDINGLOOKUPBEGINA
+ 0055:087E RPCNSBINDINGIMPORTBEGINA
+ 0055:08F8 ??_C@_07DFNK@ncalrpc?$AA@
+ 0055:0900 ??_C@_08DNBJ@ncacn_np?$AA@
+ 0055:090A _nsi_binding_lookup_begin
+ 0000:1000 Abs __AHINCR
+ 0055:0ACA _nsi_binding_lookup_done
+ 0055:0BB4 _nsi_binding_lookup_next
+ 0055:0CEC _nsi_mgmt_handle_set_exp_age
+ 0055:0DDA _RegGetString
+ 0055:0EC2 I_NSCLIENTBINDSEARCH
+ 0055:124A I_NSCLIENTBINDDONE
+ 0055:1316 I_GETDEFAULTENTRYSYNTAX
+ 0055:1326 _BroadcastAQuery
+ 0055:1456 ??_C@_0BE@JFMA@?2?2?$CK?2mailslot?2Resp_s?$AA@
+ 0055:146A ??_C@_0BB@EHCE@?2mailslot?2Resp_c?$AA@
+ 0055:147C ??_C@_0CD@LHG@Software?2Microsoft?2Rpc?2NameServi@
+ 0055:14A0 ??_C@_08OBCM@Protocol?$AA@
+ 0055:14AA ??_C@_0P@NOEJ@NetworkAddress?$AA@
+ 0055:14BA ??_C@_08GAHO@Endpoint?$AA@
+ 0055:14C4 ??_C@_0O@MCEM@?2pipe?2locator?$AA@
+ 0055:14D2 _MapException
+ 0055:1500 ??0WIDE_STRING@@REC@PEE@Z
+ 0055:159C _UnicodeToAscii
+ 0055:15E4 ??2@ZAPEXI@Z
+ 0055:15F2 ??3@ZAXPEX@Z
+ 0055:1602 _CallExportInit
+ 0055:1604 _CopyString
+ 0055:1646 _GetDefaultEntrys
+ 0055:16F0 ??_C@_0O@JCMN@DefaultSyntax?$AA@
+ 0055:16FE ??_C@_0N@NHGH@DefaultEntry?$AA@
+ 01C5:0058 _NsiC_ClientIfHandle
+ 01C5:019C _DefaultSyntax
+ 01C5:01A0 ?MailslotName@@3PEDE
+ 01C5:01A4 ?LocalMS@@3PEDE
+ 01C5:01A8 _errno
+ 01C5:01B2 __rpc_hostDS
+ 01C5:01B4 _theTable
+ 01C5:020C _NsiToRpcStatus
+ 01C5:023C __NsAllocatorInitialized
+ 01C5:03E4 _edata
+ 01C5:03E4 __edata
+ 01C5:03EC _NsiClntBinding
+ 01C5:03F0 _DefaultName
+ 01C5:03F4 _fSyntaxDefaultsLoaded
+ 01C5:03F6 ?NsiStringBinding@@3PEEE
+ 01C5:0420 _end
+ 01C5:0420 __end
+
+Program entry point at 0000:0000
diff --git a/public/sdk/rpc16/dos/dll/rpcns.rpc b/public/sdk/rpc16/dos/dll/rpcns.rpc
new file mode 100644
index 000000000..45a62f031
--- /dev/null
+++ b/public/sdk/rpc16/dos/dll/rpcns.rpc
Binary files differ
diff --git a/public/sdk/rpc16/dos/dll/rpcnslm.map b/public/sdk/rpc16/dos/dll/rpcnslm.map
new file mode 100644
index 000000000..90e56f943
--- /dev/null
+++ b/public/sdk/rpc16/dos/dll/rpcnslm.map
@@ -0,0 +1,364 @@
+LINK : warning L4021: no stack segment
+
+ Start Stop Length Name Class
+ 00000H 000ADH 000AEH EXPORTLM_TEXT CODE
+ 000AEH 01B4BH 01A9EH CANON_TEXT CODE
+ 01B4CH 02408H 008BDH _TEXT CODE
+ 0240AH 024D5H 000CCH NETLIB CODE
+ 024D6H 02B0DH 00638H SECURITY_TEXT CODE
+ 02B0EH 02B0EH 00000H SSI_TEXT CODE
+ 02B0EH 02B9BH 0008EH SERVER_TEXT CODE
+ 02B9CH 02B9CH 00000H SRVSTRNG_TEXT CODE
+ 02B9CH 02D9DH 00202H WKSTA_TEXT CODE
+ 02D9EH 02D9EH 00000H DLLMGMT_TEXT CODE
+ 02D9EH 031D9H 0043CH MAILSLOT_TEXT CODE
+ 031DAH 033A3H 001CAH RPC_TEXT CODE
+ 033B0H 033B1H 00002H REMOTE_TEXT CODE
+ 033B2H 034B7H 00106H UTIL_TEXT CODE
+ 034B8H 034DAH 00023H ASMLIB_TEXT CODE
+ 034DCH 034DCH 00000H APIMESS_TEXT CODE
+ 034DCH 034DCH 00000H DEFALLOC_TEXT CODE
+ 034DCH 034DCH 00000H DEFFREE_TEXT CODE
+ 034DCH 03539H 0005EH DEFMEMRT_TEXT CODE
+ 0353AH 0353AH 00000H NULLSTR_TEXT CODE
+ 03540H 047D7H 01298H APITABLD5_DATA FAR_DATA
+ 047D8H 04EFFH 00728H _DATA DATA
+ 04F00H 04F79H 0007AH STRINGSEGMENT DATA
+ 04F7AH 04F7AH 00000H XIFB DATA
+ 04F7AH 04F81H 00008H XIF DATA
+ 04F82H 04F82H 00000H XIFE DATA
+ 04F82H 051E6H 00265H CONST CONST
+ 051E8H 051E8H 00000H _BSS BSS
+
+ Origin Group
+ 047D:0 DGROUP
+
+ Address Publics by Name
+
+ 01B4:0516 Canonicalize
+ 033B:0000 DEADTABLEENTRY
+ 02D9:0132 DOSDELETEMAILSLOT
+ 01B4:0656 DOSICANONICALIZE
+ 02D9:018E DOSMAKEMAILSLOT
+ 02D9:02E4 DOSREADMAILSLOT
+ 02D9:036E DOSWRITEMAILSLOT
+ 033B:0002 I_NETGETCDNAMES
+ 000A:14E6 I_NETNAMECOMPARE
+ 000A:000E I_NETPATHCANONICALIZE
+ 000A:0932 I_NETPATHTYPE
+ 01B4:0599 l0_PathSep
+ 01B4:05A4 l1_SkipBack
+ 01B4:064C l2_ScanPathChar
+ 01B4:0697 l3_PathChrCmp
+ 01B4:06F0 l4_NameTrans
+ 01B4:0715 l5_NORMSCAN
+ 01B4:0762 l6_GetLet
+ 01B4:079B l7_SPCHK
+ 01B4:07A2 l8_PackName
+ 033B:008E MYDOSALLOCSEG
+ 033B:00C8 MYDOSFREESEG
+ 033B:00E6 MYDOSREALLOCSEG
+ 024D:0006 NETGETDCNAME
+ 031D:00FE NETIISREMOTE
+ 031D:000A NETIREMOTEAPI
+ 02B9:000C NETSERVERENUM2
+ 02B0:000E NETSERVERGETINFO
+ 02B9:00F2 NETWKSTAGETINFO
+ 01B4:059B PathSepGotCh
+ 000A:0116 R_I_NETPATHCANONICALIZE
+ 024D:009A WGETDCNAME
+ 000A:158A WI_NETNAMECOMPARE
+ 000A:0144 WI_NETPATHCANONICALIZE
+ 000A:09D4 WI_NETPATHTYPE
+ 02B9:01AA WWKSTAGETINFO
+ 047D:0698 _AdminProcess
+ 047D:06AC _AdminProcessCount
+ 047D:06AE _AdminProcessSem
+ 047D:0724 _ALLOCATOR
+ 0354:0000 _APItable
+ 02D9:000E _build_mailslot_name
+ 047D:067A _Caller_Info
+ 0000:0063 _CallExport
+ 047D:00DC _cbMaxPathCompLen
+ 047D:00DA _cbMaxPathLen
+ 047D:066A _cname
+ 047D:068E _Data_Sem
+ 01B4:0826 _DoInt
+ 01B4:0829 _DoIntR
+ 01B4:082C _DoIntx
+ 047D:06B4 _DomainSem
+ 0000:0000 _DOSDLLInit
+ 047D:0A18 _edata
+ 047D:06F8 _Encrypt_Sem
+ 047D:0A18 _end
+ 047D:0008 _errno
+ 0000:0046 _ExportInit
+ 0000:00A4 _FREE
+ 047D:072C _FREEMEM
+ 0000:00A9 _GETENV
+ 034B:0008 _getenv_addr
+ 0000:0081 _GetExportTableVersion
+ 000A:1670 _GetToken
+ 024D:058E _get_temp_ms
+ 01B4:01EA _ininlsf
+ 047D:06C8 _LogonDCName
+ 047D:06E8 _LogonDomain
+ 0000:009F _MALLOC
+ 01B4:001C _memsetf
+ 047D:06FC _MslotName
+ 047D:0882 _num_server_info
+ 047D:06B2 _PinballInstalled
+ 047D:06B8 _PrimaryDCName
+ 047D:06D8 _PrimaryDomain
+ 047D:0692 _RC_Sem
+ 034B:001C _rdr_open
+ 047D:0696 _Reader_Count
+ 047D:0728 _REALLOCATOR
+ 01B4:03A4 _strcatf
+ 01B4:004E _strchrf
+ 01B4:0340 _strcmpf
+ 01B4:036C _strcpyf
+ 01B4:018E _strcspnf
+ 01B4:0296 _stricmpf
+ 01B4:0326 _strlenf
+ 01B4:00DA _strncpyf
+ 01B4:007C _strnicmpf
+ 01B4:0104 _strrchrf
+ 01B4:0132 _strspnf
+ 0240:000A _strtailf
+ 01B4:02EC _struprf
+ 047D:0014 _theTable
+ 047D:088E _txt_REM_connection_info_0
+ 047D:0890 _txt_REM_connection_info_1
+ 047D:07EE _txt_REM_dc_name
+ 047D:07BA _txt_REM_I_NetListCanonicalizeP
+ 047D:07C4 _txt_REM_I_NetNameCanonicalizeP
+ 047D:07D2 _txt_REM_I_NetNameCompare_P
+ 047D:07D7 _txt_REM_I_NetNameValidate_P
+ 047D:07CA _txt_REM_I_NetPathCanonicalizeP
+ 047D:07DB _txt_REM_I_NetPathCompare_P
+ 047D:07E0 _txt_REM_I_NetPathType_P
+ 047D:0898 _txt_REM_NetConnectionEnum_P
+ 047D:07E4 _txt_REM_NetGetDCName_P
+ 047D:07E8 _txt_REM_NetLogonEnum_P
+ 047D:07F2 _txt_REM_NetServerAdminCommand_
+ 047D:07F2 _txt_REM_NetServerAdminCom_P
+ 047D:089F _txt_REM_NetServerDiskEnum_P
+ 047D:07FB _txt_REM_NetServerEnum2_P
+ 047D:0803 _txt_REM_NetServerEnum_P
+ 047D:0884 _txt_REM_NetServerGetInfo_P
+ 047D:0889 _txt_REM_NetServerSetInfo_P
+ 047D:08A8 _txt_REM_NetWkstaGetInfo_P
+ 047D:0903 _txt_REM_NetWkstaSetInfo_P
+ 047D:098C _txt_REM_NetWkstaSetUID_P
+ 047D:0981 _txt_REM_NetWkstaUserLogoff_P
+ 047D:0976 _txt_REM_NetWkstaUserLogon_P
+ 047D:0A16 _txt_REM_nulstr
+ 047D:07F9 _txt_REM_server_admin_command
+ 047D:08A5 _txt_REM_server_diskenum
+ 047D:0809 _txt_REM_server_info_0
+ 047D:080D _txt_REM_server_info_1
+ 047D:0815 _txt_REM_server_info_2
+ 047D:0846 _txt_REM_server_info_3
+ 047D:087A _txt_REM_server_info_table
+ 047D:0972 _txt_REM_user_logoff_info_1
+ 047D:094F _txt_REM_user_logon_info_0
+ 047D:0954 _txt_REM_user_logon_info_1
+ 047D:0969 _txt_REM_user_logon_info_2
+ 047D:08AD _txt_REM_wksta_info_0
+ 047D:0908 _txt_REM_wksta_info_0_setinf
+ 047D:08CF _txt_REM_wksta_info_1
+ 047D:08F4 _txt_REM_wksta_info_10
+ 047D:092A _txt_REM_wksta_info_1_setinf
+ 047D:08FC _txt_REM_WWkstaGetInfo_P
+ 047D:0654 _uname
+ 047D:068A _Writer_Sem
+ 0000:0000 Abs __ACRTUSED
+ 0000:0000 Abs __ADBUSED
+ 0000:9876 Abs __anlsused
+ 047D:021A __CollateTable
+ 01B4:0442 __DOSCASEMAP
+ 01B4:03EC __DOSGETCOLLATE
+ 047D:09CB __DosMVDMErrorMsg
+ 01B4:07D8 __DosVersionCheck
+ 0000:0001 Abs __DosVersionCheckInit
+ 047D:0994 __DosVersionCheckMsg
+ 047D:0A18 __edata
+ 047D:0A18 __end
+ 047D:0A15 __InMVDMBox
+ 047D:0012 __rpc_hostDS
+ 047D:041A __ToLowerCaseTable
+ 047D:031A __ToUpperCaseTable
+ 034D:000C ___default_allocator
+ 034D:0040 ___default_available
+ 034D:0058 ___default_freemem
+ 034D:0028 ___default_reallocator
+ 01B4:08AB ___segread
+ 047D:051A ____ctype
+ 047D:051A ____ctype_
+
+ Address Publics by Value
+
+ 0000:0000 _DOSDLLInit
+ 0000:0000 Abs __ADBUSED
+ 0000:0000 Abs __ACRTUSED
+ 0000:0001 Abs __DosVersionCheckInit
+ 0000:0046 _ExportInit
+ 0000:0063 _CallExport
+ 0000:0081 _GetExportTableVersion
+ 0000:009F _MALLOC
+ 0000:00A4 _FREE
+ 0000:00A9 _GETENV
+ 000A:000E I_NETPATHCANONICALIZE
+ 000A:0116 R_I_NETPATHCANONICALIZE
+ 000A:0144 WI_NETPATHCANONICALIZE
+ 000A:0932 I_NETPATHTYPE
+ 000A:09D4 WI_NETPATHTYPE
+ 000A:14E6 I_NETNAMECOMPARE
+ 000A:158A WI_NETNAMECOMPARE
+ 000A:1670 _GetToken
+ 01B4:001C _memsetf
+ 01B4:004E _strchrf
+ 01B4:007C _strnicmpf
+ 01B4:00DA _strncpyf
+ 01B4:0104 _strrchrf
+ 01B4:0132 _strspnf
+ 01B4:018E _strcspnf
+ 01B4:01EA _ininlsf
+ 01B4:0296 _stricmpf
+ 01B4:02EC _struprf
+ 01B4:0326 _strlenf
+ 01B4:0340 _strcmpf
+ 01B4:036C _strcpyf
+ 01B4:03A4 _strcatf
+ 01B4:03EC __DOSGETCOLLATE
+ 01B4:0442 __DOSCASEMAP
+ 01B4:0516 Canonicalize
+ 01B4:0599 l0_PathSep
+ 01B4:059B PathSepGotCh
+ 01B4:05A4 l1_SkipBack
+ 01B4:064C l2_ScanPathChar
+ 01B4:0656 DOSICANONICALIZE
+ 01B4:0697 l3_PathChrCmp
+ 01B4:06F0 l4_NameTrans
+ 01B4:0715 l5_NORMSCAN
+ 01B4:0762 l6_GetLet
+ 01B4:079B l7_SPCHK
+ 01B4:07A2 l8_PackName
+ 01B4:07D8 __DosVersionCheck
+ 01B4:0826 _DoInt
+ 01B4:0829 _DoIntR
+ 01B4:082C _DoIntx
+ 01B4:08AB ___segread
+ 0240:000A _strtailf
+ 024D:0006 NETGETDCNAME
+ 024D:009A WGETDCNAME
+ 024D:058E _get_temp_ms
+ 02B0:000E NETSERVERGETINFO
+ 02B9:000C NETSERVERENUM2
+ 02B9:00F2 NETWKSTAGETINFO
+ 02B9:01AA WWKSTAGETINFO
+ 02D9:000E _build_mailslot_name
+ 02D9:0132 DOSDELETEMAILSLOT
+ 02D9:018E DOSMAKEMAILSLOT
+ 02D9:02E4 DOSREADMAILSLOT
+ 02D9:036E DOSWRITEMAILSLOT
+ 031D:000A NETIREMOTEAPI
+ 031D:00FE NETIISREMOTE
+ 033B:0000 DEADTABLEENTRY
+ 033B:0002 I_NETGETCDNAMES
+ 033B:008E MYDOSALLOCSEG
+ 033B:00C8 MYDOSFREESEG
+ 033B:00E6 MYDOSREALLOCSEG
+ 034B:0008 _getenv_addr
+ 034B:001C _rdr_open
+ 034D:000C ___default_allocator
+ 034D:0028 ___default_reallocator
+ 034D:0040 ___default_available
+ 034D:0058 ___default_freemem
+ 0354:0000 _APItable
+ 047D:0008 _errno
+ 047D:0012 __rpc_hostDS
+ 047D:0014 _theTable
+ 047D:00DA _cbMaxPathLen
+ 047D:00DC _cbMaxPathCompLen
+ 047D:021A __CollateTable
+ 047D:031A __ToUpperCaseTable
+ 047D:041A __ToLowerCaseTable
+ 047D:051A ____ctype
+ 047D:051A ____ctype_
+ 047D:0654 _uname
+ 047D:066A _cname
+ 047D:067A _Caller_Info
+ 047D:068A _Writer_Sem
+ 047D:068E _Data_Sem
+ 047D:0692 _RC_Sem
+ 047D:0696 _Reader_Count
+ 047D:0698 _AdminProcess
+ 047D:06AC _AdminProcessCount
+ 047D:06AE _AdminProcessSem
+ 047D:06B2 _PinballInstalled
+ 047D:06B4 _DomainSem
+ 047D:06B8 _PrimaryDCName
+ 047D:06C8 _LogonDCName
+ 047D:06D8 _PrimaryDomain
+ 047D:06E8 _LogonDomain
+ 047D:06F8 _Encrypt_Sem
+ 047D:06FC _MslotName
+ 047D:0724 _ALLOCATOR
+ 047D:0728 _REALLOCATOR
+ 047D:072C _FREEMEM
+ 047D:07BA _txt_REM_I_NetListCanonicalizeP
+ 047D:07C4 _txt_REM_I_NetNameCanonicalizeP
+ 047D:07CA _txt_REM_I_NetPathCanonicalizeP
+ 047D:07D2 _txt_REM_I_NetNameCompare_P
+ 047D:07D7 _txt_REM_I_NetNameValidate_P
+ 047D:07DB _txt_REM_I_NetPathCompare_P
+ 047D:07E0 _txt_REM_I_NetPathType_P
+ 047D:07E4 _txt_REM_NetGetDCName_P
+ 047D:07E8 _txt_REM_NetLogonEnum_P
+ 047D:07EE _txt_REM_dc_name
+ 047D:07F2 _txt_REM_NetServerAdminCommand_
+ 047D:07F2 _txt_REM_NetServerAdminCom_P
+ 047D:07F9 _txt_REM_server_admin_command
+ 047D:07FB _txt_REM_NetServerEnum2_P
+ 047D:0803 _txt_REM_NetServerEnum_P
+ 047D:0809 _txt_REM_server_info_0
+ 047D:080D _txt_REM_server_info_1
+ 047D:0815 _txt_REM_server_info_2
+ 047D:0846 _txt_REM_server_info_3
+ 047D:087A _txt_REM_server_info_table
+ 047D:0882 _num_server_info
+ 047D:0884 _txt_REM_NetServerGetInfo_P
+ 047D:0889 _txt_REM_NetServerSetInfo_P
+ 047D:088E _txt_REM_connection_info_0
+ 047D:0890 _txt_REM_connection_info_1
+ 047D:0898 _txt_REM_NetConnectionEnum_P
+ 047D:089F _txt_REM_NetServerDiskEnum_P
+ 047D:08A5 _txt_REM_server_diskenum
+ 047D:08A8 _txt_REM_NetWkstaGetInfo_P
+ 047D:08AD _txt_REM_wksta_info_0
+ 047D:08CF _txt_REM_wksta_info_1
+ 047D:08F4 _txt_REM_wksta_info_10
+ 047D:08FC _txt_REM_WWkstaGetInfo_P
+ 047D:0903 _txt_REM_NetWkstaSetInfo_P
+ 047D:0908 _txt_REM_wksta_info_0_setinf
+ 047D:092A _txt_REM_wksta_info_1_setinf
+ 047D:094F _txt_REM_user_logon_info_0
+ 047D:0954 _txt_REM_user_logon_info_1
+ 047D:0969 _txt_REM_user_logon_info_2
+ 047D:0972 _txt_REM_user_logoff_info_1
+ 047D:0976 _txt_REM_NetWkstaUserLogon_P
+ 047D:0981 _txt_REM_NetWkstaUserLogoff_P
+ 047D:098C _txt_REM_NetWkstaSetUID_P
+ 047D:0994 __DosVersionCheckMsg
+ 047D:09CB __DosMVDMErrorMsg
+ 047D:0A15 __InMVDMBox
+ 047D:0A16 _txt_REM_nulstr
+ 047D:0A18 __edata
+ 047D:0A18 __end
+ 047D:0A18 _end
+ 047D:0A18 _edata
+ 0000:9876 Abs __anlsused
+
+Program entry point at 0000:0000
diff --git a/public/sdk/rpc16/dos/dll/rpcnslm.rpc b/public/sdk/rpc16/dos/dll/rpcnslm.rpc
new file mode 100644
index 000000000..438cf82ef
--- /dev/null
+++ b/public/sdk/rpc16/dos/dll/rpcnslm.rpc
Binary files differ
diff --git a/public/sdk/rpc16/dos/dll/rpcnsmgm.map b/public/sdk/rpc16/dos/dll/rpcnsmgm.map
new file mode 100644
index 000000000..932ece577
--- /dev/null
+++ b/public/sdk/rpc16/dos/dll/rpcnsmgm.map
@@ -0,0 +1,387 @@
+LINK : warning L4021: no stack segment
+
+ Start Stop Length Name Class
+ 00000H 00000H 00000H NSIMGMT_TEXT CODE
+ 00000H 00000H 00000H NSIMGM_C_TEXT CODE
+ 00000H 00000H 00000H CBIND_TEXT CODE
+ 00000H 000E4H 000E5H LMDLL_TEXT CODE
+ 000E6H 002A3H 001BEH EXPORTMG_TEXT CODE
+ 002A4H 0032AH 00087H EXCEPT86_TEXT CODE
+ 0032CH 0032CH 00000H UTIL_TEXT CODE
+ 0032CH 0037EH 00053H MEM_TEXT CODE
+ 00380H 004B1H 00132H _TEXT CODE
+ 004C0H 03DF4H 03935H COMDAT_SEG1 CODE
+ 03DF6H 04209H 00414H _DATA DATA
+ 0420AH 04225H 0001CH TABLESEGMENT DATA
+ 04226H 04428H 00203H STRINGSEGMENT DATA
+ 0442AH 0442AH 00000H XIFB DATA
+ 0442AH 0442AH 00000H XIF DATA
+ 0442AH 0442AH 00000H XIFE DATA
+ 0442AH 0442BH 00002H CONST CONST
+ 0442CH 0445BH 00030H _BSS BSS
+ 04460H 04460H 00000H c_common BSS
+
+ Origin Group
+ 03DF:0 DGROUP
+
+ Address Publics by Name
+
+ 004C:372A ??0WIDE_STRING@@REC@PEE@Z
+ 004C:380E ??2@ZAPEXI@Z
+ 004C:381C ??3@ZAXPEX@Z
+ 004C:36E4 ??_C@_08GAHO@Endpoint?$AA@
+ 004C:36CA ??_C@_08OBCM@Protocol?$AA@
+ 004C:3694 ??_C@_0BB@EHCE@?2mailslot?2Resp_c?$AA@
+ 004C:3680 ??_C@_0BE@JFMA@?2?2?$CK?2mailslot?2Resp_s?$AA@
+ 004C:36A6 ??_C@_0CD@LHG@Software?2Microsoft?2Rpc?2NameServi@
+ 004C:3928 ??_C@_0N@NHGH@DefaultEntry?$AA@
+ 004C:391A ??_C@_0O@JCMN@DefaultSyntax?$AA@
+ 004C:36EE ??_C@_0O@MCEM@?2pipe?2locator?$AA@
+ 004C:36D4 ??_C@_0P@NOEJ@NetworkAddress?$AA@
+ 03DF:0266 ?LocalMS@@3PEDE
+ 03DF:0262 ?MailslotName@@3PEDE
+ 03DF:064A ?NsiStringBinding@@3PEEE
+ 004C:05D8 ?RpcNsEntryExpandNameW@@ZCGKPEGPEPEG@Z
+ 004C:0386 ?RpcNsEntryObjectInqBeginW@@ZCGKPEGPEPEX@Z
+ 004C:0000 ?RpcNsGroupDeleteW@@ZCGKPEG@Z
+ 004C:008E ?RpcNsGroupMbrAddW@@ZCGKPEGK0@Z
+ 004C:01F2 ?RpcNsGroupMbrInqBeginW@@ZCGKPEGKPEPEX@Z
+ 004C:02B0 ?RpcNsGroupMbrInqNextW@@ZCGPEXPEPEG@Z
+ 004C:0140 ?RpcNsGroupMbrRemoveW@@ZCGKPEGK0@Z
+ 004C:066C ?RpcNsMgmtBindingUnexportW@@ZCGKPEGPEU_RPC_IF_ID@@KPEU_UUID_VECTOR@@@Z
+ 004C:0710 ?RpcNsMgmtEntryCreateW@@ZCGKPEG@Z
+ 004C:079E ?RpcNsMgmtEntryDeleteW@@ZCGKPEG@Z
+ 004C:082C ?RpcNsMgmtEntryInqIfIdsW@@ZCGKPEGPEPEURPC_IF_ID_VECTOR@@@Z
+ 004C:096C ?RpcNsProfileDeleteW@@ZCGKPEG@Z
+ 004C:09FA ?RpcNsProfileEltAddW@@ZCGKPEGPEU_RPC_IF_ID@@K0K0@Z
+ 004C:0B76 ?RpcNsProfileEltInqBeginW@@ZCGKPEGKPEU_RPC_IF_ID@@KK0PEPEX@Z
+ 004C:0C40 ?RpcNsProfileEltInqNextW@@ZCGPEXPEU_RPC_IF_ID@@PEPEGPEK2@Z
+ 004C:0ABE ?RpcNsProfileEltRemoveW@@ZCGKPEGPEU_RPC_IF_ID@@K0@Z
+ 0000:002A DOSDELETEMAILSLOT
+ 0000:0015 DOSMAKEMAILSLOT
+ 0000:001C DOSREADMAILSLOT
+ 0000:0023 DOSWRITEMAILSLOT
+ 000E:01A0 EXPORTTIME
+ 000E:00A5 I_DOSATEXIT
+ 0000:0000 Unr I_GETDEFAULTENTRYSYNTAX
+ 004C:3484 I_NSCLIENTBINDDONE
+ 004C:30FC I_NSCLIENTBINDSEARCH
+ 000E:01B2 I_NSGETMEMORYALLOCATOR
+ 000E:00FE I_RPCALLOCATE
+ 000E:0104 I_RPCFREE
+ 000E:010A I_RPCFREEBUFFER
+ 000E:0110 I_RPCGETBUFFER
+ 000E:011C I_RPCNSBINDINGSETENTRYNAME
+ 000E:01A6 I_RPCREGISTEREDBUFFERALLOCATE
+ 000E:01AC I_RPCREGISTEREDBUFFERFREE
+ 000E:0116 I_RPCSENDRECEIVE
+ 000E:0158 I_RPCTRANSCLIENTMAXFRAG
+ 000E:00BE I_RPCTRANSCLIENTREALLOCBUFFER
+ 0032:0028 MIDL_USER_ALLOCATE
+ 0032:0041 MIDL_USER_FREE
+ 000E:0140 NDRCCONTEXTBINDING
+ 000E:0146 NDRCCONTEXTMARSHALL
+ 000E:014C NDRCCONTEXTUNMARSHALL
+ 000E:0164 NDRCLIENTCONTEXTMARSHALL
+ 000E:0194 NDRCLIENTCONTEXTUNMARSHALL
+ 000E:0188 NDRCLIENTINITIALIZE
+ 000E:018E NDRCLIENTINITIALIZENEW
+ 000E:0182 NDRCONVERT
+ 000E:0170 NDRFREEBUFFER
+ 000E:0176 NDRGETBUFFER
+ 000E:017C NDRPOINTERBUFFERSIZE
+ 000E:016A NDRPOINTERMARSHALL
+ 000E:015E NDRPOINTERUNMARSHALL
+ 000E:019A NDRSENDRECEIVE
+ 000E:01BE NDRSIMPLESTRUCTBUFFERSIZE
+ 000E:01B8 NDRSIMPLESTRUCTMARSHALL
+ 0000:0000 NETGETDCNAME
+ 0000:0007 NETSERVERENUM2
+ 0000:000E NETWKSTAGETINFO
+ 0032:000C NSALLOCATORSETUP
+ 000E:00D2 RPCBINDINGCOPY
+ 000E:00F2 RPCBINDINGFREE
+ 000E:00E6 RPCBINDINGFROMSTRINGBINDING
+ 000E:00E1 RPCBINDINGTOSTRINGBINDING
+ 000E:00EC RPCBINDINGVECTORFREE
+ 000E:00C3 RPCGETEXCEPTIONHANDLER
+ 004C:08D0 RPCIFIDVECTORFREE
+ 000E:00CD RPCLEAVEEXCEPTION
+ 004C:0FF8 RPCNSENTRYEXPANDNAMEA
+ 004C:0F8A RPCNSENTRYOBJECTINQBEGINA
+ 004C:048E RPCNSENTRYOBJECTINQDONE
+ 004C:0426 RPCNSENTRYOBJECTINQNEXT
+ 004C:0D1C RPCNSGROUPDELETEA
+ 004C:0D84 RPCNSGROUPMBRADDA
+ 004C:0EDC RPCNSGROUPMBRINQBEGINA
+ 004C:0324 RPCNSGROUPMBRINQDONE
+ 004C:0F50 RPCNSGROUPMBRINQNEXTA
+ 004C:0E30 RPCNSGROUPMBRREMOVEA
+ 004C:1080 RPCNSMGMTBINDINGUNEXPORTA
+ 004C:10FA RPCNSMGMTENTRYCREATEA
+ 004C:1162 RPCNSMGMTENTRYDELETEA
+ 004C:11CA RPCNSMGMTENTRYINQIFIDSA
+ 004C:04F0 RPCNSMGMTINQEXPAGE
+ 004C:0564 RPCNSMGMTSETEXPAGE
+ 004C:1238 RPCNSPROFILEDELETEA
+ 004C:12A0 RPCNSPROFILEELTADDA
+ 004C:1448 RPCNSPROFILEELTINQBEGINA
+ 004C:0CBA RPCNSPROFILEELTINQDONE
+ 004C:150C RPCNSPROFILEELTINQNEXTA
+ 004C:1396 RPCNSPROFILEELTREMOVEA
+ 002A:0043 RPCRAISEEXCEPTION
+ 000E:012E RPCREGCLOSEKEY
+ 000E:0128 RPCREGCREATEKEY
+ 000E:0122 RPCREGOPENKEY
+ 000E:013A RPCREGQUERYVALUE
+ 000E:0134 RPCREGSETVALUE
+ 002A:0004 RPCSETEXCEPTION
+ 000E:00C8 RPCSETEXCEPTIONHANDLER
+ 000E:0152 RPCSSDESTROYCLIENTCONTEXT
+ 000E:00D7 RPCSTRINGBINDINGCOMPOSE
+ 000E:00DC RPCSTRINGBINDINGPARSE
+ 000E:00F8 RPCSTRINGFREE
+ 0038:0090 _atoi
+ 004C:3550 _BroadcastAQuery
+ 000E:0069 _CallExport
+ 004C:382C _CallExportInit
+ 004C:382E _CopyString
+ 03DF:0644 _DefaultName
+ 03DF:025E _DefaultSyntax
+ 000E:0006 _DOSDLLInit
+ 03DF:063C _edata
+ 03DF:0670 _end
+ 03DF:030C _errno
+ 000E:004C _ExportInit
+ 03DF:0648 _fSyntaxDefaultsLoaded
+ 004C:3870 _GetDefaultEntrys
+ 000E:00AA _GETENV
+ 000E:0087 _GetExportTableVersion
+ 000E:00B9 _GetProcAddrR
+ 000E:00AF _LoadModR
+ 004C:36FC _MapException
+ 0038:00EA _memset
+ 03DF:0640 _NsiClntBinding
+ 03DF:0044 _NsiM_ClientIfHandle
+ 03DF:03E0 _NsiToRpcStatus
+ 004C:2890 _nsi_entry_expand_name
+ 004C:2550 _nsi_entry_object_inq_begin
+ 004C:27A6 _nsi_entry_object_inq_done
+ 004C:266E _nsi_entry_object_inq_next
+ 004C:1572 _nsi_group_delete
+ 004C:167A _nsi_group_mbr_add
+ 004C:1936 _nsi_group_mbr_inq_begin
+ 004C:1B88 _nsi_group_mbr_inq_done
+ 004C:1A80 _nsi_group_mbr_inq_next
+ 004C:17D8 _nsi_group_mbr_remove
+ 004C:29C6 _nsi_mgmt_binding_unexport
+ 004C:2C56 _nsi_mgmt_entry_create
+ 004C:2B4E _nsi_mgmt_entry_delete
+ 004C:2D5E _nsi_mgmt_entry_inq_if_ids
+ 004C:2E94 _nsi_mgmt_inq_exp_age
+ 004C:2F58 _nsi_mgmt_inq_set_age
+ 004C:1C72 _nsi_profile_delete
+ 004C:1D7A _nsi_profile_elt_add
+ 004C:20E2 _nsi_profile_elt_inq_begin
+ 004C:2466 _nsi_profile_elt_inq_done
+ 004C:22D0 _nsi_profile_elt_inq_next
+ 004C:1F5A _nsi_profile_elt_remove
+ 004C:3014 _RegGetString
+ 0000:0031 _RpcNsLmDiscard
+ 0038:004C _strcmp
+ 0038:0010 _strcpy
+ 0038:0076 _strlen
+ 03DF:0318 _theTable
+ 004C:37C6 _UnicodeToAscii
+ 000E:00B4 _UnloadModR
+ 0000:0000 Abs __ACRTUSED
+ 0000:0000 Abs __ADBUSED
+ 0000:1000 Abs __AHINCR
+ 0000:000C Abs __AHSHIFT
+ 0038:0094 __catox
+ 03DF:063C __edata
+ 03DF:0670 __end
+ 03DF:0410 __NsAllocatorInitialized
+ 03DF:0316 __rpc_hostDS
+
+ Address Publics by Value
+
+ 0000:0000 Unr I_GETDEFAULTENTRYSYNTAX
+ 0000:0000 NETGETDCNAME
+ 0000:0000 Abs __ACRTUSED
+ 0000:0000 Abs __ADBUSED
+ 0000:0007 NETSERVERENUM2
+ 0000:000C Abs __AHSHIFT
+ 0000:000E NETWKSTAGETINFO
+ 0000:0015 DOSMAKEMAILSLOT
+ 0000:001C DOSREADMAILSLOT
+ 0000:0023 DOSWRITEMAILSLOT
+ 0000:002A DOSDELETEMAILSLOT
+ 0000:0031 _RpcNsLmDiscard
+ 000E:0006 _DOSDLLInit
+ 000E:004C _ExportInit
+ 000E:0069 _CallExport
+ 000E:0087 _GetExportTableVersion
+ 000E:00A5 I_DOSATEXIT
+ 000E:00AA _GETENV
+ 000E:00AF _LoadModR
+ 000E:00B4 _UnloadModR
+ 000E:00B9 _GetProcAddrR
+ 000E:00BE I_RPCTRANSCLIENTREALLOCBUFFER
+ 000E:00C3 RPCGETEXCEPTIONHANDLER
+ 000E:00C8 RPCSETEXCEPTIONHANDLER
+ 000E:00CD RPCLEAVEEXCEPTION
+ 000E:00D2 RPCBINDINGCOPY
+ 000E:00D7 RPCSTRINGBINDINGCOMPOSE
+ 000E:00DC RPCSTRINGBINDINGPARSE
+ 000E:00E1 RPCBINDINGTOSTRINGBINDING
+ 000E:00E6 RPCBINDINGFROMSTRINGBINDING
+ 000E:00EC RPCBINDINGVECTORFREE
+ 000E:00F2 RPCBINDINGFREE
+ 000E:00F8 RPCSTRINGFREE
+ 000E:00FE I_RPCALLOCATE
+ 000E:0104 I_RPCFREE
+ 000E:010A I_RPCFREEBUFFER
+ 000E:0110 I_RPCGETBUFFER
+ 000E:0116 I_RPCSENDRECEIVE
+ 000E:011C I_RPCNSBINDINGSETENTRYNAME
+ 000E:0122 RPCREGOPENKEY
+ 000E:0128 RPCREGCREATEKEY
+ 000E:012E RPCREGCLOSEKEY
+ 000E:0134 RPCREGSETVALUE
+ 000E:013A RPCREGQUERYVALUE
+ 000E:0140 NDRCCONTEXTBINDING
+ 000E:0146 NDRCCONTEXTMARSHALL
+ 000E:014C NDRCCONTEXTUNMARSHALL
+ 000E:0152 RPCSSDESTROYCLIENTCONTEXT
+ 000E:0158 I_RPCTRANSCLIENTMAXFRAG
+ 000E:015E NDRPOINTERUNMARSHALL
+ 000E:0164 NDRCLIENTCONTEXTMARSHALL
+ 000E:016A NDRPOINTERMARSHALL
+ 000E:0170 NDRFREEBUFFER
+ 000E:0176 NDRGETBUFFER
+ 000E:017C NDRPOINTERBUFFERSIZE
+ 000E:0182 NDRCONVERT
+ 000E:0188 NDRCLIENTINITIALIZE
+ 000E:018E NDRCLIENTINITIALIZENEW
+ 000E:0194 NDRCLIENTCONTEXTUNMARSHALL
+ 000E:019A NDRSENDRECEIVE
+ 000E:01A0 EXPORTTIME
+ 000E:01A6 I_RPCREGISTEREDBUFFERALLOCATE
+ 000E:01AC I_RPCREGISTEREDBUFFERFREE
+ 000E:01B2 I_NSGETMEMORYALLOCATOR
+ 000E:01B8 NDRSIMPLESTRUCTMARSHALL
+ 000E:01BE NDRSIMPLESTRUCTBUFFERSIZE
+ 002A:0004 RPCSETEXCEPTION
+ 002A:0043 RPCRAISEEXCEPTION
+ 0032:000C NSALLOCATORSETUP
+ 0032:0028 MIDL_USER_ALLOCATE
+ 0032:0041 MIDL_USER_FREE
+ 0038:0010 _strcpy
+ 0038:004C _strcmp
+ 0038:0076 _strlen
+ 0038:0090 _atoi
+ 0038:0094 __catox
+ 0038:00EA _memset
+ 004C:0000 ?RpcNsGroupDeleteW@@ZCGKPEG@Z
+ 004C:008E ?RpcNsGroupMbrAddW@@ZCGKPEGK0@Z
+ 004C:0140 ?RpcNsGroupMbrRemoveW@@ZCGKPEGK0@Z
+ 004C:01F2 ?RpcNsGroupMbrInqBeginW@@ZCGKPEGKPEPEX@Z
+ 004C:02B0 ?RpcNsGroupMbrInqNextW@@ZCGPEXPEPEG@Z
+ 004C:0324 RPCNSGROUPMBRINQDONE
+ 004C:0386 ?RpcNsEntryObjectInqBeginW@@ZCGKPEGPEPEX@Z
+ 004C:0426 RPCNSENTRYOBJECTINQNEXT
+ 004C:048E RPCNSENTRYOBJECTINQDONE
+ 004C:04F0 RPCNSMGMTINQEXPAGE
+ 004C:0564 RPCNSMGMTSETEXPAGE
+ 004C:05D8 ?RpcNsEntryExpandNameW@@ZCGKPEGPEPEG@Z
+ 004C:066C ?RpcNsMgmtBindingUnexportW@@ZCGKPEGPEU_RPC_IF_ID@@KPEU_UUID_VECTOR@@@Z
+ 004C:0710 ?RpcNsMgmtEntryCreateW@@ZCGKPEG@Z
+ 004C:079E ?RpcNsMgmtEntryDeleteW@@ZCGKPEG@Z
+ 004C:082C ?RpcNsMgmtEntryInqIfIdsW@@ZCGKPEGPEPEURPC_IF_ID_VECTOR@@@Z
+ 004C:08D0 RPCIFIDVECTORFREE
+ 004C:096C ?RpcNsProfileDeleteW@@ZCGKPEG@Z
+ 004C:09FA ?RpcNsProfileEltAddW@@ZCGKPEGPEU_RPC_IF_ID@@K0K0@Z
+ 004C:0ABE ?RpcNsProfileEltRemoveW@@ZCGKPEGPEU_RPC_IF_ID@@K0@Z
+ 0000:1000 Abs __AHINCR
+ 004C:0B76 ?RpcNsProfileEltInqBeginW@@ZCGKPEGKPEU_RPC_IF_ID@@KK0PEPEX@Z
+ 004C:0C40 ?RpcNsProfileEltInqNextW@@ZCGPEXPEU_RPC_IF_ID@@PEPEGPEK2@Z
+ 004C:0CBA RPCNSPROFILEELTINQDONE
+ 004C:0D1C RPCNSGROUPDELETEA
+ 004C:0D84 RPCNSGROUPMBRADDA
+ 004C:0E30 RPCNSGROUPMBRREMOVEA
+ 004C:0EDC RPCNSGROUPMBRINQBEGINA
+ 004C:0F50 RPCNSGROUPMBRINQNEXTA
+ 004C:0F8A RPCNSENTRYOBJECTINQBEGINA
+ 004C:0FF8 RPCNSENTRYEXPANDNAMEA
+ 004C:1080 RPCNSMGMTBINDINGUNEXPORTA
+ 004C:10FA RPCNSMGMTENTRYCREATEA
+ 004C:1162 RPCNSMGMTENTRYDELETEA
+ 004C:11CA RPCNSMGMTENTRYINQIFIDSA
+ 004C:1238 RPCNSPROFILEDELETEA
+ 004C:12A0 RPCNSPROFILEELTADDA
+ 004C:1396 RPCNSPROFILEELTREMOVEA
+ 004C:1448 RPCNSPROFILEELTINQBEGINA
+ 004C:150C RPCNSPROFILEELTINQNEXTA
+ 004C:1572 _nsi_group_delete
+ 004C:167A _nsi_group_mbr_add
+ 004C:17D8 _nsi_group_mbr_remove
+ 004C:1936 _nsi_group_mbr_inq_begin
+ 004C:1A80 _nsi_group_mbr_inq_next
+ 004C:1B88 _nsi_group_mbr_inq_done
+ 004C:1C72 _nsi_profile_delete
+ 004C:1D7A _nsi_profile_elt_add
+ 004C:1F5A _nsi_profile_elt_remove
+ 004C:20E2 _nsi_profile_elt_inq_begin
+ 004C:22D0 _nsi_profile_elt_inq_next
+ 004C:2466 _nsi_profile_elt_inq_done
+ 004C:2550 _nsi_entry_object_inq_begin
+ 004C:266E _nsi_entry_object_inq_next
+ 004C:27A6 _nsi_entry_object_inq_done
+ 004C:2890 _nsi_entry_expand_name
+ 004C:29C6 _nsi_mgmt_binding_unexport
+ 004C:2B4E _nsi_mgmt_entry_delete
+ 004C:2C56 _nsi_mgmt_entry_create
+ 004C:2D5E _nsi_mgmt_entry_inq_if_ids
+ 004C:2E94 _nsi_mgmt_inq_exp_age
+ 004C:2F58 _nsi_mgmt_inq_set_age
+ 004C:3014 _RegGetString
+ 004C:30FC I_NSCLIENTBINDSEARCH
+ 004C:3484 I_NSCLIENTBINDDONE
+ 004C:3550 _BroadcastAQuery
+ 004C:3680 ??_C@_0BE@JFMA@?2?2?$CK?2mailslot?2Resp_s?$AA@
+ 004C:3694 ??_C@_0BB@EHCE@?2mailslot?2Resp_c?$AA@
+ 004C:36A6 ??_C@_0CD@LHG@Software?2Microsoft?2Rpc?2NameServi@
+ 004C:36CA ??_C@_08OBCM@Protocol?$AA@
+ 004C:36D4 ??_C@_0P@NOEJ@NetworkAddress?$AA@
+ 004C:36E4 ??_C@_08GAHO@Endpoint?$AA@
+ 004C:36EE ??_C@_0O@MCEM@?2pipe?2locator?$AA@
+ 004C:36FC _MapException
+ 004C:372A ??0WIDE_STRING@@REC@PEE@Z
+ 004C:37C6 _UnicodeToAscii
+ 004C:380E ??2@ZAPEXI@Z
+ 004C:381C ??3@ZAXPEX@Z
+ 004C:382C _CallExportInit
+ 004C:382E _CopyString
+ 004C:3870 _GetDefaultEntrys
+ 004C:391A ??_C@_0O@JCMN@DefaultSyntax?$AA@
+ 004C:3928 ??_C@_0N@NHGH@DefaultEntry?$AA@
+ 03DF:0044 _NsiM_ClientIfHandle
+ 03DF:025E _DefaultSyntax
+ 03DF:0262 ?MailslotName@@3PEDE
+ 03DF:0266 ?LocalMS@@3PEDE
+ 03DF:030C _errno
+ 03DF:0316 __rpc_hostDS
+ 03DF:0318 _theTable
+ 03DF:03E0 _NsiToRpcStatus
+ 03DF:0410 __NsAllocatorInitialized
+ 03DF:063C _edata
+ 03DF:063C __edata
+ 03DF:0640 _NsiClntBinding
+ 03DF:0644 _DefaultName
+ 03DF:0648 _fSyntaxDefaultsLoaded
+ 03DF:064A ?NsiStringBinding@@3PEEE
+ 03DF:0670 _end
+ 03DF:0670 __end
+
+Program entry point at 000E:0006
diff --git a/public/sdk/rpc16/dos/dll/rpcnsmgm.rpc b/public/sdk/rpc16/dos/dll/rpcnsmgm.rpc
new file mode 100644
index 000000000..51e4aa733
--- /dev/null
+++ b/public/sdk/rpc16/dos/dll/rpcnsmgm.rpc
Binary files differ
diff --git a/public/sdk/rpc16/dos/dll/security.map b/public/sdk/rpc16/dos/dll/security.map
new file mode 100644
index 000000000..d8f3d0276
--- /dev/null
+++ b/public/sdk/rpc16/dos/dll/security.map
@@ -0,0 +1,353 @@
+LINK : warning L4021: no stack segment
+
+ Start Stop Length Name Class
+ 00000H 00000H 00000H NTLMSSP_TEXT CODE
+ 00000H 00000H 00000H ALLOC_TEXT CODE
+ 00000H 00000H 00000H SSPSTRNG_TEXT CODE
+ 00000H 00000H 00000H CACHE_TEXT CODE
+ 00000H 00000H 00000H CONTEXT_TEXT CODE
+ 00000H 00000H 00000H CRED_TEXT CODE
+ 00000H 00000H 00000H OWF_TEXT CODE
+ 00000H 00000H 00000H RESPONSE_TEXT CODE
+ 00000H 000CFH 000D0H ECB_TEXT CODE
+ 000D0H 0063FH 00570H DES_TEXT CODE
+ 00640H 00640H 00000H DEBUG_TEXT CODE
+ 00640H 00640H 00000H TICKS_TEXT CODE
+ 00640H 00640H 00000H GETUSER_TEXT CODE
+ 00640H 007FDH 001BEH SECLT_TEXT CODE
+ 007FEH 007FEH 00000H CRC32_TEXT CODE
+ 007FEH 00A04H 00207H RC4C_TEXT CODE
+ 00A06H 00C11H 0020CH _TEXT CODE
+ 00C20H 02D4CH 0212DH COMDAT_SEG1 CODE
+ 02D50H 03177H 00428H FAR_BSS FAR_BSS
+ 03178H 03A4DH 008D6H _DATA DATA
+ 03A4EH 03A6FH 00022H STRINGSEGMENT DATA
+ 03A70H 03A70H 00000H XIFB DATA
+ 03A70H 03A70H 00000H XIF DATA
+ 03A70H 03A70H 00000H XIFE DATA
+ 03A70H 03A7FH 00010H CONST CONST
+ 03A80H 03A80H 00000H _BSS BSS
+ 03A80H 03A80H 00000H c_common BSS
+
+ Origin Group
+ 0317:0 DGROUP
+
+ Address Publics by Name
+
+ 00C2:1CC6 ??_C@_04KIKH@none?$AA@
+ 00C2:15DE ??_C@_04PJIL@NTLM?$AA@
+ 00C2:15FA ??_C@_07LBGP@NTLMSSP?$AA@
+ 00C2:1FE8 ??_C@_08OLPO@KGS?$CB?$EA?$CD$?$CF?$AA@
+ 00C2:1CCC ??_C@_09CIPE@WORKGROUP?$AA@
+ 00C2:15E4 ??_C@_0BG@FFCA@NTLM?5Security?5Package?$AA@
+ 00C2:0176 ACQUIRECREDENTIALSHANDLEA
+ 00C2:0D5A APPLYCONTROLTOKEN
+ 00C2:15D0 COMPLETEAUTHTOKEN
+ 00C2:0CE6 DELETESECURITYCONTEXT
+ 00C2:0140 ENUMERATESECURITYPACKAGESA
+ 0064:019A EXPORTTIME
+ 00C2:0D3C FREECONTEXTBUFFER
+ 00C2:026E FREECREDENTIALSHANDLE
+ 00C2:0A96 INITIALIZESECURITYCONTEXTA
+ 00C2:0000 INITSECURITYINTERFACEA
+ 0064:009F I_DOSATEXIT
+ 0064:01AC I_NSGETMEMORYALLOCATOR
+ 0064:00F8 I_RPCALLOCATE
+ 0064:00FE I_RPCFREE
+ 0064:0104 I_RPCFREEBUFFER
+ 0064:010A I_RPCGETBUFFER
+ 0064:0116 I_RPCNSBINDINGSETENTRYNAME
+ 0064:01A0 I_RPCREGISTEREDBUFFERALLOCATE
+ 0064:01A6 I_RPCREGISTEREDBUFFERFREE
+ 0064:0110 I_RPCSENDRECEIVE
+ 0064:0152 I_RPCTRANSCLIENTMAXFRAG
+ 0064:00B8 I_RPCTRANSCLIENTREALLOCBUFFER
+ 00C2:0DA4 MAKESIGNATURE
+ 0064:013A NDRCCONTEXTBINDING
+ 0064:0140 NDRCCONTEXTMARSHALL
+ 0064:0146 NDRCCONTEXTUNMARSHALL
+ 0064:015E NDRCLIENTCONTEXTMARSHALL
+ 0064:018E NDRCLIENTCONTEXTUNMARSHALL
+ 0064:0182 NDRCLIENTINITIALIZE
+ 0064:0188 NDRCLIENTINITIALIZENEW
+ 0064:017C NDRCONVERT
+ 0064:016A NDRFREEBUFFER
+ 0064:0170 NDRGETBUFFER
+ 0064:0176 NDRPOINTERBUFFERSIZE
+ 0064:0164 NDRPOINTERMARSHALL
+ 0064:0158 NDRPOINTERUNMARSHALL
+ 0064:0194 NDRSENDRECEIVE
+ 0064:01B8 NDRSIMPLESTRUCTBUFFERSIZE
+ 0064:01B2 NDRSIMPLESTRUCTMARSHALL
+ 00C2:0BB8 QUERYCONTEXTATTRIBUTESA
+ 00C2:0044 QUERYSECURITYPACKAGEINFOA
+ 0064:00CC RPCBINDINGCOPY
+ 0064:00EC RPCBINDINGFREE
+ 0064:00E0 RPCBINDINGFROMSTRINGBINDING
+ 0064:00DB RPCBINDINGTOSTRINGBINDING
+ 0064:00E6 RPCBINDINGVECTORFREE
+ 0064:00BD RPCGETEXCEPTIONHANDLER
+ 0064:00C7 RPCLEAVEEXCEPTION
+ 0064:0128 RPCREGCLOSEKEY
+ 0064:0122 RPCREGCREATEKEY
+ 0064:011C RPCREGOPENKEY
+ 0064:0134 RPCREGQUERYVALUE
+ 0064:012E RPCREGSETVALUE
+ 0064:00C2 RPCSETEXCEPTIONHANDLER
+ 0064:014C RPCSSDESTROYCLIENTCONTEXT
+ 0064:00D1 RPCSTRINGBINDINGCOMPOSE
+ 0064:00D6 RPCSTRINGBINDINGPARSE
+ 0064:00F2 RPCSTRINGFREE
+ 00C2:11BC SEALMESSAGE
+ 00C2:13C8 UNSEALMESSAGE
+ 00C2:0F9C VERIFYSIGNATURE
+ 02D5:0040 _C
+ 00C2:16E8 _CacheGetPassword
+ 00C2:16E6 _CacheInitializeCache
+ 00C2:1740 _CacheSetCredentials
+ 00C2:1F2A _CalculateLmOwfPassword
+ 00C2:1FF2 _CalculateLmResponse
+ 0064:0063 _CallExport
+ 00C2:20CA _Crc32
+ 0317:03DC _CRCTable
+ 02D5:005C _D
+ 000D:0338 _des
+ 000D:03DA _desf
+ 000D:00FE _des_cipher
+ 0000:0000 _DES_ECB
+ 0000:0068 _DES_ECB_LM
+ 0064:0000 _DOSDLLInit
+ 0317:0168 _E
+ 0317:0910 _edata
+ 0317:0910 _end
+ 0317:03B8 _errno
+ 0064:0046 _ExportInit
+ 02D5:0078 _f
+ 0317:00B0 _FP
+ 0064:00A4 _GETENV
+ 0064:0081 _GetExportTableVersion
+ 00C2:0012 _GetPassword
+ 0064:00B3 _GETPROCADDRR
+ 000D:047C _InitLanManKey
+ 000D:04FC _InitNormalKey
+ 0317:0070 _IP
+ 02D5:0000 _KeyBuilder
+ 000D:0000 _key_table
+ 02D5:00D8 _KS
+ 02D5:0098 _L
+ 0064:00A9 _LOADMODR
+ 0317:0398 _P
+ 0317:00F0 _PC1_C
+ 0317:010C _PC1_D
+ 0317:0138 _PC2_C
+ 0317:0150 _PC2_D
+ 02D5:03D8 _preS
+ 007F:0120 _rc4
+ 007F:000E _rc4_key
+ 0317:0198 _S
+ 000D:02D2 _setkey
+ 0317:0128 _shifts
+ 00C2:1602 _SspAlloc
+ 0000:0000 Unr _SspAllocateString
+ 00C2:1620 _SspAllocateStringBlock
+ 00C2:1D70 _SspContextAllocateContext
+ 00C2:1D0A _SspContextDereferenceContext
+ 00C2:1DD2 _SspContextGetTimeStamp
+ 00C2:1CD6 _SspContextReferenceContext
+ 0000:0000 Unr _SspCopyString
+ 00C2:1694 _SspCopyStringFromRaw
+ 00C2:1E14 _SspCredentialAllocateCredential
+ 00C2:1E94 _SspCredentialDereferenceCredential
+ 00C2:1E60 _SspCredentialReferenceCredential
+ 00C2:1610 _SspFree
+ 0000:0000 Unr _SspFreeString
+ 00C2:02BC _SspGetTokenBuffer
+ 00C2:20C6 _SspGetWorkstation
+ 00C2:04F6 _SspHandleChallengeMessage
+ 00C2:0370 _SspHandleFirstCall
+ 00C2:0D68 _SsprGenCheckSum
+ 00C2:20B4 _SspTicks
+ 0000:0000 Unr _SspTimeHasElapsed
+ 02D5:0408 _tempL
+ 0317:03C4 _theTable
+ 0064:00AE _UNLOADMODR
+ 0000:0000 Abs __ACRTUSED
+ 0000:0000 Abs __ADBUSED
+ 00A0:0016 __aFlmul
+ 00A0:0016 __aFulmul
+ 00A0:0048 __aFulshr
+ 0000:1000 Abs __AHINCR
+ 0000:000C Abs __AHSHIFT
+ 0317:07DC __ctype
+ 0317:07DC __ctype_
+ 0317:0910 __edata
+ 0317:0910 __end
+ 00A0:0054 __fmemcmp
+ 00A0:00B0 __fmemcpy
+ 00A0:01CA __fmemset
+ 00A0:0164 __fstrcmp
+ 00A0:018E __fstrcpy
+ 00A0:014A __fstrlen
+ 00A0:010E __fstrncmp
+ 0317:03C2 __rpc_hostDS
+
+ Address Publics by Value
+
+ 0000:0000 Abs __ADBUSED
+ 0000:0000 Unr _SspAllocateString
+ 0000:0000 _DES_ECB
+ 0000:0000 Abs __ACRTUSED
+ 0000:0000 Unr _SspFreeString
+ 0000:0000 Unr _SspCopyString
+ 0000:0000 Unr _SspTimeHasElapsed
+ 0000:000C Abs __AHSHIFT
+ 0000:0068 _DES_ECB_LM
+ 000D:0000 _key_table
+ 000D:00FE _des_cipher
+ 000D:02D2 _setkey
+ 000D:0338 _des
+ 000D:03DA _desf
+ 000D:047C _InitLanManKey
+ 000D:04FC _InitNormalKey
+ 0064:0000 _DOSDLLInit
+ 0064:0046 _ExportInit
+ 0064:0063 _CallExport
+ 0064:0081 _GetExportTableVersion
+ 0064:009F I_DOSATEXIT
+ 0064:00A4 _GETENV
+ 0064:00A9 _LOADMODR
+ 0064:00AE _UNLOADMODR
+ 0064:00B3 _GETPROCADDRR
+ 0064:00B8 I_RPCTRANSCLIENTREALLOCBUFFER
+ 0064:00BD RPCGETEXCEPTIONHANDLER
+ 0064:00C2 RPCSETEXCEPTIONHANDLER
+ 0064:00C7 RPCLEAVEEXCEPTION
+ 0064:00CC RPCBINDINGCOPY
+ 0064:00D1 RPCSTRINGBINDINGCOMPOSE
+ 0064:00D6 RPCSTRINGBINDINGPARSE
+ 0064:00DB RPCBINDINGTOSTRINGBINDING
+ 0064:00E0 RPCBINDINGFROMSTRINGBINDING
+ 0064:00E6 RPCBINDINGVECTORFREE
+ 0064:00EC RPCBINDINGFREE
+ 0064:00F2 RPCSTRINGFREE
+ 0064:00F8 I_RPCALLOCATE
+ 0064:00FE I_RPCFREE
+ 0064:0104 I_RPCFREEBUFFER
+ 0064:010A I_RPCGETBUFFER
+ 0064:0110 I_RPCSENDRECEIVE
+ 0064:0116 I_RPCNSBINDINGSETENTRYNAME
+ 0064:011C RPCREGOPENKEY
+ 0064:0122 RPCREGCREATEKEY
+ 0064:0128 RPCREGCLOSEKEY
+ 0064:012E RPCREGSETVALUE
+ 0064:0134 RPCREGQUERYVALUE
+ 0064:013A NDRCCONTEXTBINDING
+ 0064:0140 NDRCCONTEXTMARSHALL
+ 0064:0146 NDRCCONTEXTUNMARSHALL
+ 0064:014C RPCSSDESTROYCLIENTCONTEXT
+ 0064:0152 I_RPCTRANSCLIENTMAXFRAG
+ 0064:0158 NDRPOINTERUNMARSHALL
+ 0064:015E NDRCLIENTCONTEXTMARSHALL
+ 0064:0164 NDRPOINTERMARSHALL
+ 0064:016A NDRFREEBUFFER
+ 0064:0170 NDRGETBUFFER
+ 0064:0176 NDRPOINTERBUFFERSIZE
+ 0064:017C NDRCONVERT
+ 0064:0182 NDRCLIENTINITIALIZE
+ 0064:0188 NDRCLIENTINITIALIZENEW
+ 0064:018E NDRCLIENTCONTEXTUNMARSHALL
+ 0064:0194 NDRSENDRECEIVE
+ 0064:019A EXPORTTIME
+ 0064:01A0 I_RPCREGISTEREDBUFFERALLOCATE
+ 0064:01A6 I_RPCREGISTEREDBUFFERFREE
+ 0064:01AC I_NSGETMEMORYALLOCATOR
+ 0064:01B2 NDRSIMPLESTRUCTMARSHALL
+ 0064:01B8 NDRSIMPLESTRUCTBUFFERSIZE
+ 007F:000E _rc4_key
+ 007F:0120 _rc4
+ 00A0:0016 __aFulmul
+ 00A0:0016 __aFlmul
+ 00A0:0048 __aFulshr
+ 00A0:0054 __fmemcmp
+ 00A0:00B0 __fmemcpy
+ 00A0:010E __fstrncmp
+ 00A0:014A __fstrlen
+ 00A0:0164 __fstrcmp
+ 00A0:018E __fstrcpy
+ 00A0:01CA __fmemset
+ 00C2:0000 INITSECURITYINTERFACEA
+ 00C2:0012 _GetPassword
+ 00C2:0044 QUERYSECURITYPACKAGEINFOA
+ 00C2:0140 ENUMERATESECURITYPACKAGESA
+ 00C2:0176 ACQUIRECREDENTIALSHANDLEA
+ 00C2:026E FREECREDENTIALSHANDLE
+ 00C2:02BC _SspGetTokenBuffer
+ 00C2:0370 _SspHandleFirstCall
+ 0000:1000 Abs __AHINCR
+ 00C2:04F6 _SspHandleChallengeMessage
+ 00C2:0A96 INITIALIZESECURITYCONTEXTA
+ 00C2:0BB8 QUERYCONTEXTATTRIBUTESA
+ 00C2:0CE6 DELETESECURITYCONTEXT
+ 00C2:0D3C FREECONTEXTBUFFER
+ 00C2:0D5A APPLYCONTROLTOKEN
+ 00C2:0D68 _SsprGenCheckSum
+ 00C2:0DA4 MAKESIGNATURE
+ 00C2:0F9C VERIFYSIGNATURE
+ 00C2:11BC SEALMESSAGE
+ 00C2:13C8 UNSEALMESSAGE
+ 00C2:15D0 COMPLETEAUTHTOKEN
+ 00C2:15DE ??_C@_04PJIL@NTLM?$AA@
+ 00C2:15E4 ??_C@_0BG@FFCA@NTLM?5Security?5Package?$AA@
+ 00C2:15FA ??_C@_07LBGP@NTLMSSP?$AA@
+ 00C2:1602 _SspAlloc
+ 00C2:1610 _SspFree
+ 00C2:1620 _SspAllocateStringBlock
+ 00C2:1694 _SspCopyStringFromRaw
+ 00C2:16E6 _CacheInitializeCache
+ 00C2:16E8 _CacheGetPassword
+ 00C2:1740 _CacheSetCredentials
+ 00C2:1CC6 ??_C@_04KIKH@none?$AA@
+ 00C2:1CCC ??_C@_09CIPE@WORKGROUP?$AA@
+ 00C2:1CD6 _SspContextReferenceContext
+ 00C2:1D0A _SspContextDereferenceContext
+ 00C2:1D70 _SspContextAllocateContext
+ 00C2:1DD2 _SspContextGetTimeStamp
+ 00C2:1E14 _SspCredentialAllocateCredential
+ 00C2:1E60 _SspCredentialReferenceCredential
+ 00C2:1E94 _SspCredentialDereferenceCredential
+ 00C2:1F2A _CalculateLmOwfPassword
+ 00C2:1FE8 ??_C@_08OLPO@KGS?$CB?$EA?$CD$?$CF?$AA@
+ 00C2:1FF2 _CalculateLmResponse
+ 00C2:20B4 _SspTicks
+ 00C2:20C6 _SspGetWorkstation
+ 00C2:20CA _Crc32
+ 02D5:0000 _KeyBuilder
+ 02D5:0040 _C
+ 02D5:005C _D
+ 02D5:0078 _f
+ 02D5:0098 _L
+ 02D5:00D8 _KS
+ 02D5:03D8 _preS
+ 02D5:0408 _tempL
+ 0317:0070 _IP
+ 0317:00B0 _FP
+ 0317:00F0 _PC1_C
+ 0317:010C _PC1_D
+ 0317:0128 _shifts
+ 0317:0138 _PC2_C
+ 0317:0150 _PC2_D
+ 0317:0168 _E
+ 0317:0198 _S
+ 0317:0398 _P
+ 0317:03B8 _errno
+ 0317:03C2 __rpc_hostDS
+ 0317:03C4 _theTable
+ 0317:03DC _CRCTable
+ 0317:07DC __ctype
+ 0317:07DC __ctype_
+ 0317:0910 __end
+ 0317:0910 _edata
+ 0317:0910 __edata
+ 0317:0910 _end
+
+Program entry point at 0064:0000
diff --git a/public/sdk/rpc16/dos/dll/security.rpc b/public/sdk/rpc16/dos/dll/security.rpc
new file mode 100644
index 000000000..740922599
--- /dev/null
+++ b/public/sdk/rpc16/dos/dll/security.rpc
Binary files differ
diff --git a/public/sdk/rpc16/dos/inc/midles.h b/public/sdk/rpc16/dos/inc/midles.h
new file mode 100644
index 000000000..b64e4fe61
--- /dev/null
+++ b/public/sdk/rpc16/dos/inc/midles.h
@@ -0,0 +1,218 @@
+/*++
+
+Copyright (c) 1991-1996 Microsoft Corporation
+
+Module Name:
+
+ midles.h
+
+Abstract:
+
+ This module contains definitions needed for encoding/decoding
+ support (serializing/deserializing a.k.a. pickling).
+
+--*/
+
+#ifndef __MIDLES_H__
+#define __MIDLES_H__
+
+#include <rpcndr.h>
+
+//
+// Set the packing level for RPC structures for Dos and Windows.
+//
+
+#if defined(__RPC_DOS__) || defined(__RPC_WIN16__)
+#pragma pack(2)
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ * Pickling support
+ */
+typedef enum
+{
+ MES_ENCODE,
+ MES_DECODE,
+} MIDL_ES_CODE;
+
+typedef enum
+{
+ MES_INCREMENTAL_HANDLE,
+ MES_FIXED_BUFFER_HANDLE,
+ MES_DYNAMIC_BUFFER_HANDLE
+} MIDL_ES_HANDLE_STYLE;
+
+
+typedef void (__RPC_USER * MIDL_ES_ALLOC )
+ ( IN OUT void __RPC_FAR * state,
+ OUT char __RPC_FAR * __RPC_FAR * pbuffer,
+ IN OUT unsigned int __RPC_FAR * psize );
+
+typedef void (__RPC_USER * MIDL_ES_WRITE)
+ ( IN OUT void __RPC_FAR * state,
+ IN char __RPC_FAR * buffer,
+ IN unsigned int size );
+
+typedef void (__RPC_USER * MIDL_ES_READ)
+ ( IN OUT void __RPC_FAR * state,
+ OUT char __RPC_FAR * __RPC_FAR * pbuffer,
+ IN OUT unsigned int __RPC_FAR * psize );
+
+typedef struct _MIDL_ES_MESSAGE
+{
+ MIDL_STUB_MESSAGE StubMsg;
+ MIDL_ES_CODE Operation;
+ void __RPC_FAR * UserState;
+ unsigned long MesVersion:8;
+ unsigned long HandleStyle:8;
+ unsigned long HandleFlags:8;
+ unsigned long Reserve:8;
+ MIDL_ES_ALLOC Alloc;
+ MIDL_ES_WRITE Write;
+ MIDL_ES_READ Read;
+ unsigned char __RPC_FAR * Buffer;
+ unsigned long BufferSize;
+ unsigned char __RPC_FAR * __RPC_FAR * pDynBuffer;
+ unsigned long __RPC_FAR * pEncodedSize;
+ RPC_SYNTAX_IDENTIFIER InterfaceId;
+ unsigned long ProcNumber;
+ unsigned long AlienDataRep;
+ unsigned long IncrDataSize;
+ unsigned long ByteCount;
+} MIDL_ES_MESSAGE, __RPC_FAR * PMIDL_ES_MESSAGE;
+
+typedef PMIDL_ES_MESSAGE MIDL_ES_HANDLE;
+
+RPC_STATUS RPC_ENTRY
+MesEncodeIncrementalHandleCreate(
+ void __RPC_FAR * UserState,
+ MIDL_ES_ALLOC AllocFn,
+ MIDL_ES_WRITE WriteFn,
+ handle_t __RPC_FAR * pHandle );
+
+RPC_STATUS RPC_ENTRY
+MesDecodeIncrementalHandleCreate(
+ void __RPC_FAR * UserState,
+ MIDL_ES_READ ReadFn,
+ handle_t __RPC_FAR * pHandle );
+
+
+RPC_STATUS RPC_ENTRY
+MesIncrementalHandleReset(
+ handle_t Handle,
+ void __RPC_FAR * UserState,
+ MIDL_ES_ALLOC AllocFn,
+ MIDL_ES_WRITE WriteFn,
+ MIDL_ES_READ ReadFn,
+ MIDL_ES_CODE Operation );
+
+
+RPC_STATUS RPC_ENTRY
+MesEncodeFixedBufferHandleCreate(
+ char __RPC_FAR * pBuffer,
+ unsigned long BufferSize,
+ unsigned long __RPC_FAR * pEncodedSize,
+ handle_t __RPC_FAR * pHandle );
+
+RPC_STATUS RPC_ENTRY
+MesEncodeDynBufferHandleCreate(
+ char __RPC_FAR * __RPC_FAR * pBuffer,
+ unsigned long __RPC_FAR * pEncodedSize,
+ handle_t __RPC_FAR * pHandle );
+
+RPC_STATUS RPC_ENTRY
+MesDecodeBufferHandleCreate(
+ char __RPC_FAR * pBuffer,
+ unsigned long BufferSize,
+ handle_t __RPC_FAR * pHandle );
+
+
+RPC_STATUS RPC_ENTRY
+MesBufferHandleReset(
+ handle_t Handle,
+ unsigned long HandleStyle,
+ MIDL_ES_CODE Operation,
+ char __RPC_FAR * __RPC_FAR * pBuffer,
+ unsigned long BufferSize,
+ unsigned long __RPC_FAR * pEncodedSize );
+
+
+RPC_STATUS RPC_ENTRY
+MesHandleFree( handle_t Handle );
+
+RPC_STATUS RPC_ENTRY
+MesInqProcEncodingId(
+ handle_t Handle,
+ PRPC_SYNTAX_IDENTIFIER pInterfaceId,
+ unsigned long __RPC_FAR * pProcNum );
+
+
+#if defined(_MIPS_) || defined(_ALPHA_) || defined(_PPC_)
+#define __RPC_UNALIGNED __unaligned
+#else
+#define __RPC_UNALIGNED
+#endif
+
+void RPC_ENTRY I_NdrMesMessageInit( PMIDL_STUB_MESSAGE );
+
+size_t RPC_ENTRY
+NdrMesSimpleTypeAlignSize ( handle_t );
+
+void RPC_ENTRY
+NdrMesSimpleTypeDecode(
+ handle_t Handle,
+ void __RPC_FAR * pObject,
+ short Size );
+
+void RPC_ENTRY
+NdrMesSimpleTypeEncode(
+ handle_t Handle,
+ PMIDL_STUB_DESC pStubDesc,
+ void __RPC_FAR * pObject,
+ short Size );
+
+
+size_t RPC_ENTRY
+NdrMesTypeAlignSize(
+ handle_t Handle,
+ PMIDL_STUB_DESC pStubDesc,
+ PFORMAT_STRING pFormatString,
+ void __RPC_FAR * pObject );
+
+void RPC_ENTRY
+NdrMesTypeEncode(
+ handle_t Handle,
+ PMIDL_STUB_DESC pStubDesc,
+ PFORMAT_STRING pFormatString,
+ void __RPC_FAR * pObject );
+
+void RPC_ENTRY
+NdrMesTypeDecode(
+ handle_t Handle,
+ PMIDL_STUB_DESC pStubDesc,
+ PFORMAT_STRING pFormatString,
+ void __RPC_FAR * pObject );
+
+void RPC_VAR_ENTRY
+NdrMesProcEncodeDecode(
+ handle_t Handle,
+ PMIDL_STUB_DESC pStubDesc,
+ PFORMAT_STRING pFormatString,
+ ... );
+
+
+#ifdef __cplusplus
+}
+#endif
+
+// Reset the packing level for DOS and Windows.
+
+#if defined(__RPC_DOS__) || defined(__RPC_WIN16__)
+#pragma pack()
+#endif
+
+#endif /* __MIDLES_H__ */
diff --git a/public/sdk/rpc16/dos/inc/rpc.h b/public/sdk/rpc16/dos/inc/rpc.h
new file mode 100644
index 000000000..ba4dbed89
--- /dev/null
+++ b/public/sdk/rpc16/dos/inc/rpc.h
@@ -0,0 +1,64 @@
+/*++
+
+Copyright (c) 1991-1993 Microsoft Corporation
+
+Module Name:
+
+ rpc.h
+
+Abstract:
+
+ Master include file for RPC applications.
+
+--*/
+
+#ifndef __RPC_H__
+#define __RPC_H__
+
+// Set the packing level for RPC structures.
+
+#pragma warning( disable:4103 )
+#pragma pack(2)
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define __RPC_DOS__
+
+#ifndef __MIDL_USER_DEFINED
+#define midl_user_allocate MIDL_user_allocate
+#define midl_user_free MIDL_user_free
+#define __MIDL_USER_DEFINED
+#endif
+
+typedef unsigned short RPC_STATUS;
+
+// Added 2 words for DOS mail.
+#define RPCXCWORD 9
+
+#define __RPC_FAR __far
+#define __RPC_API __far __pascal
+#define __RPC_USER __far __pascal
+#define __RPC_STUB __far __pascal
+#define RPC_ENTRY __pascal __loadds __far
+
+typedef void _far * I_RPC_HANDLE;
+
+#include "rpcdce.h"
+#include "rpcnsi.h"
+#include "rpcerr.h"
+#include "rpcx86.h"
+
+#ifdef __cplusplus
+}
+#endif
+
+// Reset the packing level.
+
+#pragma pack()
+#pragma warning( default:4103 )
+
+#endif // __RPC_H__
+
+
diff --git a/public/sdk/rpc16/dos/inc/rpcdce.h b/public/sdk/rpc16/dos/inc/rpcdce.h
new file mode 100644
index 000000000..099457ea4
--- /dev/null
+++ b/public/sdk/rpc16/dos/inc/rpcdce.h
@@ -0,0 +1,1618 @@
+/*++
+
+Copyright (c) 1991-1996 Microsoft Corporation
+
+Module Name:
+
+ rpcdce.h
+
+Abstract:
+
+ This module contains the DCE RPC runtime APIs.
+
+--*/
+
+#ifndef __RPCDCE_H__
+#define __RPCDCE_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define IN
+#define OUT
+#define OPTIONAL
+
+/*typedef char small;*/
+/*typedef unsigned char byte;*/
+/*typedef unsigned char boolean;*/
+
+typedef I_RPC_HANDLE RPC_BINDING_HANDLE;
+typedef RPC_BINDING_HANDLE handle_t;
+#define rpc_binding_handle_t RPC_BINDING_HANDLE
+
+#ifndef GUID_DEFINED
+#define GUID_DEFINED
+typedef struct _GUID
+{
+ unsigned long Data1;
+ unsigned short Data2;
+ unsigned short Data3;
+ unsigned char Data4[8];
+} GUID;
+#endif /* GUID_DEFINED */
+
+#ifndef UUID_DEFINED
+#define UUID_DEFINED
+typedef GUID UUID;
+#ifndef uuid_t
+#define uuid_t UUID
+#endif
+#endif
+
+typedef struct _RPC_BINDING_VECTOR
+{
+ unsigned long Count;
+ RPC_BINDING_HANDLE BindingH[1];
+} RPC_BINDING_VECTOR;
+#ifndef rpc_binding_vector_t
+#define rpc_binding_vector_t RPC_BINDING_VECTOR
+#endif
+
+typedef struct _UUID_VECTOR
+{
+ unsigned long Count;
+ UUID *Uuid[1];
+} UUID_VECTOR;
+#ifndef uuid_vector_t
+#define uuid_vector_t UUID_VECTOR
+#endif
+
+typedef void __RPC_FAR * RPC_IF_HANDLE;
+
+#ifndef IFID_DEFINED
+#define IFID_DEFINED
+typedef struct _RPC_IF_ID
+{
+ UUID Uuid;
+ unsigned short VersMajor;
+ unsigned short VersMinor;
+} RPC_IF_ID;
+#endif
+
+#define RPC_C_BINDING_INFINITE_TIMEOUT 10
+#define RPC_C_BINDING_MIN_TIMEOUT 0
+#define RPC_C_BINDING_DEFAULT_TIMEOUT 5
+#define RPC_C_BINDING_MAX_TIMEOUT 9
+
+#define RPC_C_CANCEL_INFINITE_TIMEOUT -1
+
+#define RPC_C_LISTEN_MAX_CALLS_DEFAULT 1234
+#define RPC_C_PROTSEQ_MAX_REQS_DEFAULT 10
+
+#define RPC_C_BIND_TO_ALL_NICS 1
+#define RPC_C_USE_INTERNET_PORT 1
+#define RPC_C_USE_INTRANET_PORT 2
+
+#ifdef RPC_UNICODE_SUPPORTED
+typedef struct _RPC_PROTSEQ_VECTORA
+{
+ unsigned int Count;
+ unsigned char __RPC_FAR * Protseq[1];
+} RPC_PROTSEQ_VECTORA;
+
+typedef struct _RPC_PROTSEQ_VECTORW
+{
+ unsigned int Count;
+ unsigned short __RPC_FAR * Protseq[1];
+} RPC_PROTSEQ_VECTORW;
+
+#ifdef UNICODE
+#define RPC_PROTSEQ_VECTOR RPC_PROTSEQ_VECTORW
+#else /* UNICODE */
+#define RPC_PROTSEQ_VECTOR RPC_PROTSEQ_VECTORA
+#endif /* UNICODE */
+
+#else /* RPC_UNICODE_SUPPORTED */
+
+typedef struct _RPC_PROTSEQ_VECTOR
+{
+ unsigned int Count;
+ unsigned char __RPC_FAR * Protseq[1];
+} RPC_PROTSEQ_VECTOR;
+
+#endif /* RPC_UNICODE_SUPPORTED */
+typedef struct _RPC_POLICY {
+ unsigned int Length ;
+ unsigned long EndpointFlags ;
+ unsigned long NICFlags ;
+ } RPC_POLICY, __RPC_FAR *PRPC_POLICY ;
+
+typedef void __RPC_USER
+RPC_OBJECT_INQ_FN (
+ IN UUID __RPC_FAR * ObjectUuid,
+ OUT UUID __RPC_FAR * TypeUuid,
+ OUT RPC_STATUS __RPC_FAR * Status
+ );
+
+typedef RPC_STATUS
+RPC_IF_CALLBACK_FN (
+ IN RPC_IF_HANDLE InterfaceUuid,
+ IN void *Context
+ ) ;
+
+#define RPC_MGR_EPV void
+
+typedef struct
+{
+ unsigned int Count;
+ unsigned long Stats[1];
+} RPC_STATS_VECTOR;
+
+#define RPC_C_STATS_CALLS_IN 0
+#define RPC_C_STATS_CALLS_OUT 1
+#define RPC_C_STATS_PKTS_IN 2
+#define RPC_C_STATS_PKTS_OUT 3
+
+typedef struct
+{
+ unsigned long Count;
+ RPC_IF_ID __RPC_FAR * IfId[1];
+} RPC_IF_ID_VECTOR;
+
+/* client */
+RPC_STATUS RPC_ENTRY
+RpcBindingCopy (
+ IN RPC_BINDING_HANDLE SourceBinding,
+ OUT RPC_BINDING_HANDLE __RPC_FAR * DestinationBinding
+ );
+
+/* client */
+RPC_STATUS RPC_ENTRY
+RpcBindingFree (
+ IN OUT RPC_BINDING_HANDLE __RPC_FAR * Binding
+ );
+
+/* client */
+
+#ifdef RPC_UNICODE_SUPPORTED
+
+RPC_STATUS RPC_ENTRY
+RpcBindingFromStringBindingA (
+ IN unsigned char __RPC_FAR * StringBinding,
+ OUT RPC_BINDING_HANDLE __RPC_FAR * Binding
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcBindingFromStringBindingW (
+ IN unsigned short __RPC_FAR * StringBinding,
+ OUT RPC_BINDING_HANDLE __RPC_FAR * Binding
+ );
+
+#ifdef UNICODE
+#define RpcBindingFromStringBinding RpcBindingFromStringBindingW
+#else /* UNICODE */
+#define RpcBindingFromStringBinding RpcBindingFromStringBindingA
+#endif /* UNICODE */
+
+#else /* RPC_UNICODE_SUPPORTED */
+
+RPC_STATUS RPC_ENTRY
+RpcBindingFromStringBinding (
+ IN unsigned char __RPC_FAR * StringBinding,
+ OUT RPC_BINDING_HANDLE __RPC_FAR * Binding
+ );
+
+#endif /* RPC_UNICODE_SUPPORTED */
+
+/* client/server */
+RPC_STATUS RPC_ENTRY
+RpcBindingInqObject (
+ IN RPC_BINDING_HANDLE Binding,
+ OUT UUID __RPC_FAR * ObjectUuid
+ );
+
+/* client */
+RPC_STATUS RPC_ENTRY
+RpcBindingReset (
+ IN RPC_BINDING_HANDLE Binding
+ );
+
+/* RpcBindingServerFromClient : UNSUPPORTED */
+/* RpcBindingSetAuthInfo */
+
+/* client */
+RPC_STATUS RPC_ENTRY
+RpcBindingSetObject (
+ IN RPC_BINDING_HANDLE Binding,
+ IN UUID __RPC_FAR * ObjectUuid
+ );
+
+/* client/server */
+RPC_STATUS RPC_ENTRY
+RpcMgmtInqDefaultProtectLevel(
+ IN unsigned long AuthnSvc,
+ OUT unsigned long __RPC_FAR *AuthnLevel
+ );
+
+/* client/server */
+
+#ifdef RPC_UNICODE_SUPPORTED
+
+RPC_STATUS RPC_ENTRY
+RpcBindingToStringBindingA (
+ IN RPC_BINDING_HANDLE Binding,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * StringBinding
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcBindingToStringBindingW (
+ IN RPC_BINDING_HANDLE Binding,
+ OUT unsigned short __RPC_FAR * __RPC_FAR * StringBinding
+ );
+
+#ifdef UNICODE
+#define RpcBindingToStringBinding RpcBindingToStringBindingW
+#else /* UNICODE */
+#define RpcBindingToStringBinding RpcBindingToStringBindingA
+#endif /* UNICODE */
+
+#else /* RPC_UNICODE_SUPPORTED */
+
+RPC_STATUS RPC_ENTRY
+RpcBindingToStringBinding (
+ IN RPC_BINDING_HANDLE Binding,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * StringBinding
+ );
+
+#endif /* RPC_UNICODE_SUPPORTED */
+
+/* client/server */
+RPC_STATUS RPC_ENTRY
+RpcBindingVectorFree (
+ IN OUT RPC_BINDING_VECTOR __RPC_FAR * __RPC_FAR * BindingVector
+ );
+
+/* client/server */
+
+#ifdef RPC_UNICODE_SUPPORTED
+
+RPC_STATUS RPC_ENTRY
+RpcStringBindingComposeA (
+ IN unsigned char __RPC_FAR * ObjUuid OPTIONAL,
+ IN unsigned char __RPC_FAR * Protseq OPTIONAL,
+ IN unsigned char __RPC_FAR * NetworkAddr OPTIONAL,
+ IN unsigned char __RPC_FAR * Endpoint OPTIONAL,
+ IN unsigned char __RPC_FAR * Options OPTIONAL,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * StringBinding OPTIONAL
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcStringBindingComposeW (
+ IN unsigned short __RPC_FAR * ObjUuid OPTIONAL,
+ IN unsigned short __RPC_FAR * Protseq OPTIONAL,
+ IN unsigned short __RPC_FAR * NetworkAddr OPTIONAL,
+ IN unsigned short __RPC_FAR * Endpoint OPTIONAL,
+ IN unsigned short __RPC_FAR * Options OPTIONAL,
+ OUT unsigned short __RPC_FAR * __RPC_FAR * StringBinding OPTIONAL
+ );
+
+#ifdef UNICODE
+#define RpcStringBindingCompose RpcStringBindingComposeW
+#else /* UNICODE */
+#define RpcStringBindingCompose RpcStringBindingComposeA
+#endif /* UNICODE */
+
+#else /* RPC_UNICODE_SUPPORTED */
+
+RPC_STATUS RPC_ENTRY
+RpcStringBindingCompose (
+ IN unsigned char __RPC_FAR * ObjUuid OPTIONAL,
+ IN unsigned char __RPC_FAR * Protseq OPTIONAL,
+ IN unsigned char __RPC_FAR * NetworkAddr OPTIONAL,
+ IN unsigned char __RPC_FAR * Endpoint OPTIONAL,
+ IN unsigned char __RPC_FAR * Options OPTIONAL,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * StringBinding OPTIONAL
+ );
+
+#endif /* RPC_UNICODE_SUPPORTED */
+
+/* client/server */
+
+#ifdef RPC_UNICODE_SUPPORTED
+
+RPC_STATUS RPC_ENTRY
+RpcStringBindingParseA (
+ IN unsigned char __RPC_FAR * StringBinding,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * ObjUuid OPTIONAL,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * Protseq OPTIONAL,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * NetworkAddr OPTIONAL,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * Endpoint OPTIONAL,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * NetworkOptions OPTIONAL
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcStringBindingParseW (
+ IN unsigned short __RPC_FAR * StringBinding,
+ OUT unsigned short __RPC_FAR * __RPC_FAR * ObjUuid OPTIONAL,
+ OUT unsigned short __RPC_FAR * __RPC_FAR * Protseq OPTIONAL,
+ OUT unsigned short __RPC_FAR * __RPC_FAR * NetworkAddr OPTIONAL,
+ OUT unsigned short __RPC_FAR * __RPC_FAR * Endpoint OPTIONAL,
+ OUT unsigned short __RPC_FAR * __RPC_FAR * NetworkOptions OPTIONAL
+ );
+
+#ifdef UNICODE
+#define RpcStringBindingParse RpcStringBindingParseW
+#else /* UNICODE */
+#define RpcStringBindingParse RpcStringBindingParseA
+#endif /* UNICODE */
+
+#else /* RPC_UNICODE_SUPPORTED */
+
+RPC_STATUS RPC_ENTRY
+RpcStringBindingParse (
+ IN unsigned char __RPC_FAR * StringBinding,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * ObjUuid OPTIONAL,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * Protseq OPTIONAL,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * NetworkAddr OPTIONAL,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * Endpoint OPTIONAL,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * NetworkOptions OPTIONAL
+ );
+
+#endif /* RPC_UNICODE_SUPPORTED */
+
+/* client/server */
+
+#ifdef RPC_UNICODE_SUPPORTED
+
+RPC_STATUS RPC_ENTRY
+RpcStringFreeA (
+ IN OUT unsigned char __RPC_FAR * __RPC_FAR * String
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcStringFreeW (
+ IN OUT unsigned short __RPC_FAR * __RPC_FAR * String
+ );
+
+#ifdef UNICODE
+#define RpcStringFree RpcStringFreeW
+#else /* UNICODE */
+#define RpcStringFree RpcStringFreeA
+#endif /* UNICODE */
+
+#else /* RPC_UNICODE_SUPPORTED */
+
+RPC_STATUS RPC_ENTRY
+RpcStringFree (
+ IN OUT unsigned char __RPC_FAR * __RPC_FAR * String
+ );
+
+#endif /* RPC_UNICODE_SUPPORTED */
+
+/* client/server */
+RPC_STATUS RPC_ENTRY
+RpcIfInqId (
+ IN RPC_IF_HANDLE RpcIfHandle,
+ OUT RPC_IF_ID __RPC_FAR * RpcIfId
+ );
+
+/* client/server */
+
+#ifdef RPC_UNICODE_SUPPORTED
+
+RPC_STATUS RPC_ENTRY
+RpcNetworkIsProtseqValidA (
+ IN unsigned char __RPC_FAR * Protseq
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNetworkIsProtseqValidW (
+ IN unsigned short __RPC_FAR * Protseq
+ );
+
+#ifdef UNICODE
+#define RpcNetworkIsProtseqValid RpcNetworkIsProtseqValidW
+#else /* UNICODE */
+#define RpcNetworkIsProtseqValid RpcNetworkIsProtseqValidA
+#endif /* UNICODE */
+
+#else /* RPC_UNICODE_SUPPORTED */
+
+RPC_STATUS RPC_ENTRY
+RpcNetworkIsProtseqValid (
+ IN unsigned char __RPC_FAR * Protseq
+ );
+
+#endif /* RPC_UNICODE_SUPPORTED */
+
+/* client */
+RPC_STATUS RPC_ENTRY
+RpcMgmtInqComTimeout (
+ IN RPC_BINDING_HANDLE Binding,
+ OUT unsigned int __RPC_FAR * Timeout
+ );
+
+/* client */
+RPC_STATUS RPC_ENTRY
+RpcMgmtSetComTimeout (
+ IN RPC_BINDING_HANDLE Binding,
+ IN unsigned int Timeout
+ );
+
+/* client */
+RPC_STATUS RPC_ENTRY
+RpcMgmtSetCancelTimeout(
+ long Timeout
+ );
+
+
+/* server */
+
+#ifdef RPC_UNICODE_SUPPORTED
+
+RPC_STATUS RPC_ENTRY
+RpcNetworkInqProtseqsA (
+ OUT RPC_PROTSEQ_VECTORA __RPC_FAR * __RPC_FAR * ProtseqVector
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNetworkInqProtseqsW (
+ OUT RPC_PROTSEQ_VECTORW __RPC_FAR * __RPC_FAR * ProtseqVector
+ );
+
+#ifdef UNICODE
+#define RpcNetworkInqProtseqs RpcNetworkInqProtseqsW
+#else /* UNICODE */
+#define RpcNetworkInqProtseqs RpcNetworkInqProtseqsA
+#endif /* UNICODE */
+
+#else /* RPC_UNICODE_SUPPORTED */
+
+RPC_STATUS RPC_ENTRY
+RpcNetworkInqProtseqs (
+ OUT RPC_PROTSEQ_VECTOR __RPC_FAR * __RPC_FAR * ProtseqVector
+ );
+
+#endif /* RPC_UNICODE_SUPPORTED */
+
+/* server */
+RPC_STATUS RPC_ENTRY
+RpcObjectInqType (
+ IN UUID __RPC_FAR * ObjUuid,
+ OUT UUID __RPC_FAR * TypeUuid OPTIONAL
+ );
+
+/* server */
+RPC_STATUS RPC_ENTRY
+RpcObjectSetInqFn (
+ IN RPC_OBJECT_INQ_FN __RPC_FAR * InquiryFn
+ );
+
+/* server */
+RPC_STATUS RPC_ENTRY
+RpcObjectSetType (
+ IN UUID __RPC_FAR * ObjUuid,
+ IN UUID __RPC_FAR * TypeUuid OPTIONAL
+ );
+
+/* server */
+
+#ifdef RPC_UNICODE_SUPPORTED
+
+RPC_STATUS RPC_ENTRY
+RpcProtseqVectorFreeA (
+ IN OUT RPC_PROTSEQ_VECTORA __RPC_FAR * __RPC_FAR * ProtseqVector
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcProtseqVectorFreeW (
+ IN OUT RPC_PROTSEQ_VECTORW __RPC_FAR * __RPC_FAR * ProtseqVector
+ );
+
+#ifdef UNICODE
+#define RpcProtseqVectorFree RpcProtseqVectorFreeW
+#else /* UNICODE */
+#define RpcProtseqVectorFree RpcProtseqVectorFreeA
+#endif /* UNICODE */
+
+#else /* RPC_UNICODE_SUPPORTED */
+
+RPC_STATUS RPC_ENTRY
+RpcProtseqVectorFree (
+ IN OUT RPC_PROTSEQ_VECTOR __RPC_FAR * __RPC_FAR * ProtseqVector
+ );
+
+#endif /* RPC_UNICODE_SUPPORTED */
+
+/* server */
+RPC_STATUS RPC_ENTRY
+RpcServerInqBindings (
+ OUT RPC_BINDING_VECTOR __RPC_FAR * __RPC_FAR * BindingVector
+ );
+
+/* server */
+RPC_STATUS RPC_ENTRY
+RpcServerInqIf (
+ IN RPC_IF_HANDLE IfSpec,
+ IN UUID __RPC_FAR * MgrTypeUuid, OPTIONAL
+ OUT RPC_MGR_EPV __RPC_FAR * __RPC_FAR * MgrEpv
+ );
+
+/* server */
+RPC_STATUS RPC_ENTRY
+RpcServerListen (
+ IN unsigned int MinimumCallThreads,
+ IN unsigned int MaxCalls,
+ IN unsigned int DontWait
+ );
+
+/* server */
+RPC_STATUS RPC_ENTRY
+RpcServerRegisterIf (
+ IN RPC_IF_HANDLE IfSpec,
+ IN UUID __RPC_FAR * MgrTypeUuid OPTIONAL,
+ IN RPC_MGR_EPV __RPC_FAR * MgrEpv OPTIONAL
+ );
+
+/* server */
+RPC_STATUS RPC_ENTRY
+RpcServerRegisterIfEx (
+ IN RPC_IF_HANDLE IfSpec,
+ IN UUID __RPC_FAR * MgrTypeUuid,
+ IN RPC_MGR_EPV __RPC_FAR * MgrEpv,
+ IN unsigned int Flags,
+ IN unsigned int MaxCalls,
+ IN RPC_IF_CALLBACK_FN __RPC_FAR *IfCallback
+ );
+
+/* server */
+RPC_STATUS RPC_ENTRY
+RpcServerUnregisterIf (
+ IN RPC_IF_HANDLE IfSpec,
+ IN UUID __RPC_FAR * MgrTypeUuid, OPTIONAL
+ IN unsigned int WaitForCallsToComplete
+ );
+
+/* server */
+RPC_STATUS RPC_ENTRY
+RpcServerUseAllProtseqs (
+ IN unsigned int MaxCalls,
+ IN void __RPC_FAR * SecurityDescriptor OPTIONAL
+ );
+
+/* server */
+RPC_STATUS RPC_ENTRY
+RpcServerUseAllProtseqsEx (
+ IN unsigned int MaxCalls,
+ IN void __RPC_FAR * SecurityDescriptor,
+ IN PRPC_POLICY Policy
+ );
+
+/* server */
+RPC_STATUS RPC_ENTRY
+RpcServerUseAllProtseqsIf (
+ IN unsigned int MaxCalls,
+ IN RPC_IF_HANDLE IfSpec,
+ IN void __RPC_FAR * SecurityDescriptor OPTIONAL
+ );
+
+/* server */
+RPC_STATUS RPC_ENTRY
+RpcServerUseAllProtseqsIfEx (
+ IN unsigned int MaxCalls,
+ IN RPC_IF_HANDLE IfSpec,
+ IN void __RPC_FAR * SecurityDescriptor,
+ IN PRPC_POLICY Policy
+ );
+
+
+/* server */
+
+#ifdef RPC_UNICODE_SUPPORTED
+
+RPC_STATUS RPC_ENTRY
+RpcServerUseProtseqA (
+ IN unsigned char __RPC_FAR * Protseq,
+ IN unsigned int MaxCalls,
+ IN void __RPC_FAR * SecurityDescriptor OPTIONAL
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcServerUseProtseqExA (
+ IN unsigned char __RPC_FAR * Protseq,
+ IN unsigned int MaxCalls,
+ IN void __RPC_FAR * SecurityDescriptor,
+ IN PRPC_POLICY Policy
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcServerUseProtseqW (
+ IN unsigned short __RPC_FAR * Protseq,
+ IN unsigned int MaxCalls,
+ IN void __RPC_FAR * SecurityDescriptor OPTIONAL
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcServerUseProtseqExW (
+ IN unsigned short __RPC_FAR * Protseq,
+ IN unsigned int MaxCalls,
+ IN void __RPC_FAR * SecurityDescriptor,
+ IN PRPC_POLICY Policy
+ );
+
+#ifdef UNICODE
+#define RpcServerUseProtseq RpcServerUseProtseqW
+#define RpcServerUseProtseqEx RpcServerUseProtseqExW
+#else /* UNICODE */
+#define RpcServerUseProtseq RpcServerUseProtseqA
+#define RpcServerUseProtseqEx RpcServerUseProtseqExA
+#endif /* UNICODE */
+
+#else /* RPC_UNICODE_SUPPORTED */
+
+RPC_STATUS RPC_ENTRY
+RpcServerUseProtseq (
+ IN unsigned char __RPC_FAR * Protseq,
+ IN unsigned int MaxCalls,
+ IN void __RPC_FAR * SecurityDescriptor OPTIONAL
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcServerUseProtseqEx (
+ IN unsigned char __RPC_FAR * Protseq,
+ IN unsigned int MaxCalls,
+ IN void __RPC_FAR * SecurityDescriptor,
+ IN PRPC_POLICY Policy
+ );
+
+#endif /* RPC_UNICODE_SUPPORTED */
+
+/* server */
+
+#ifdef RPC_UNICODE_SUPPORTED
+
+RPC_STATUS RPC_ENTRY
+RpcServerUseProtseqEpA (
+ IN unsigned char __RPC_FAR * Protseq,
+ IN unsigned int MaxCalls,
+ IN unsigned char __RPC_FAR * Endpoint,
+ IN void __RPC_FAR * SecurityDescriptor OPTIONAL
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcServerUseProtseqEpExA (
+ IN unsigned char __RPC_FAR * Protseq,
+ IN unsigned int MaxCalls,
+ IN unsigned char __RPC_FAR * Endpoint,
+ IN void __RPC_FAR * SecurityDescriptor,
+ IN PRPC_POLICY Policy
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcServerUseProtseqEpW (
+ IN unsigned short __RPC_FAR * Protseq,
+ IN unsigned int MaxCalls,
+ IN unsigned short __RPC_FAR * Endpoint,
+ IN void __RPC_FAR * SecurityDescriptor OPTIONAL
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcServerUseProtseqEpExW (
+ IN unsigned short __RPC_FAR * Protseq,
+ IN unsigned int MaxCalls,
+ IN unsigned short __RPC_FAR * Endpoint,
+ IN void __RPC_FAR * SecurityDescriptor,
+ IN PRPC_POLICY Policy
+ );
+
+#ifdef UNICODE
+#define RpcServerUseProtseqEp RpcServerUseProtseqEpW
+#define RpcServerUseProtseqEpEx RpcServerUseProtseqEpExW
+#else /* UNICODE */
+#define RpcServerUseProtseqEp RpcServerUseProtseqEpA
+#define RpcServerUseProtseqEpEx RpcServerUseProtseqEpExA
+#endif /* UNICODE */
+
+#else /* RPC_UNICODE_SUPPORTED */
+
+RPC_STATUS RPC_ENTRY
+RpcServerUseProtseqEp (
+ IN unsigned char __RPC_FAR * Protseq,
+ IN unsigned int MaxCalls,
+ IN unsigned char __RPC_FAR * Endpoint,
+ IN void __RPC_FAR * SecurityDescriptor OPTIONAL
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcServerUseProtseqEpEx (
+ IN unsigned char __RPC_FAR * Protseq,
+ IN unsigned int MaxCalls,
+ IN unsigned char __RPC_FAR * Endpoint,
+ IN void __RPC_FAR * SecurityDescriptor,
+ IN PRPC_POLICY Policy
+ );
+
+#endif /* RPC_UNICODE_SUPPORTED */
+
+/* server */
+
+#ifdef RPC_UNICODE_SUPPORTED
+
+RPC_STATUS RPC_ENTRY
+RpcServerUseProtseqIfA (
+ IN unsigned char __RPC_FAR * Protseq,
+ IN unsigned int MaxCalls,
+ IN RPC_IF_HANDLE IfSpec,
+ IN void __RPC_FAR * SecurityDescriptor OPTIONAL
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcServerUseProtseqIfExA (
+ IN unsigned char __RPC_FAR * Protseq,
+ IN unsigned int MaxCalls,
+ IN RPC_IF_HANDLE IfSpec,
+ IN void __RPC_FAR * SecurityDescriptor,
+ IN PRPC_POLICY Policy
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcServerUseProtseqIfW (
+ IN unsigned short __RPC_FAR * Protseq,
+ IN unsigned int MaxCalls,
+ IN RPC_IF_HANDLE IfSpec,
+ IN void __RPC_FAR * SecurityDescriptor OPTIONAL
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcServerUseProtseqIfExW (
+ IN unsigned short __RPC_FAR * Protseq,
+ IN unsigned int MaxCalls,
+ IN RPC_IF_HANDLE IfSpec,
+ IN void __RPC_FAR * SecurityDescriptor,
+ IN PRPC_POLICY Policy
+ );
+
+#ifdef UNICODE
+#define RpcServerUseProtseqIf RpcServerUseProtseqIfW
+#define RpcServerUseProtseqIfEx RpcServerUseProtseqIfExW
+#else /* UNICODE */
+#define RpcServerUseProtseqIf RpcServerUseProtseqIfA
+#define RpcServerUseProtseqIfEx RpcServerUseProtseqIfExA
+#endif /* UNICODE */
+
+#else /* RPC_UNICODE_SUPPORTED */
+
+RPC_STATUS RPC_ENTRY
+RpcServerUseProtseqIf (
+ IN unsigned char __RPC_FAR * Protseq,
+ IN unsigned int MaxCalls,
+ IN RPC_IF_HANDLE IfSpec,
+ IN void __RPC_FAR * SecurityDescriptor OPTIONAL
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcServerUseProtseqIfEx (
+ IN unsigned char __RPC_FAR * Protseq,
+ IN unsigned int MaxCalls,
+ IN RPC_IF_HANDLE IfSpec,
+ IN void __RPC_FAR * SecurityDescriptor,
+ IN PRPC_POLICY Policy
+ );
+
+#endif /* RPC_UNICODE_SUPPORTED */
+
+/* server */
+RPC_STATUS RPC_ENTRY
+RpcMgmtStatsVectorFree (
+ IN RPC_STATS_VECTOR ** StatsVector
+ );
+
+/* server */
+RPC_STATUS RPC_ENTRY
+RpcMgmtInqStats (
+ IN RPC_BINDING_HANDLE Binding,
+ OUT RPC_STATS_VECTOR ** Statistics
+ );
+
+/* server */
+RPC_STATUS RPC_ENTRY
+RpcMgmtIsServerListening (
+ IN RPC_BINDING_HANDLE Binding
+ );
+
+/* server */
+RPC_STATUS RPC_ENTRY
+RpcMgmtStopServerListening (
+ IN RPC_BINDING_HANDLE Binding
+ );
+
+/* server */
+RPC_STATUS RPC_ENTRY
+RpcMgmtWaitServerListen (
+ void
+ );
+
+/* server */
+RPC_STATUS RPC_ENTRY
+RpcMgmtSetServerStackSize (
+ IN unsigned long ThreadStackSize
+ );
+
+/* server */
+void RPC_ENTRY
+RpcSsDontSerializeContext (
+ void
+ );
+
+/* client */
+RPC_STATUS RPC_ENTRY
+RpcMgmtEnableIdleCleanup (
+ void
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcMgmtInqIfIds (
+ IN RPC_BINDING_HANDLE Binding,
+ OUT RPC_IF_ID_VECTOR __RPC_FAR * __RPC_FAR * IfIdVector
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcIfIdVectorFree (
+ IN OUT RPC_IF_ID_VECTOR __RPC_FAR * __RPC_FAR * IfIdVector
+ );
+
+#ifdef RPC_UNICODE_SUPPORTED
+
+RPC_STATUS RPC_ENTRY
+RpcMgmtInqServerPrincNameA (
+ IN RPC_BINDING_HANDLE Binding,
+ IN unsigned long AuthnSvc,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * ServerPrincName
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcMgmtInqServerPrincNameW (
+ IN RPC_BINDING_HANDLE Binding,
+ IN unsigned long AuthnSvc,
+ OUT unsigned short __RPC_FAR * __RPC_FAR * ServerPrincName
+ );
+
+#ifdef UNICODE
+#define RpcMgmtInqServerPrincName RpcMgmtInqServerPrincNameW
+#else /* UNICODE */
+#define RpcMgmtInqServerPrincName RpcMgmtInqServerPrincNameA
+#endif /* UNICODE */
+
+#else /* RPC_UNICODE_SUPPORTED */
+
+RPC_STATUS RPC_ENTRY
+RpcMgmtInqServerPrincName (
+ IN RPC_BINDING_HANDLE Binding,
+ IN unsigned long AuthnSvc,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * ServerPrincName
+ );
+
+#endif /* RPC_UNICODE_SUPPORTED */
+
+#ifdef RPC_UNICODE_SUPPORTED
+
+RPC_STATUS RPC_ENTRY
+RpcServerInqDefaultPrincNameA (
+ IN unsigned long AuthnSvc,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * PrincName
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcServerInqDefaultPrincNameW (
+ IN unsigned long AuthnSvc,
+ OUT unsigned short __RPC_FAR * __RPC_FAR * PrincName
+ );
+
+#ifdef UNICODE
+#define RpcServerInqDefaultPrincName RpcServerInqDefaultPrincNameW
+#else /* UNICODE */
+#define RpcServerInqDefaultPrincName RpcServerInqDefaultPrincNameA
+#endif /* UNICODE */
+
+#else /* RPC_UNICODE_SUPPORTED */
+
+RPC_STATUS RPC_ENTRY
+RpcServerInqDefaultPrincName (
+ IN unsigned long AuthnSvc,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * PrincName
+ );
+
+#endif /* RPC_UNICODE_SUPPORTED */
+
+/* client */
+RPC_STATUS RPC_ENTRY
+RpcEpResolveBinding (
+ IN RPC_BINDING_HANDLE Binding,
+ IN RPC_IF_HANDLE IfSpec
+ );
+
+/* client */
+
+#ifdef RPC_UNICODE_SUPPORTED
+
+RPC_STATUS RPC_ENTRY
+RpcNsBindingInqEntryNameA (
+ IN RPC_BINDING_HANDLE Binding,
+ IN unsigned long EntryNameSyntax,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * EntryName
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsBindingInqEntryNameW (
+ IN RPC_BINDING_HANDLE Binding,
+ IN unsigned long EntryNameSyntax,
+ OUT unsigned short __RPC_FAR * __RPC_FAR * EntryName
+ );
+
+#ifdef UNICODE
+#define RpcNsBindingInqEntryName RpcNsBindingInqEntryNameW
+#else /* UNICODE */
+#define RpcNsBindingInqEntryName RpcNsBindingInqEntryNameA
+#endif /* UNICODE */
+
+#else /* RPC_UNICODE_SUPPORTED */
+
+RPC_STATUS RPC_ENTRY
+RpcNsBindingInqEntryName (
+ IN RPC_BINDING_HANDLE Binding,
+ IN unsigned long EntryNameSyntax,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * EntryName
+ );
+
+#endif /* RPC_UNICODE_SUPPORTED */
+
+typedef void __RPC_FAR * RPC_AUTH_IDENTITY_HANDLE;
+typedef void __RPC_FAR * RPC_AUTHZ_HANDLE;
+
+#define RPC_C_AUTHN_LEVEL_DEFAULT 0
+#define RPC_C_AUTHN_LEVEL_NONE 1
+#define RPC_C_AUTHN_LEVEL_CONNECT 2
+#define RPC_C_AUTHN_LEVEL_CALL 3
+#define RPC_C_AUTHN_LEVEL_PKT 4
+#define RPC_C_AUTHN_LEVEL_PKT_INTEGRITY 5
+#define RPC_C_AUTHN_LEVEL_PKT_PRIVACY 6
+
+#define RPC_C_IMP_LEVEL_ANONYMOUS 1
+#define RPC_C_IMP_LEVEL_IDENTIFY 2
+#define RPC_C_IMP_LEVEL_IMPERSONATE 3
+#define RPC_C_IMP_LEVEL_DELEGATE 4
+
+#define RPC_C_QOS_IDENTITY_STATIC 0
+#define RPC_C_QOS_IDENTITY_DYNAMIC 1
+
+#define RPC_C_QOS_CAPABILITIES_DEFAULT 0
+#define RPC_C_QOS_CAPABILITIES_MUTUAL_AUTH 1
+
+#define RPC_C_PROTECT_LEVEL_DEFAULT (RPC_C_AUTHN_LEVEL_DEFAULT)
+#define RPC_C_PROTECT_LEVEL_NONE (RPC_C_AUTHN_LEVEL_NONE)
+#define RPC_C_PROTECT_LEVEL_CONNECT (RPC_C_AUTHN_LEVEL_CONNECT)
+#define RPC_C_PROTECT_LEVEL_CALL (RPC_C_AUTHN_LEVEL_CALL)
+#define RPC_C_PROTECT_LEVEL_PKT (RPC_C_AUTHN_LEVEL_PKT)
+#define RPC_C_PROTECT_LEVEL_PKT_INTEGRITY (RPC_C_AUTHN_LEVEL_PKT_INTEGRITY)
+#define RPC_C_PROTECT_LEVEL_PKT_PRIVACY (RPC_C_AUTHN_LEVEL_PKT_PRIVACY)
+
+#define RPC_C_AUTHN_NONE 0
+#define RPC_C_AUTHN_DCE_PRIVATE 1
+#define RPC_C_AUTHN_DCE_PUBLIC 2
+#define RPC_C_AUTHN_DEC_PUBLIC 4
+#define RPC_C_AUTHN_WINNT 10
+#define RPC_C_AUTHN_DEFAULT 0xFFFFFFFFL
+
+#define RPC_C_SECURITY_QOS_VERSION 1L
+
+typedef struct _RPC_SECURITY_QOS {
+ unsigned long Version;
+ unsigned long Capabilities;
+ unsigned long IdentityTracking;
+ unsigned long ImpersonationType;
+} RPC_SECURITY_QOS, *PRPC_SECURITY_QOS;
+
+#if defined(__RPC_DOS__) || defined(__RPC_WIN16__)
+typedef struct _SEC_WINNT_AUTH_IDENTITY
+{
+ char __RPC_FAR *User;
+ char __RPC_FAR *Domain;
+ char __RPC_FAR *Password;
+} SEC_WINNT_AUTH_IDENTITY;
+#else
+
+
+#define SEC_WINNT_AUTH_IDENTITY_ANSI 0x1
+#define SEC_WINNT_AUTH_IDENTITY_UNICODE 0x2
+
+typedef struct _SEC_WINNT_AUTH_IDENTITY_W {
+ unsigned short __RPC_FAR *User;
+ unsigned long UserLength;
+ unsigned short __RPC_FAR *Domain;
+ unsigned long DomainLength;
+ unsigned short __RPC_FAR *Password;
+ unsigned long PasswordLength;
+ unsigned long Flags;
+} SEC_WINNT_AUTH_IDENTITY_W, *PSEC_WINNT_AUTH_IDENTITY_W;
+
+typedef struct _SEC_WINNT_AUTH_IDENTITY_A {
+ unsigned char __RPC_FAR *User;
+ unsigned long UserLength;
+ unsigned char __RPC_FAR *Domain;
+ unsigned long DomainLength;
+ unsigned char __RPC_FAR *Password;
+ unsigned long PasswordLength;
+ unsigned long Flags;
+} SEC_WINNT_AUTH_IDENTITY_A, *PSEC_WINNT_AUTH_IDENTITY_A;
+
+
+#ifdef UNICODE
+#define SEC_WINNT_AUTH_IDENTITY SEC_WINNT_AUTH_IDENTITY_W
+#define PSEC_WINNT_AUTH_IDENTITY PSEC_WINNT_AUTH_IDENTITY_W
+#define _SEC_WINNT_AUTH_IDENTITY _SEC_WINNT_AUTH_IDENTITY_W
+#else // UNICODE
+#define SEC_WINNT_AUTH_IDENTITY SEC_WINNT_AUTH_IDENTITY_A
+#define PSEC_WINNT_AUTH_IDENTITY PSEC_WINNT_AUTH_IDENTITY_A
+#define _SEC_WINNT_AUTH_IDENTITY _SEC_WINNT_AUTH_IDENTITY_A
+#endif // UNICODE
+#endif // defined(__RPC_DOS__) || defined(__RPC_WIN16__)
+
+#define RPC_C_AUTHZ_NONE 0
+#define RPC_C_AUTHZ_NAME 1
+#define RPC_C_AUTHZ_DCE 2
+
+#ifdef RPC_UNICODE_SUPPORTED
+
+RPC_STATUS RPC_ENTRY
+RpcBindingInqAuthClientA (
+ IN RPC_BINDING_HANDLE ClientBinding, OPTIONAL
+ OUT RPC_AUTHZ_HANDLE __RPC_FAR * Privs,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * ServerPrincName, OPTIONAL
+ OUT unsigned long __RPC_FAR * AuthnLevel, OPTIONAL
+ OUT unsigned long __RPC_FAR * AuthnSvc, OPTIONAL
+ OUT unsigned long __RPC_FAR * AuthzSvc OPTIONAL
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcBindingInqAuthClientW (
+ IN RPC_BINDING_HANDLE ClientBinding, OPTIONAL
+ OUT RPC_AUTHZ_HANDLE __RPC_FAR * Privs,
+ OUT unsigned short __RPC_FAR * __RPC_FAR * ServerPrincName, OPTIONAL
+ OUT unsigned long __RPC_FAR * AuthnLevel, OPTIONAL
+ OUT unsigned long __RPC_FAR * AuthnSvc, OPTIONAL
+ OUT unsigned long __RPC_FAR * AuthzSvc OPTIONAL
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcBindingInqAuthInfoA (
+ IN RPC_BINDING_HANDLE Binding,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * ServerPrincName, OPTIONAL
+ OUT unsigned long __RPC_FAR * AuthnLevel, OPTIONAL
+ OUT unsigned long __RPC_FAR * AuthnSvc, OPTIONAL
+ OUT RPC_AUTH_IDENTITY_HANDLE __RPC_FAR * AuthIdentity, OPTIONAL
+ OUT unsigned long __RPC_FAR * AuthzSvc OPTIONAL
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcBindingInqAuthInfoW (
+ IN RPC_BINDING_HANDLE Binding,
+ OUT unsigned short __RPC_FAR * __RPC_FAR * ServerPrincName, OPTIONAL
+ OUT unsigned long __RPC_FAR * AuthnLevel, OPTIONAL
+ OUT unsigned long __RPC_FAR * AuthnSvc, OPTIONAL
+ OUT RPC_AUTH_IDENTITY_HANDLE __RPC_FAR * AuthIdentity, OPTIONAL
+ OUT unsigned long __RPC_FAR * AuthzSvc OPTIONAL
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcBindingSetAuthInfoA (
+ IN RPC_BINDING_HANDLE Binding,
+ IN unsigned char __RPC_FAR * ServerPrincName,
+ IN unsigned long AuthnLevel,
+ IN unsigned long AuthnSvc,
+ IN RPC_AUTH_IDENTITY_HANDLE AuthIdentity, OPTIONAL
+ IN unsigned long AuthzSvc
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcBindingSetAuthInfoExA (
+ IN RPC_BINDING_HANDLE Binding,
+ IN unsigned char __RPC_FAR * ServerPrincName,
+ IN unsigned long AuthnLevel,
+ IN unsigned long AuthnSvc,
+ IN RPC_AUTH_IDENTITY_HANDLE AuthIdentity, OPTIONAL
+ IN unsigned long AuthzSvc,
+ IN RPC_SECURITY_QOS *SecurityQos OPTIONAL
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcBindingSetAuthInfoW (
+ IN RPC_BINDING_HANDLE Binding,
+ IN unsigned short __RPC_FAR * ServerPrincName,
+ IN unsigned long AuthnLevel,
+ IN unsigned long AuthnSvc,
+ IN RPC_AUTH_IDENTITY_HANDLE AuthIdentity, OPTIONAL
+ IN unsigned long AuthzSvc
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcBindingSetAuthInfoExW (
+ IN RPC_BINDING_HANDLE Binding,
+ IN unsigned short __RPC_FAR * ServerPrincName,
+ IN unsigned long AuthnLevel,
+ IN unsigned long AuthnSvc,
+ IN RPC_AUTH_IDENTITY_HANDLE AuthIdentity, OPTIONAL
+ IN unsigned long AuthzSvc, OPTIONAL
+ IN RPC_SECURITY_QOS *SecurityQOS
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcBindingInqAuthInfoExA (
+ IN RPC_BINDING_HANDLE Binding,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * ServerPrincName, OPTIONAL
+ OUT unsigned long __RPC_FAR * AuthnLevel, OPTIONAL
+ OUT unsigned long __RPC_FAR * AuthnSvc, OPTIONAL
+ OUT RPC_AUTH_IDENTITY_HANDLE __RPC_FAR * AuthIdentity, OPTIONAL
+ OUT unsigned long __RPC_FAR * AuthzSvc, OPTIONAL
+ IN unsigned long RpcQosVersion,
+ OUT RPC_SECURITY_QOS *SecurityQOS
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcBindingInqAuthInfoExW (
+ IN RPC_BINDING_HANDLE Binding,
+ OUT unsigned short __RPC_FAR * __RPC_FAR * ServerPrincName, OPTIONAL
+ OUT unsigned long __RPC_FAR * AuthnLevel, OPTIONAL
+ OUT unsigned long __RPC_FAR * AuthnSvc, OPTIONAL
+ OUT RPC_AUTH_IDENTITY_HANDLE __RPC_FAR * AuthIdentity, OPTIONAL
+ OUT unsigned long __RPC_FAR * AuthzSvc OPTIONAL,
+ IN unsigned long RpcQosVersion,
+ OUT RPC_SECURITY_QOS *SecurityQOS
+ );
+
+typedef void
+(__RPC_USER * RPC_AUTH_KEY_RETRIEVAL_FN) (
+ IN void __RPC_FAR * Arg,
+ IN unsigned short __RPC_FAR * ServerPrincName,
+ IN unsigned long KeyVer,
+ OUT void __RPC_FAR * __RPC_FAR * Key,
+ OUT RPC_STATUS __RPC_FAR * Status
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcServerRegisterAuthInfoA (
+ IN unsigned char __RPC_FAR * ServerPrincName,
+ IN unsigned long AuthnSvc,
+ IN RPC_AUTH_KEY_RETRIEVAL_FN GetKeyFn OPTIONAL,
+ IN void __RPC_FAR * Arg OPTIONAL
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcServerRegisterAuthInfoW (
+ IN unsigned short __RPC_FAR * ServerPrincName,
+ IN unsigned long AuthnSvc,
+ IN RPC_AUTH_KEY_RETRIEVAL_FN GetKeyFn OPTIONAL,
+ IN void __RPC_FAR * Arg OPTIONAL
+ );
+
+#ifdef UNICODE
+#define RpcBindingInqAuthClient RpcBindingInqAuthClientW
+#define RpcBindingInqAuthInfo RpcBindingInqAuthInfoW
+#define RpcBindingSetAuthInfo RpcBindingSetAuthInfoW
+#define RpcServerRegisterAuthInfo RpcServerRegisterAuthInfoW
+#define RpcBindingInqAuthInfoEx RpcBindingInqAuthInfoExW
+#define RpcBindingSetAuthInfoEx RpcBindingSetAuthInfoExW
+#else /* UNICODE */
+#define RpcBindingInqAuthClient RpcBindingInqAuthClientA
+#define RpcBindingInqAuthInfo RpcBindingInqAuthInfoA
+#define RpcBindingSetAuthInfo RpcBindingSetAuthInfoA
+#define RpcServerRegisterAuthInfo RpcServerRegisterAuthInfoA
+#define RpcBindingInqAuthInfoEx RpcBindingInqAuthInfoExA
+#define RpcBindingSetAuthInfoEx RpcBindingSetAuthInfoExA
+#endif /* UNICODE */
+
+#else /* RPC_UNICODE_SUPPORTED */
+
+RPC_STATUS RPC_ENTRY
+RpcBindingInqAuthClient (
+ IN RPC_BINDING_HANDLE ClientBinding, OPTIONAL
+ OUT RPC_AUTHZ_HANDLE __RPC_FAR * Privs,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * ServerPrincName, OPTIONAL
+ OUT unsigned long __RPC_FAR * AuthnLevel, OPTIONAL
+ OUT unsigned long __RPC_FAR * AuthnSvc, OPTIONAL
+ OUT unsigned long __RPC_FAR * AuthzSvc OPTIONAL
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcBindingInqAuthInfo (
+ IN RPC_BINDING_HANDLE Binding,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * ServerPrincName, OPTIONAL
+ OUT unsigned long __RPC_FAR * AuthnLevel, OPTIONAL
+ OUT unsigned long __RPC_FAR * AuthnSvc, OPTIONAL
+ OUT RPC_AUTH_IDENTITY_HANDLE __RPC_FAR * AuthIdentity, OPTIONAL
+ OUT unsigned long __RPC_FAR * AuthzSvc OPTIONAL
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcBindingSetAuthInfo (
+ IN RPC_BINDING_HANDLE Binding,
+ IN unsigned char __RPC_FAR * ServerPrincName,
+ IN unsigned long AuthnLevel,
+ IN unsigned long AuthnSvc,
+ IN RPC_AUTH_IDENTITY_HANDLE AuthIdentity, OPTIONAL
+ IN unsigned long AuthzSvc
+ );
+
+typedef void
+(__RPC_USER * RPC_AUTH_KEY_RETRIEVAL_FN) (
+ IN void __RPC_FAR * Arg,
+ IN unsigned char __RPC_FAR * ServerPrincName,
+ IN unsigned long KeyVer,
+ OUT void __RPC_FAR * __RPC_FAR * Key,
+ OUT RPC_STATUS __RPC_FAR * Status
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcServerRegisterAuthInfo (
+ IN unsigned char __RPC_FAR * ServerPrincName,
+ IN unsigned long AuthnSvc,
+ IN RPC_AUTH_KEY_RETRIEVAL_FN GetKeyFn OPTIONAL,
+ IN void __RPC_FAR * Arg OPTIONAL
+ );
+
+#endif /* RPC_UNICODE_SUPPORTED */
+
+typedef struct {
+ unsigned char __RPC_FAR * UserName;
+ unsigned char __RPC_FAR * ComputerName;
+ unsigned short Privilege;
+ unsigned long AuthFlags;
+} RPC_CLIENT_INFORMATION1, __RPC_FAR * PRPC_CLIENT_INFORMATION1;
+
+RPC_STATUS RPC_ENTRY
+RpcBindingServerFromClient (
+ IN RPC_BINDING_HANDLE ClientBinding,
+ OUT RPC_BINDING_HANDLE __RPC_FAR * ServerBinding
+ );
+
+void RPC_ENTRY
+RpcRaiseException (
+ IN RPC_STATUS exception
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcTestCancel(
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcCancelThread(
+ IN void * Thread
+ );
+
+/* client/server */
+RPC_STATUS RPC_ENTRY
+UuidCreate (
+ OUT UUID __RPC_FAR * Uuid
+ );
+
+#ifdef RPC_UNICODE_SUPPORTED
+
+/* client/server */
+RPC_STATUS RPC_ENTRY
+UuidToStringA (
+ IN UUID __RPC_FAR * Uuid,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * StringUuid
+ );
+
+/* client/server */
+RPC_STATUS RPC_ENTRY
+UuidFromStringA (
+ IN unsigned char __RPC_FAR * StringUuid,
+ OUT UUID __RPC_FAR * Uuid
+ );
+
+/* client/server */
+RPC_STATUS RPC_ENTRY
+UuidToStringW (
+ IN UUID __RPC_FAR * Uuid,
+ OUT unsigned short __RPC_FAR * __RPC_FAR * StringUuid
+ );
+
+/* client/server */
+RPC_STATUS RPC_ENTRY
+UuidFromStringW (
+ IN unsigned short __RPC_FAR * StringUuid,
+ OUT UUID __RPC_FAR * Uuid
+ );
+
+#ifdef UNICODE
+#define UuidFromString UuidFromStringW
+#define UuidToString UuidToStringW
+#else /* UNICODE */
+#define UuidFromString UuidFromStringA
+#define UuidToString UuidToStringA
+#endif /* UNICODE */
+
+#else /* RPC_UNICODE_SUPPORTED */
+
+/* client/server */
+RPC_STATUS RPC_ENTRY
+UuidToString (
+ IN UUID __RPC_FAR * Uuid,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * StringUuid
+ );
+
+/* client/server */
+RPC_STATUS RPC_ENTRY
+UuidFromString (
+ IN unsigned char __RPC_FAR * StringUuid,
+ OUT UUID __RPC_FAR * Uuid
+ );
+
+#endif /* RPC_UNICODE_SUPPORTED */
+
+signed int RPC_ENTRY
+UuidCompare (
+ IN UUID __RPC_FAR * Uuid1,
+ IN UUID __RPC_FAR * Uuid2,
+ OUT RPC_STATUS __RPC_FAR * Status
+ );
+
+RPC_STATUS RPC_ENTRY
+UuidCreateNil (
+ OUT UUID __RPC_FAR * NilUuid
+ );
+
+int RPC_ENTRY
+UuidEqual (
+ IN UUID __RPC_FAR * Uuid1,
+ IN UUID __RPC_FAR * Uuid2,
+ OUT RPC_STATUS __RPC_FAR * Status
+ );
+
+unsigned short RPC_ENTRY
+UuidHash (
+ IN UUID __RPC_FAR * Uuid,
+ OUT RPC_STATUS __RPC_FAR * Status
+ );
+
+int RPC_ENTRY
+UuidIsNil (
+ IN UUID __RPC_FAR * Uuid,
+ OUT RPC_STATUS __RPC_FAR * Status
+ );
+
+#ifdef RPC_UNICODE_SUPPORTED
+
+RPC_STATUS RPC_ENTRY
+RpcEpRegisterNoReplaceA (
+ IN RPC_IF_HANDLE IfSpec,
+ IN RPC_BINDING_VECTOR * BindingVector,
+ IN UUID_VECTOR * UuidVector OPTIONAL,
+ IN unsigned char * Annotation
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcEpRegisterNoReplaceW (
+ IN RPC_IF_HANDLE IfSpec,
+ IN RPC_BINDING_VECTOR * BindingVector,
+ IN UUID_VECTOR * UuidVector OPTIONAL,
+ IN unsigned short * Annotation
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcEpRegisterA (
+ IN RPC_IF_HANDLE IfSpec,
+ IN RPC_BINDING_VECTOR * BindingVector,
+ IN UUID_VECTOR * UuidVector OPTIONAL,
+ IN unsigned char * Annotation
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcEpRegisterW (
+ IN RPC_IF_HANDLE IfSpec,
+ IN RPC_BINDING_VECTOR * BindingVector,
+ IN UUID_VECTOR * UuidVector OPTIONAL,
+ IN unsigned short * Annotation
+ );
+
+#ifdef UNICODE
+#define RpcEpRegisterNoReplace RpcEpRegisterNoReplaceW
+#define RpcEpRegister RpcEpRegisterW
+#else /* UNICODE */
+#define RpcEpRegisterNoReplace RpcEpRegisterNoReplaceA
+#define RpcEpRegister RpcEpRegisterA
+#endif /* UNICODE */
+
+#else /* RPC_UNICODE_SUPPORTED */
+
+RPC_STATUS RPC_ENTRY
+RpcEpRegisterNoReplace (
+ IN RPC_IF_HANDLE IfSpec,
+ IN RPC_BINDING_VECTOR * BindingVector,
+ IN UUID_VECTOR * UuidVector OPTIONAL,
+ IN unsigned char * Annotation
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcEpRegister (
+ IN RPC_IF_HANDLE IfSpec,
+ IN RPC_BINDING_VECTOR * BindingVector,
+ IN UUID_VECTOR * UuidVector OPTIONAL,
+ IN unsigned char * Annotation
+ );
+
+#endif /* RPC_UNICODE_SUPPORTED */
+
+
+RPC_STATUS RPC_ENTRY
+RpcEpUnregister(
+ IN RPC_IF_HANDLE IfSpec,
+ IN RPC_BINDING_VECTOR * BindingVector,
+ IN UUID_VECTOR * UuidVector
+ );
+
+#ifdef RPC_UNICODE_SUPPORTED
+
+RPC_STATUS RPC_ENTRY
+DceErrorInqTextA (
+ IN RPC_STATUS RpcStatus,
+ OUT unsigned char __RPC_FAR * ErrorText
+ );
+
+RPC_STATUS RPC_ENTRY
+DceErrorInqTextW (
+ IN RPC_STATUS RpcStatus,
+ OUT unsigned short __RPC_FAR * ErrorText
+ );
+
+#ifdef UNICODE
+#define DceErrorInqText DceErrorInqTextW
+#else /* UNICODE */
+#define DceErrorInqText DceErrorInqTextA
+#endif /* UNICODE */
+
+#else /* RPC_UNICODE_SUPPORTED */
+
+RPC_STATUS RPC_ENTRY
+DceErrorInqText (
+ IN RPC_STATUS RpcStatus,
+ OUT unsigned char __RPC_FAR * ErrorText
+ );
+
+#endif /* RPC_UNICODE_SUPPORTED */
+
+#define DCE_C_ERROR_STRING_LEN 256
+
+typedef I_RPC_HANDLE * RPC_EP_INQ_HANDLE;
+
+#define RPC_C_EP_ALL_ELTS 0
+#define RPC_C_EP_MATCH_BY_IF 1
+#define RPC_C_EP_MATCH_BY_OBJ 2
+#define RPC_C_EP_MATCH_BY_BOTH 3
+
+#define RPC_C_VERS_ALL 1
+#define RPC_C_VERS_COMPATIBLE 2
+#define RPC_C_VERS_EXACT 3
+#define RPC_C_VERS_MAJOR_ONLY 4
+#define RPC_C_VERS_UPTO 5
+
+RPC_STATUS RPC_ENTRY
+RpcMgmtEpEltInqBegin (
+ IN RPC_BINDING_HANDLE EpBinding OPTIONAL,
+ IN unsigned long InquiryType,
+ IN RPC_IF_ID __RPC_FAR * IfId OPTIONAL,
+ IN unsigned long VersOption OPTIONAL,
+ IN UUID __RPC_FAR * ObjectUuid OPTIONAL,
+ OUT RPC_EP_INQ_HANDLE __RPC_FAR * InquiryContext
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcMgmtEpEltInqDone (
+ IN OUT RPC_EP_INQ_HANDLE __RPC_FAR * InquiryContext
+ );
+
+#ifdef RPC_UNICODE_SUPPORTED
+
+RPC_STATUS RPC_ENTRY
+RpcMgmtEpEltInqNextA (
+ IN RPC_EP_INQ_HANDLE InquiryContext,
+ OUT RPC_IF_ID __RPC_FAR * IfId,
+ OUT RPC_BINDING_HANDLE __RPC_FAR * Binding OPTIONAL,
+ OUT UUID __RPC_FAR * ObjectUuid OPTIONAL,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * Annotation OPTIONAL
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcMgmtEpEltInqNextW (
+ IN RPC_EP_INQ_HANDLE InquiryContext,
+ OUT RPC_IF_ID __RPC_FAR * IfId,
+ OUT RPC_BINDING_HANDLE __RPC_FAR * Binding OPTIONAL,
+ OUT UUID __RPC_FAR * ObjectUuid OPTIONAL,
+ OUT unsigned short __RPC_FAR * __RPC_FAR * Annotation OPTIONAL
+ );
+
+#ifdef UNICODE
+#define RpcMgmtEpEltInqNext RpcMgmtEpEltInqNextW
+#else /* UNICODE */
+#define RpcMgmtEpEltInqNext RpcMgmtEpEltInqNextA
+#endif /* UNICODE */
+
+#else /* RPC_UNICODE_SUPPORTED */
+
+RPC_STATUS RPC_ENTRY
+RpcMgmtEpEltInqNext (
+ IN RPC_EP_INQ_HANDLE InquiryContext,
+ OUT RPC_IF_ID __RPC_FAR * IfId,
+ OUT RPC_BINDING_HANDLE __RPC_FAR * Binding OPTIONAL,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * Annotation OPTIONAL
+ );
+
+#endif /* RPC_UNICODE_SUPPORTED */
+
+RPC_STATUS RPC_ENTRY
+RpcMgmtEpUnregister (
+ IN RPC_BINDING_HANDLE EpBinding OPTIONAL,
+ IN RPC_IF_ID __RPC_FAR * IfId,
+ IN RPC_BINDING_HANDLE Binding,
+ IN UUID __RPC_FAR * ObjectUuid OPTIONAL
+ );
+
+typedef int
+(__RPC_API * RPC_MGMT_AUTHORIZATION_FN) (
+ IN RPC_BINDING_HANDLE ClientBinding,
+ IN unsigned long RequestedMgmtOperation,
+ OUT RPC_STATUS __RPC_FAR * Status
+ );
+
+#define RPC_C_MGMT_INQ_IF_IDS 0
+#define RPC_C_MGMT_INQ_PRINC_NAME 1
+#define RPC_C_MGMT_INQ_STATS 2
+#define RPC_C_MGMT_IS_SERVER_LISTEN 3
+#define RPC_C_MGMT_STOP_SERVER_LISTEN 4
+
+RPC_STATUS RPC_ENTRY
+RpcMgmtSetAuthorizationFn (
+ IN RPC_MGMT_AUTHORIZATION_FN AuthorizationFn
+ );
+
+
+#define RPC_C_PARM_MAX_PACKET_LENGTH 1
+#define RPC_C_PARM_BUFFER_LENGTH 2
+
+RPC_STATUS RPC_ENTRY
+RpcMgmtInqParameter (
+ IN unsigned Parameter,
+ IN unsigned long __RPC_FAR * Value
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcMgmtSetParameter (
+ IN unsigned Parameter,
+ IN unsigned long Value
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcMgmtBindingInqParameter (
+ IN RPC_BINDING_HANDLE Handle,
+ IN unsigned Parameter,
+ IN unsigned long __RPC_FAR * Value
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcMgmtBindingSetParameter (
+ IN RPC_BINDING_HANDLE Handle,
+ IN unsigned Parameter,
+ IN unsigned long Value
+ );
+
+#define RPC_IF_AUTOLISTEN 0x0001
+#define RPC_IF_OLE 0x0002
+
+#include <rpcdcep.h>
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __RPCDCE_H__ */
diff --git a/public/sdk/rpc16/dos/inc/rpcdcep.h b/public/sdk/rpc16/dos/inc/rpcdcep.h
new file mode 100644
index 000000000..85ed0fd67
--- /dev/null
+++ b/public/sdk/rpc16/dos/inc/rpcdcep.h
@@ -0,0 +1,415 @@
+/*++
+
+Copyright (c) 1991-1996 Microsoft Corporation
+
+Module Name:
+
+ rpcdcep.h
+
+Abstract:
+
+ This module contains the private RPC runtime APIs for use by the
+ stubs and by support libraries. Applications must not call these
+ routines.
+
+--*/
+
+#ifndef __RPCDCEP_H__
+#define __RPCDCEP_H__
+
+// Set the packing level for RPC structures for Dos and Windows.
+
+#if defined(__RPC_DOS__) || defined(__RPC_WIN16__)
+#pragma pack(2)
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef struct _RPC_VERSION {
+ unsigned short MajorVersion;
+ unsigned short MinorVersion;
+} RPC_VERSION;
+
+typedef struct _RPC_SYNTAX_IDENTIFIER {
+ GUID SyntaxGUID;
+ RPC_VERSION SyntaxVersion;
+} RPC_SYNTAX_IDENTIFIER, __RPC_FAR * PRPC_SYNTAX_IDENTIFIER;
+
+typedef struct _RPC_MESSAGE
+{
+ RPC_BINDING_HANDLE Handle;
+ unsigned long DataRepresentation;
+ void __RPC_FAR * Buffer;
+ unsigned int BufferLength;
+ unsigned int ProcNum;
+ PRPC_SYNTAX_IDENTIFIER TransferSyntax;
+ void __RPC_FAR * RpcInterfaceInformation;
+ void __RPC_FAR * ReservedForRuntime;
+ RPC_MGR_EPV __RPC_FAR * ManagerEpv;
+ void __RPC_FAR * ImportContext;
+ unsigned long RpcFlags;
+} RPC_MESSAGE, __RPC_FAR * PRPC_MESSAGE;
+
+
+typedef RPC_STATUS RPC_ENTRY RPC_FORWARD_FUNCTION(
+ IN UUID __RPC_FAR * InterfaceId,
+ IN RPC_VERSION __RPC_FAR * InterfaceVersion,
+ IN UUID __RPC_FAR * ObjectId,
+ IN unsigned char __RPC_FAR * Rpcpro,
+ IN void __RPC_FAR * __RPC_FAR * ppDestEndpoint);
+
+/*
+ * Types of function calls for datagram rpc
+ */
+
+#define RPC_NCA_FLAGS_DEFAULT 0x00000000 /* 0b000...000 */
+#define RPC_NCA_FLAGS_IDEMPOTENT 0x00000001 /* 0b000...001 */
+#define RPC_NCA_FLAGS_BROADCAST 0x00000002 /* 0b000...010 */
+#define RPC_NCA_FLAGS_MAYBE 0x00000004 /* 0b000...100 */
+
+#define RPC_BUFFER_COMPLETE 0x00001000 /* used by pipes */
+#define RPC_BUFFER_PARTIAL 0x00002000 /* used by pipes */
+#define RPC_BUFFER_EXTRA 0x00004000 /* used by pipes */
+
+#define RPCFLG_NON_NDR 0x80000000UL
+#define RPCFLG_ASYNCHRONOUS 0x40000000UL
+#define RPCFLG_INPUT_SYNCHRONOUS 0x20000000UL
+#define RPCFLG_LOCAL_CALL 0x10000000UL
+
+#if defined(__RPC_DOS__) || defined(__RPC_WIN16__)
+#define RPC_FLAGS_VALID_BIT 0x8000
+#endif
+
+#if defined(__RPC_WIN32__) || defined(__RPC_MAC__)
+#define RPC_FLAGS_VALID_BIT 0x00008000
+#endif
+
+typedef
+void
+(__RPC_STUB __RPC_FAR * RPC_DISPATCH_FUNCTION) (
+ IN OUT PRPC_MESSAGE Message
+ );
+
+typedef struct {
+ unsigned int DispatchTableCount;
+ RPC_DISPATCH_FUNCTION __RPC_FAR * DispatchTable;
+ int Reserved;
+} RPC_DISPATCH_TABLE, __RPC_FAR * PRPC_DISPATCH_TABLE;
+
+typedef struct _RPC_PROTSEQ_ENDPOINT
+{
+ unsigned char __RPC_FAR * RpcProtocolSequence;
+ unsigned char __RPC_FAR * Endpoint;
+} RPC_PROTSEQ_ENDPOINT, __RPC_FAR * PRPC_PROTSEQ_ENDPOINT;
+
+/*
+Both of these types MUST start with the InterfaceId and TransferSyntax.
+Look at RpcIfInqId and I_RpcIfInqTransferSyntaxes to see why.
+*/
+#define NT351_INTERFACE_SIZE 0x40
+#define RPC_INTERFACE_HAS_PIPES 0x0001
+
+typedef struct _RPC_SERVER_INTERFACE
+{
+ unsigned int Length;
+ RPC_SYNTAX_IDENTIFIER InterfaceId;
+ RPC_SYNTAX_IDENTIFIER TransferSyntax;
+ PRPC_DISPATCH_TABLE DispatchTable;
+ unsigned int RpcProtseqEndpointCount;
+ PRPC_PROTSEQ_ENDPOINT RpcProtseqEndpoint;
+ RPC_MGR_EPV __RPC_FAR *DefaultManagerEpv;
+ void const __RPC_FAR *InterpreterInfo;
+ unsigned int Flags ;
+} RPC_SERVER_INTERFACE, __RPC_FAR * PRPC_SERVER_INTERFACE;
+
+typedef struct _RPC_CLIENT_INTERFACE
+{
+ unsigned int Length;
+ RPC_SYNTAX_IDENTIFIER InterfaceId;
+ RPC_SYNTAX_IDENTIFIER TransferSyntax;
+ PRPC_DISPATCH_TABLE DispatchTable;
+ unsigned int RpcProtseqEndpointCount;
+ PRPC_PROTSEQ_ENDPOINT RpcProtseqEndpoint;
+ unsigned long Reserved;
+ void const __RPC_FAR * InterpreterInfo;
+ unsigned int Flags ;
+} RPC_CLIENT_INTERFACE, __RPC_FAR * PRPC_CLIENT_INTERFACE;
+
+RPC_STATUS RPC_ENTRY
+I_RpcGetBuffer (
+ IN OUT RPC_MESSAGE __RPC_FAR * Message
+ );
+
+RPC_STATUS RPC_ENTRY
+I_RpcSendReceive (
+ IN OUT RPC_MESSAGE __RPC_FAR * Message
+ );
+
+RPC_STATUS RPC_ENTRY
+I_RpcFreeBuffer (
+ IN OUT RPC_MESSAGE __RPC_FAR * Message
+ );
+
+RPC_STATUS RPC_ENTRY
+I_RpcSend (
+ IN OUT PRPC_MESSAGE Message
+ ) ;
+
+RPC_STATUS RPC_ENTRY
+I_RpcReceive (
+ IN OUT PRPC_MESSAGE Message,
+ IN unsigned int Size
+ ) ;
+
+RPC_STATUS RPC_ENTRY
+I_RpcFreePipeBuffer (
+ IN OUT RPC_MESSAGE __RPC_FAR * Message
+ ) ;
+
+RPC_STATUS RPC_ENTRY
+I_RpcReallocPipeBuffer (
+ IN PRPC_MESSAGE Message,
+ IN unsigned int NewSize
+ ) ;
+
+typedef void * I_RPC_MUTEX;
+
+void RPC_ENTRY
+I_RpcRequestMutex (
+ IN OUT I_RPC_MUTEX * Mutex
+ );
+
+void RPC_ENTRY
+I_RpcClearMutex (
+ IN I_RPC_MUTEX Mutex
+ );
+
+void RPC_ENTRY
+I_RpcDeleteMutex (
+ IN I_RPC_MUTEX Mutex
+ );
+
+void __RPC_FAR * RPC_ENTRY
+I_RpcAllocate (
+ IN unsigned int Size
+ );
+
+void RPC_ENTRY
+I_RpcFree (
+ IN void __RPC_FAR * Object
+ );
+
+void RPC_ENTRY
+I_RpcPauseExecution (
+ IN unsigned long Milliseconds
+ );
+
+typedef
+void
+(__RPC_USER __RPC_FAR * PRPC_RUNDOWN) (
+ void __RPC_FAR * AssociationContext
+ );
+
+RPC_STATUS RPC_ENTRY
+I_RpcMonitorAssociation (
+ IN RPC_BINDING_HANDLE Handle,
+ IN PRPC_RUNDOWN RundownRoutine,
+ IN void * Context
+ );
+
+RPC_STATUS RPC_ENTRY
+I_RpcStopMonitorAssociation (
+ IN RPC_BINDING_HANDLE Handle
+ );
+
+RPC_BINDING_HANDLE RPC_ENTRY
+I_RpcGetCurrentCallHandle(
+ void
+ );
+
+RPC_STATUS RPC_ENTRY
+I_RpcGetAssociationContext (
+ OUT void __RPC_FAR * __RPC_FAR * AssociationContext
+ );
+
+RPC_STATUS RPC_ENTRY
+I_RpcSetAssociationContext (
+ IN void __RPC_FAR * AssociationContext
+ );
+
+#ifdef __RPC_NT__
+
+RPC_STATUS RPC_ENTRY
+I_RpcNsBindingSetEntryName (
+ IN RPC_BINDING_HANDLE Binding,
+ IN unsigned long EntryNameSyntax,
+ IN unsigned short __RPC_FAR * EntryName
+ );
+
+#else
+
+RPC_STATUS RPC_ENTRY
+I_RpcNsBindingSetEntryName (
+ IN RPC_BINDING_HANDLE Binding,
+ IN unsigned long EntryNameSyntax,
+ IN unsigned char __RPC_FAR * EntryName
+ );
+
+#endif
+
+#ifdef __RPC_NT__
+
+RPC_STATUS RPC_ENTRY
+I_RpcBindingInqDynamicEndpoint (
+ IN RPC_BINDING_HANDLE Binding,
+ OUT unsigned short __RPC_FAR * __RPC_FAR * DynamicEndpoint
+ );
+
+#else
+
+RPC_STATUS RPC_ENTRY
+I_RpcBindingInqDynamicEndpoint (
+ IN RPC_BINDING_HANDLE Binding,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * DynamicEndpoint
+ );
+
+#endif
+
+#define TRANSPORT_TYPE_CN 0x1
+#define TRANSPORT_TYPE_DG 0x2
+#define TRANSPORT_TYPE_LPC 0x4
+#define TRANSPORT_TYPE_WMSG 0x8
+
+RPC_STATUS RPC_ENTRY
+I_RpcBindingInqTransportType (
+ IN RPC_BINDING_HANDLE Binding,
+ OUT unsigned int __RPC_FAR * Type
+ );
+
+typedef struct _RPC_TRANSFER_SYNTAX
+{
+ UUID Uuid;
+ unsigned short VersMajor;
+ unsigned short VersMinor;
+} RPC_TRANSFER_SYNTAX;
+
+RPC_STATUS RPC_ENTRY
+I_RpcIfInqTransferSyntaxes (
+ IN RPC_IF_HANDLE RpcIfHandle,
+ OUT RPC_TRANSFER_SYNTAX __RPC_FAR * TransferSyntaxes,
+ IN unsigned int TransferSyntaxSize,
+ OUT unsigned int __RPC_FAR * TransferSyntaxCount
+ );
+
+RPC_STATUS RPC_ENTRY
+I_UuidCreate (
+ OUT UUID __RPC_FAR * Uuid
+ );
+
+RPC_STATUS RPC_ENTRY
+I_RpcBindingCopy (
+ IN RPC_BINDING_HANDLE SourceBinding,
+ OUT RPC_BINDING_HANDLE __RPC_FAR * DestinationBinding
+ );
+
+RPC_STATUS RPC_ENTRY
+I_RpcBindingIsClientLocal (
+ IN RPC_BINDING_HANDLE BindingHandle OPTIONAL,
+ OUT unsigned int __RPC_FAR * ClientLocalFlag
+ );
+
+void RPC_ENTRY
+I_RpcSsDontSerializeContext (
+ void
+ );
+
+RPC_STATUS RPC_ENTRY
+I_RpcLaunchDatagramReceiveThread(
+ void __RPC_FAR * pAddress
+ );
+
+RPC_STATUS RPC_ENTRY
+I_RpcServerRegisterForwardFunction (
+ IN RPC_FORWARD_FUNCTION __RPC_FAR * pForwardFunction
+ );
+
+
+RPC_STATUS RPC_ENTRY
+I_RpcConnectionInqSockBuffSize(
+ OUT unsigned long __RPC_FAR * RecvBuffSize,
+ OUT unsigned long __RPC_FAR * SendBuffSize
+ );
+
+RPC_STATUS RPC_ENTRY
+I_RpcConnectionSetSockBuffSize(
+ IN unsigned long RecvBuffSize,
+ IN unsigned long SendBuffSize
+ );
+
+
+#ifdef MSWMSG
+RPC_STATUS RPC_ENTRY
+I_RpcServerStartListening(
+ HWND hWnd
+ ) ;
+
+RPC_STATUS RPC_ENTRY
+I_RpcServerStopListening(
+ ) ;
+
+RPC_STATUS RPC_ENTRY
+I_RpcGetThreadWindowHandle(
+ OUT HWND *WindowHandle
+ ) ;
+
+typedef RPC_STATUS (*RPC_BLOCKING_FN) (
+ IN void *wnd,
+ IN void *Context,
+ IN HANDLE hSyncEvent
+ ) ;
+
+RPC_STATUS RPC_ENTRY
+I_RpcAsyncSendReceive(
+ IN OUT PRPC_MESSAGE pRpcMessage,
+ IN OPTIONAL void *Context,
+ HWND hWnd
+ ) ;
+
+RPC_STATUS RPC_ENTRY
+I_RpcBindingSetAsync(
+ IN RPC_BINDING_HANDLE Binding,
+ IN RPC_BLOCKING_FN BlockingFn
+ ) ;
+
+LONG RPC_ENTRY
+I_RpcWindowProc(
+ IN HWND hWnd,
+ IN UINT Message,
+ IN WPARAM wParam,
+ IN LPARAM lParam
+ ) ;
+
+RPC_STATUS RPC_ENTRY
+I_RpcSetWMsgEndpoint (
+ IN WCHAR __RPC_FAR * Endpoint
+ ) ;
+#endif
+
+RPC_STATUS RPC_ENTRY
+I_RpcServerInqTransportType(
+ OUT unsigned int __RPC_FAR * Type
+ ) ;
+
+#ifdef __cplusplus
+}
+#endif
+
+// Reset the packing level for Dos and Windows.
+
+#if defined(__RPC_DOS__) || defined(__RPC_WIN16__)
+#pragma pack()
+#endif
+
+#endif /* __RPCDCEP_H__ */
diff --git a/public/sdk/rpc16/dos/inc/rpcerr.h b/public/sdk/rpc16/dos/inc/rpcerr.h
new file mode 100644
index 000000000..139df1b1b
--- /dev/null
+++ b/public/sdk/rpc16/dos/inc/rpcerr.h
@@ -0,0 +1,188 @@
+/*********************************************************/
+/** Microsoft LAN Manager **/
+/** Copyright(c) Microsoft Corp., 1987-1990 **/
+/** **/
+/** Rpc Error Codes from the compiler and runtime **/
+/** **/
+/*********************************************************/
+
+/*
+If you change this file, you must also change ntstatus.mc and winerror.mc
+*/
+
+#ifndef __RPCERR_H__
+#define __RPCERR_H__
+
+#define RPC_S_OK 0
+#define RPC_S_INVALID_ARG 1
+#define RPC_S_INVALID_STRING_BINDING 2
+#define RPC_S_OUT_OF_MEMORY 3
+#define RPC_S_WRONG_KIND_OF_BINDING 4
+#define RPC_S_INVALID_BINDING 5
+#define RPC_S_PROTSEQ_NOT_SUPPORTED 6
+#define RPC_S_INVALID_RPC_PROTSEQ 7
+#define RPC_S_INVALID_STRING_UUID 8
+#define RPC_S_INVALID_ENDPOINT_FORMAT 9
+
+#define RPC_S_INVALID_NET_ADDR 10
+#define RPC_S_INVALID_NAF_ID 11
+#define RPC_S_NO_ENDPOINT_FOUND 12
+#define RPC_S_INVALID_TIMEOUT 13
+#define RPC_S_OBJECT_NOT_FOUND 14
+#define RPC_S_ALREADY_REGISTERED 15
+#define RPC_S_TYPE_ALREADY_REGISTERED 16
+#define RPC_S_ALREADY_LISTENING 17
+#define RPC_S_NO_PROTSEQS_REGISTERED 18
+#define RPC_S_NOT_LISTENING 19
+
+#define RPC_S_OUT_OF_THREADS 20
+#define RPC_S_UNKNOWN_MGR_TYPE 21
+#define RPC_S_UNKNOWN_IF 22
+#define RPC_S_NO_BINDINGS 23
+#define RPC_S_NO_PROTSEQS 24
+#define RPC_S_CANT_CREATE_ENDPOINT 25
+#define RPC_S_OUT_OF_RESOURCES 26
+#define RPC_S_SERVER_UNAVAILABLE 27
+#define RPC_S_SERVER_TOO_BUSY 28
+#define RPC_S_INVALID_NETWORK_OPTIONS 29
+
+#define RPC_S_NO_CALL_ACTIVE 30
+#define RPC_S_INVALID_LEVEL 31
+#define RPC_S_CANNOT_SUPPORT 32
+#define RPC_S_CALL_FAILED 33
+#define RPC_S_CALL_FAILED_DNE 34
+#define RPC_S_PROTOCOL_ERROR 35
+
+// Unused.
+
+// Unused.
+
+#define RPC_S_UNSUPPORTED_TRANS_SYN 38
+#define RPC_S_BUFFER_TOO_SMALL 39
+
+#define RPC_S_NO_CONTEXT_AVAILABLE 40
+#define RPC_S_SERVER_OUT_OF_MEMORY 41
+#define RPC_S_UNSUPPORTED_TYPE 42
+#define RPC_S_ZERO_DIVIDE 43
+#define RPC_S_ADDRESS_ERROR 44
+#define RPC_S_FP_DIV_ZERO 45
+#define RPC_S_FP_UNDERFLOW 46
+#define RPC_S_FP_OVERFLOW 47
+#define RPC_S_INVALID_TAG 48
+#define RPC_S_INVALID_BOUND 49
+
+#define RPC_S_NO_ENTRY_NAME 50
+#define RPC_S_INVALID_NAME_SYNTAX 51
+#define RPC_S_UNSUPPORTED_NAME_SYNTAX 52
+#define RPC_S_UUID_LOCAL_ONLY 53
+#define RPC_S_UUID_NO_ADDRESS 54
+#define RPC_S_DUPLICATE_ENDPOINT 55
+#define RPC_S_INVALID_SECURITY_DESC 56
+#define RPC_S_ACCESS_DENIED 57
+#define RPC_S_UNKNOWN_AUTHN_TYPE 58
+#define RPC_S_MAX_CALLS_TOO_SMALL 59
+
+#define RPC_S_STRING_TOO_LONG 60
+#define RPC_S_PROTSEQ_NOT_FOUND 61
+#define RPC_S_PROCNUM_OUT_OF_RANGE 62
+#define RPC_S_BINDING_HAS_NO_AUTH 63
+#define RPC_S_UNKNOWN_AUTHN_SERVICE 64
+#define RPC_S_UNKNOWN_AUTHN_LEVEL 65
+#define RPC_S_INVALID_AUTH_IDENTITY 66
+#define RPC_S_UNKNOWN_AUTHZ_SERVICE 67
+#define EPT_S_INVALID_ENTRY 68
+#define EPT_S_CANT_PERFORM_OP 69
+
+#define EPT_S_NOT_REGISTERED 70
+#define RPC_S_NOTHING_TO_EXPORT 71
+#define RPC_S_INCOMPLETE_NAME 72
+#define RPC_S_UNIMPLEMENTED_API 73
+#define RPC_S_INVALID_VERS_OPTION 74
+#define RPC_S_NO_MORE_MEMBERS 75
+#define RPC_S_NOT_ALL_OBJS_UNEXPORTED 76
+#define RPC_S_INTERFACE_NOT_FOUND 77
+#define RPC_S_ENTRY_ALREADY_EXISTS 78
+#define RPC_S_ENTRY_NOT_FOUND 79
+
+#define RPC_S_NAME_SERVICE_UNAVAILABLE 80
+#define RPC_S_CALL_IN_PROGRESS 81
+#define RPC_S_NO_MORE_BINDINGS 82
+#define RPC_S_GROUP_MEMBER_NOT_FOUND 83
+#define EPT_S_CANT_CREATE 84
+#define RPC_S_INVALID_OBJECT 85
+#define RPC_S_CALL_CANCELLED 86
+#define RPC_S_BINDING_INCOMPLETE 87
+#define RPC_S_COMM_FAILURE 88
+#define RPC_S_UNSUPPORTED_AUTHN_LEVEL 89
+
+#define RPC_S_NO_PRINC_NAME 90
+#define RPC_S_NOT_RPC_ERROR 91
+#define RPC_S_SEC_PKG_ERROR 92
+#define RPC_S_NOT_CANCELLED 93
+#define RPC_S_SEND_INCOMPLETE 94
+
+
+#define RPC_S_INTERNAL_ERROR 100
+
+/* The list of servers available for auto_handle binding has been exhausted. */
+
+#define RPC_X_NO_MORE_ENTRIES 256
+
+/* Insufficient memory available to set up necessary data structures. */
+
+#define RPC_X_NO_MEMORY 257
+
+/* The specified bounds of an array are inconsistent. */
+
+#define RPC_X_INVALID_BOUND 258
+
+/* The discriminant value does not match any of the case values. */
+/* There is no default case. */
+
+#define RPC_X_INVALID_TAG 259
+
+/* The file designated by DCERPCCHARTRANS cannot be opened. */
+
+#define RPC_X_SS_CHAR_TRANS_OPEN_FAIL 260
+
+/* The file containing char translation table has fewer than 512 bytes. */
+
+#define RPC_X_SS_CHAR_TRANS_SHORT_FILE 261
+
+/* A null context handle is passed in an [in] parameter position. */
+
+#define RPC_X_SS_IN_NULL_CONTEXT 262
+
+/* Only raised on the callee side. */
+/* A uuid in an [in] handle does not correspond to any known context. */
+
+#define RPC_X_SS_CONTEXT_MISMATCH 263
+
+/* Only raised on the caller side. */
+/* A uuid in an [in, out] context handle changed during a call. */
+
+#define RPC_X_SS_CONTEXT_DAMAGED 264
+
+#define RPC_X_SS_HANDLES_MISMATCH 265
+
+#define RPC_X_SS_CANNOT_GET_CALL_HANDLE 266
+
+#define RPC_X_NULL_REF_POINTER 267
+
+#define RPC_X_ENUM_VALUE_OUT_OF_RANGE 268
+
+#define RPC_X_BYTE_COUNT_TOO_SMALL 269
+
+#define RPC_X_BAD_STUB_DATA 270
+
+#define RPC_X_INVALID_ES_ACTION 271
+#define RPC_X_WRONG_ES_VERSION 272
+#define RPC_X_WRONG_STUB_VERSION 273
+#define RPC_X_INVALID_BUFFER 274
+#define RPC_X_INVALID_PIPE_OBJECT 275
+#define RPC_X_INVALID_PIPE_OPERATION 276
+#define RPC_X_WRONG_PIPE_VERSION 277
+
+
+#endif /* __RPCERR_H__ */
+
diff --git a/public/sdk/rpc16/dos/inc/rpcndr.h b/public/sdk/rpc16/dos/inc/rpcndr.h
new file mode 100644
index 000000000..65d1cdbfe
--- /dev/null
+++ b/public/sdk/rpc16/dos/inc/rpcndr.h
@@ -0,0 +1,2630 @@
+/*++
+
+Copyright (c) 1992-1996 Microsoft Corporation
+
+Module Name:
+
+ rpcndr.h
+
+Abstract:
+
+ Definitions for stub data structures and prototypes of helper functions.
+
+Author:
+
+ DonnaLi (01-01-91)
+
+Environment:
+
+ DOS, Win 3.X, and Win/NT.
+
+Revision History:
+
+ DONNALI 08-29-91 Start recording history
+ donnali 09-11-91 change conversion macros
+ donnali 09-18-91 check in files for moving
+ STEVEZ 10-15-91 Merge with NT tree
+ donnali 10-28-91 add prototype
+ donnali 11-19-91 bugfix for strings
+ MIKEMON 12-17-91 DCE runtime API conversion
+ donnali 03-24-92 change rpc public header f
+ STEVEZ 04-04-92 add nsi include
+ mikemon 04-18-92 security support and misc
+ DovhH 04-24-24 Changed signature of <int>_from_ndr
+ (to unsigned <int>)
+ Added <base_type>_array_from_ndr routines
+ RyszardK 06-17-93 Added support for hyper
+ VibhasC 09-11-93 Created rpcndrn.h
+ DKays 10-14-93 Fixed up rpcndrn.h MIDL 2.0
+ RyszardK 01-15-94 Merged in the midl 2.0 changes from rpcndrn.h
+ Stevebl 04-22-96 Hookole support changes to MIDL_*_INFO
+
+--*/
+
+#ifndef __RPCNDR_H__
+#define __RPCNDR_H__
+
+//
+// Set the packing level for RPC structures for Dos, Windows and Mac.
+//
+
+#if defined(__RPC_DOS__) || defined(__RPC_WIN16__) || defined(__RPC_MAC__)
+#pragma pack(2)
+#endif
+
+#if defined(__RPC_MAC__)
+#define _MAC_
+#endif
+
+#include <rpcnsip.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/****************************************************************************
+
+ Network Computing Architecture (NCA) definition:
+
+ Network Data Representation: (NDR) Label format:
+ An unsigned long (32 bits) with the following layout:
+
+ 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
+ 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
+ +---------------+---------------+---------------+-------+-------+
+ | Reserved | Reserved |Floating point | Int | Char |
+ | | |Representation | Rep. | Rep. |
+ +---------------+---------------+---------------+-------+-------+
+
+ Where
+
+ Reserved:
+
+ Must be zero (0) for NCA 1.5 and NCA 2.0.
+
+ Floating point Representation is:
+
+ 0 - IEEE
+ 1 - VAX
+ 2 - Cray
+ 3 - IBM
+
+ Int Rep. is Integer Representation:
+
+ 0 - Big Endian
+ 1 - Little Endian
+
+ Char Rep. is Character Representation:
+
+ 0 - ASCII
+ 1 - EBCDIC
+
+ The Microsoft Local Data Representation (for all platforms which are
+ of interest currently is edefined below:
+
+ ****************************************************************************/
+
+#define NDR_CHAR_REP_MASK (unsigned long)0X0000000FL
+#define NDR_INT_REP_MASK (unsigned long)0X000000F0L
+#define NDR_FLOAT_REP_MASK (unsigned long)0X0000FF00L
+
+#define NDR_LITTLE_ENDIAN (unsigned long)0X00000010L
+#define NDR_BIG_ENDIAN (unsigned long)0X00000000L
+
+#define NDR_IEEE_FLOAT (unsigned long)0X00000000L
+#define NDR_VAX_FLOAT (unsigned long)0X00000100L
+
+#define NDR_ASCII_CHAR (unsigned long)0X00000000L
+#define NDR_EBCDIC_CHAR (unsigned long)0X00000001L
+
+#if defined(__RPC_MAC__)
+#define NDR_LOCAL_DATA_REPRESENTATION (unsigned long)0X00000000L
+#define NDR_LOCAL_ENDIAN NDR_BIG_ENDIAN
+#else
+#define NDR_LOCAL_DATA_REPRESENTATION (unsigned long)0X00000010L
+#define NDR_LOCAL_ENDIAN NDR_LITTLE_ENDIAN
+#endif
+
+
+/****************************************************************************
+ * Macros for targeted platforms
+ ****************************************************************************/
+
+#if (defined(_WIN32_DCOM) || 0x400 <= _WIN32_WINNT)
+#define TARGET_IS_NT40_OR_LATER 1
+#else
+#define TARGET_IS_NT40_OR_LATER 0
+#endif
+
+#if (0x400 <= WINVER)
+#define TARGET_IS_NT351_OR_WIN95_OR_LATER 1
+#else
+#define TARGET_IS_NT351_OR_WIN95_OR_LATER 0
+#endif
+
+/****************************************************************************
+ * Other MIDL base types / predefined types:
+ ****************************************************************************/
+
+#define small char
+typedef unsigned char byte;
+typedef unsigned char boolean;
+
+#ifndef _HYPER_DEFINED
+#define _HYPER_DEFINED
+
+#if !defined(__RPC_DOS__) && !defined(__RPC_WIN16__) && !defined(__RPC_MAC__) && (!defined(_M_IX86) || (defined(_INTEGRAL_MAX_BITS) && _INTEGRAL_MAX_BITS >= 64))
+#define hyper __int64
+#define MIDL_uhyper unsigned __int64
+#else
+typedef double hyper;
+typedef double MIDL_uhyper;
+#endif
+
+#endif // _HYPER_DEFINED
+
+#ifndef _WCHAR_T_DEFINED
+typedef unsigned short wchar_t;
+#define _WCHAR_T_DEFINED
+#endif
+
+#ifndef _SIZE_T_DEFINED
+typedef unsigned int size_t;
+#define _SIZE_T_DEFINED
+#endif
+
+#ifdef __RPC_DOS__
+#define __RPC_CALLEE __far __pascal
+#endif
+
+#ifdef __RPC_WIN16__
+#define __RPC_CALLEE __far __pascal __export
+#endif
+
+#ifdef __RPC_WIN32__
+#if (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED)
+#define __RPC_CALLEE __stdcall
+#else
+#define __RPC_CALLEE
+#endif
+#endif
+
+#ifdef __RPC_MAC__
+#define __RPC_CALLEE __far
+#endif
+
+#ifndef __MIDL_USER_DEFINED
+#define midl_user_allocate MIDL_user_allocate
+#define midl_user_free MIDL_user_free
+#define __MIDL_USER_DEFINED
+#endif
+
+void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
+void __RPC_USER MIDL_user_free( void __RPC_FAR * );
+
+#ifdef __RPC_WIN16__
+#define RPC_VAR_ENTRY __export __cdecl
+#else
+#define RPC_VAR_ENTRY __cdecl
+#endif
+
+
+/* winnt only */
+#if defined(_M_MRX000) || defined(_M_IX86) || defined(_M_ALPHA)
+#define __MIDL_DECLSPEC_DLLIMPORT __declspec(dllimport)
+#define __MIDL_DECLSPEC_DLLEXPORT __declspec(dllexport)
+#else
+#define __MIDL_DECLSPEC_DLLIMPORT
+#define __MIDL_DECLSPEC_DLLEXPORT
+#endif
+
+
+
+
+/****************************************************************************
+ * Context handle management related definitions:
+ *
+ * Client and Server Contexts.
+ *
+ ****************************************************************************/
+
+typedef void __RPC_FAR * NDR_CCONTEXT;
+
+typedef struct
+ {
+ void __RPC_FAR * pad[2];
+ void __RPC_FAR * userContext;
+ } __RPC_FAR * NDR_SCONTEXT;
+
+#define NDRSContextValue(hContext) (&(hContext)->userContext)
+
+#define cbNDRContext 20 /* size of context on WIRE */
+
+typedef void (__RPC_USER __RPC_FAR * NDR_RUNDOWN)(void __RPC_FAR * context);
+
+typedef struct _SCONTEXT_QUEUE {
+ unsigned long NumberOfObjects;
+ NDR_SCONTEXT * ArrayOfObjects;
+ } SCONTEXT_QUEUE, __RPC_FAR * PSCONTEXT_QUEUE;
+
+RPC_BINDING_HANDLE RPC_ENTRY
+NDRCContextBinding (
+ IN NDR_CCONTEXT CContext
+ );
+
+void RPC_ENTRY
+NDRCContextMarshall (
+ IN NDR_CCONTEXT CContext,
+ OUT void __RPC_FAR *pBuff
+ );
+
+void RPC_ENTRY
+NDRCContextUnmarshall (
+ OUT NDR_CCONTEXT __RPC_FAR *pCContext,
+ IN RPC_BINDING_HANDLE hBinding,
+ IN void __RPC_FAR *pBuff,
+ IN unsigned long DataRepresentation
+ );
+
+void RPC_ENTRY
+NDRSContextMarshall (
+ IN NDR_SCONTEXT CContext,
+ OUT void __RPC_FAR *pBuff,
+ IN NDR_RUNDOWN userRunDownIn
+ );
+
+NDR_SCONTEXT RPC_ENTRY
+NDRSContextUnmarshall (
+ IN void __RPC_FAR *pBuff,
+ IN unsigned long DataRepresentation
+ );
+
+void RPC_ENTRY
+RpcSsDestroyClientContext (
+ IN void __RPC_FAR * __RPC_FAR * ContextHandle
+ );
+
+
+/****************************************************************************
+ NDR conversion related definitions.
+ ****************************************************************************/
+
+#define byte_from_ndr(source, target) \
+ { \
+ *(target) = *(*(char __RPC_FAR * __RPC_FAR *)&(source)->Buffer)++; \
+ }
+
+#define byte_array_from_ndr(Source, LowerIndex, UpperIndex, Target) \
+ { \
+ NDRcopy ( \
+ (((char __RPC_FAR *)(Target))+(LowerIndex)), \
+ (Source)->Buffer, \
+ (unsigned int)((UpperIndex)-(LowerIndex))); \
+ *(unsigned long __RPC_FAR *)&(Source)->Buffer += ((UpperIndex)-(LowerIndex)); \
+ }
+
+#define boolean_from_ndr(source, target) \
+ { \
+ *(target) = *(*(char __RPC_FAR * __RPC_FAR *)&(source)->Buffer)++; \
+ }
+
+#define boolean_array_from_ndr(Source, LowerIndex, UpperIndex, Target) \
+ { \
+ NDRcopy ( \
+ (((char __RPC_FAR *)(Target))+(LowerIndex)), \
+ (Source)->Buffer, \
+ (unsigned int)((UpperIndex)-(LowerIndex))); \
+ *(unsigned long __RPC_FAR *)&(Source)->Buffer += ((UpperIndex)-(LowerIndex)); \
+ }
+
+#define small_from_ndr(source, target) \
+ { \
+ *(target) = *(*(char __RPC_FAR * __RPC_FAR *)&(source)->Buffer)++; \
+ }
+
+#define small_from_ndr_temp(source, target, format) \
+ { \
+ *(target) = *(*(char __RPC_FAR * __RPC_FAR *)(source))++; \
+ }
+
+#define small_array_from_ndr(Source, LowerIndex, UpperIndex, Target) \
+ { \
+ NDRcopy ( \
+ (((char __RPC_FAR *)(Target))+(LowerIndex)), \
+ (Source)->Buffer, \
+ (unsigned int)((UpperIndex)-(LowerIndex))); \
+ *(unsigned long __RPC_FAR *)&(Source)->Buffer += ((UpperIndex)-(LowerIndex)); \
+ }
+
+/****************************************************************************
+ Platform specific mapping of c-runtime functions.
+ ****************************************************************************/
+
+#ifdef __RPC_DOS__
+#define MIDL_ascii_strlen(string) \
+ _fstrlen(string)
+#define MIDL_ascii_strcpy(target,source) \
+ _fstrcpy(target,source)
+#define MIDL_memset(s,c,n) \
+ _fmemset(s,c,n)
+#endif
+
+#ifdef __RPC_WIN16__
+#define MIDL_ascii_strlen(string) \
+ _fstrlen(string)
+#define MIDL_ascii_strcpy(target,source) \
+ _fstrcpy(target,source)
+#define MIDL_memset(s,c,n) \
+ _fmemset(s,c,n)
+#endif
+
+#if defined(__RPC_WIN32__) || defined(__RPC_MAC__)
+#define MIDL_ascii_strlen(string) \
+ strlen(string)
+#define MIDL_ascii_strcpy(target,source) \
+ strcpy(target,source)
+#define MIDL_memset(s,c,n) \
+ memset(s,c,n)
+#endif
+
+/****************************************************************************
+ Ndr Library helper function prototypes for MIDL 1.0 ndr functions.
+ ****************************************************************************/
+
+void RPC_ENTRY
+NDRcopy (
+ IN void __RPC_FAR *pTarget,
+ IN void __RPC_FAR *pSource,
+ IN unsigned int size
+ );
+
+size_t RPC_ENTRY
+MIDL_wchar_strlen (
+ IN wchar_t __RPC_FAR * s
+ );
+
+void RPC_ENTRY
+MIDL_wchar_strcpy (
+ OUT void __RPC_FAR * t,
+ IN wchar_t __RPC_FAR * s
+ );
+
+void RPC_ENTRY
+char_from_ndr (
+ IN OUT PRPC_MESSAGE SourceMessage,
+ OUT unsigned char __RPC_FAR * Target
+ );
+
+void RPC_ENTRY
+char_array_from_ndr (
+ IN OUT PRPC_MESSAGE SourceMessage,
+ IN unsigned long LowerIndex,
+ IN unsigned long UpperIndex,
+ OUT unsigned char __RPC_FAR * Target
+ );
+
+void RPC_ENTRY
+short_from_ndr (
+ IN OUT PRPC_MESSAGE source,
+ OUT unsigned short __RPC_FAR * target
+ );
+
+void RPC_ENTRY
+short_array_from_ndr(
+ IN OUT PRPC_MESSAGE SourceMessage,
+ IN unsigned long LowerIndex,
+ IN unsigned long UpperIndex,
+ OUT unsigned short __RPC_FAR * Target
+ );
+
+void RPC_ENTRY
+short_from_ndr_temp (
+ IN OUT unsigned char __RPC_FAR * __RPC_FAR * source,
+ OUT unsigned short __RPC_FAR * target,
+ IN unsigned long format
+ );
+
+void RPC_ENTRY
+long_from_ndr (
+ IN OUT PRPC_MESSAGE source,
+ OUT unsigned long __RPC_FAR * target
+ );
+
+void RPC_ENTRY
+long_array_from_ndr(
+ IN OUT PRPC_MESSAGE SourceMessage,
+ IN unsigned long LowerIndex,
+ IN unsigned long UpperIndex,
+ OUT unsigned long __RPC_FAR * Target
+ );
+
+void RPC_ENTRY
+long_from_ndr_temp (
+ IN OUT unsigned char __RPC_FAR * __RPC_FAR * source,
+ OUT unsigned long __RPC_FAR * target,
+ IN unsigned long format
+ );
+
+void RPC_ENTRY
+enum_from_ndr(
+ IN OUT PRPC_MESSAGE SourceMessage,
+ OUT unsigned int __RPC_FAR * Target
+ );
+
+void RPC_ENTRY
+float_from_ndr (
+ IN OUT PRPC_MESSAGE SourceMessage,
+ OUT void __RPC_FAR * Target
+ );
+
+void RPC_ENTRY
+float_array_from_ndr (
+ IN OUT PRPC_MESSAGE SourceMessage,
+ IN unsigned long LowerIndex,
+ IN unsigned long UpperIndex,
+ OUT void __RPC_FAR * Target
+ );
+
+void RPC_ENTRY
+double_from_ndr (
+ IN OUT PRPC_MESSAGE SourceMessage,
+ OUT void __RPC_FAR * Target
+ );
+
+void RPC_ENTRY
+double_array_from_ndr (
+ IN OUT PRPC_MESSAGE SourceMessage,
+ IN unsigned long LowerIndex,
+ IN unsigned long UpperIndex,
+ OUT void __RPC_FAR * Target
+ );
+
+void RPC_ENTRY
+hyper_from_ndr (
+ IN OUT PRPC_MESSAGE source,
+ OUT hyper __RPC_FAR * target
+ );
+
+void RPC_ENTRY
+hyper_array_from_ndr(
+ IN OUT PRPC_MESSAGE SourceMessage,
+ IN unsigned long LowerIndex,
+ IN unsigned long UpperIndex,
+ OUT hyper __RPC_FAR * Target
+ );
+
+void RPC_ENTRY
+hyper_from_ndr_temp (
+ IN OUT unsigned char __RPC_FAR * __RPC_FAR * source,
+ OUT hyper __RPC_FAR * target,
+ IN unsigned long format
+ );
+
+void RPC_ENTRY
+data_from_ndr (
+ PRPC_MESSAGE source,
+ void __RPC_FAR * target,
+ char __RPC_FAR * format,
+ unsigned char MscPak
+ );
+
+void RPC_ENTRY
+data_into_ndr (
+ void __RPC_FAR * source,
+ PRPC_MESSAGE target,
+ char __RPC_FAR * format,
+ unsigned char MscPak
+ );
+
+void RPC_ENTRY
+tree_into_ndr (
+ void __RPC_FAR * source,
+ PRPC_MESSAGE target,
+ char __RPC_FAR * format,
+ unsigned char MscPak
+ );
+
+void RPC_ENTRY
+data_size_ndr (
+ void __RPC_FAR * source,
+ PRPC_MESSAGE target,
+ char __RPC_FAR * format,
+ unsigned char MscPak
+ );
+
+void RPC_ENTRY
+tree_size_ndr (
+ void __RPC_FAR * source,
+ PRPC_MESSAGE target,
+ char __RPC_FAR * format,
+ unsigned char MscPak
+ );
+
+void RPC_ENTRY
+tree_peek_ndr (
+ PRPC_MESSAGE source,
+ unsigned char __RPC_FAR * __RPC_FAR * buffer,
+ char __RPC_FAR * format,
+ unsigned char MscPak
+ );
+
+void __RPC_FAR * RPC_ENTRY
+midl_allocate (
+ size_t size
+ );
+
+/****************************************************************************
+ MIDL 2.0 ndr definitions.
+ ****************************************************************************/
+
+typedef unsigned long error_status_t;
+
+#define _midl_ma1( p, cast ) *(*( cast **)&p)++
+#define _midl_ma2( p, cast ) *(*( cast **)&p)++
+#define _midl_ma4( p, cast ) *(*( cast **)&p)++
+#define _midl_ma8( p, cast ) *(*( cast **)&p)++
+
+#define _midl_unma1( p, cast ) *(( cast *)p)++
+#define _midl_unma2( p, cast ) *(( cast *)p)++
+#define _midl_unma3( p, cast ) *(( cast *)p)++
+#define _midl_unma4( p, cast ) *(( cast *)p)++
+
+// Some alignment specific macros.
+
+
+#define _midl_fa2( p ) (p = (RPC_BUFPTR )((unsigned long)(p+1) & 0xfffffffe))
+#define _midl_fa4( p ) (p = (RPC_BUFPTR )((unsigned long)(p+3) & 0xfffffffc))
+#define _midl_fa8( p ) (p = (RPC_BUFPTR )((unsigned long)(p+7) & 0xfffffff8))
+
+#define _midl_addp( p, n ) (p += n)
+
+// Marshalling macros
+
+#define _midl_marsh_lhs( p, cast ) *(*( cast **)&p)++
+#define _midl_marsh_up( mp, p ) *(*(unsigned long **)&mp)++ = (unsigned long)p
+#define _midl_advmp( mp ) *(*(unsigned long **)&mp)++
+#define _midl_unmarsh_up( p ) (*(*(unsigned long **)&p)++)
+
+
+////////////////////////////////////////////////////////////////////////////
+// Ndr macros.
+////////////////////////////////////////////////////////////////////////////
+
+#define NdrMarshConfStringHdr( p, s, l ) (_midl_ma4( p, unsigned long) = s, \
+ _midl_ma4( p, unsigned long) = 0, \
+ _midl_ma4( p, unsigned long) = l)
+
+#define NdrUnMarshConfStringHdr(p, s, l) ((s=_midl_unma4(p,unsigned long),\
+ (_midl_addp(p,4)), \
+ (l=_midl_unma4(p,unsigned long))
+
+#define NdrMarshCCtxtHdl(pc,p) (NDRCContextMarshall( (NDR_CCONTEXT)pc, p ),p+20)
+
+#define NdrUnMarshCCtxtHdl(pc,p,h,drep) \
+ (NDRCContextUnmarshall((NDR_CONTEXT)pc,h,p,drep), p+20)
+
+#define NdrUnMarshSCtxtHdl(pc, p,drep) (pc = NdrSContextUnMarshall(p,drep ))
+
+
+#define NdrMarshSCtxtHdl(pc,p,rd) (NdrSContextMarshall((NDR_SCONTEXT)pc,p, (NDR_RUNDOWN)rd)
+
+#define NdrFieldOffset(s,f) (long)(& (((s __RPC_FAR *)0)->f))
+#define NdrFieldPad(s,f,p,t) (NdrFieldOffset(s,f) - NdrFieldOffset(s,p) - sizeof(t))
+
+#if defined(__RPC_MAC__)
+#define NdrFcShort(s) (unsigned char)(s >> 8), (unsigned char)(s & 0xff)
+#define NdrFcLong(s) (unsigned char)(s >> 24), (unsigned char)((s & 0x00ff0000) >> 16), \
+ (unsigned char)((s & 0x0000ff00) >> 8), (unsigned char)(s & 0xff)
+#else
+#define NdrFcShort(s) (unsigned char)(s & 0xff), (unsigned char)(s >> 8)
+#define NdrFcLong(s) (unsigned char)(s & 0xff), (unsigned char)((s & 0x0000ff00) >> 8), \
+ (unsigned char)((s & 0x00ff0000) >> 16), (unsigned char)(s >> 24)
+#endif // Mac
+
+//
+// On the server side, the following exceptions are mapped to
+// the bad stub data exception if -error stub_data is used.
+//
+
+#define RPC_BAD_STUB_DATA_EXCEPTION_FILTER \
+ ( (RpcExceptionCode() == STATUS_ACCESS_VIOLATION) || \
+ (RpcExceptionCode() == STATUS_DATATYPE_MISALIGNMENT) || \
+ (RpcExceptionCode() == RPC_X_BAD_STUB_DATA) )
+
+/////////////////////////////////////////////////////////////////////////////
+// Some stub helper functions.
+/////////////////////////////////////////////////////////////////////////////
+
+////////////////////////////////////////////////////////////////////////////
+// Stub helper structures.
+////////////////////////////////////////////////////////////////////////////
+
+struct _MIDL_STUB_MESSAGE;
+struct _MIDL_STUB_DESC;
+struct _FULL_PTR_XLAT_TABLES;
+
+typedef unsigned char __RPC_FAR * RPC_BUFPTR;
+typedef unsigned long RPC_LENGTH;
+
+// Expression evaluation callback routine prototype.
+typedef void (__RPC_USER __RPC_FAR * EXPR_EVAL)( struct _MIDL_STUB_MESSAGE __RPC_FAR * );
+
+typedef const unsigned char __RPC_FAR * PFORMAT_STRING;
+
+/*
+ * Multidimensional conformant/varying array struct.
+ */
+typedef struct
+ {
+ long Dimension;
+
+ /* These fields MUST be (unsigned long *) */
+ unsigned long __RPC_FAR * BufferConformanceMark;
+ unsigned long __RPC_FAR * BufferVarianceMark;
+
+ /* Count arrays, used for top level arrays in -Os stubs */
+ unsigned long __RPC_FAR * MaxCountArray;
+ unsigned long __RPC_FAR * OffsetArray;
+ unsigned long __RPC_FAR * ActualCountArray;
+ } ARRAY_INFO, __RPC_FAR *PARRAY_INFO;
+
+/*
+ * Pipe related definitions.
+ */
+
+typedef void
+(__RPC_FAR __RPC_API * NDR_PIPE_PULL_RTN)(
+ char __RPC_FAR * state,
+ void __RPC_FAR * buf,
+ unsigned long esize,
+ unsigned long __RPC_FAR * ecount );
+
+typedef void
+(__RPC_FAR __RPC_API * NDR_PIPE_PUSH_RTN)(
+ char __RPC_FAR * state,
+ void __RPC_FAR * buf,
+ unsigned long ecount );
+
+typedef void
+(__RPC_FAR __RPC_API * NDR_PIPE_ALLOC_RTN)(
+ char __RPC_FAR * state,
+ unsigned long bsize,
+ void __RPC_FAR * __RPC_FAR * buf,
+ unsigned long __RPC_FAR * bcount );
+
+
+typedef struct _GENERIC_PIPE_TYPE
+ {
+ NDR_PIPE_PULL_RTN pfnPull;
+ NDR_PIPE_PUSH_RTN pfnPush;
+ NDR_PIPE_ALLOC_RTN pfnAlloc;
+ char __RPC_FAR * pState;
+ } GENERIC_PIPE_TYPE;
+
+
+typedef struct {
+ int CurrentState;
+ int ElemsInChunk;
+ int ElemAlign;
+ int ElemWireSize;
+ int ElemMemSize;
+ int PartialBufferSize;
+ unsigned char __RPC_FAR * PartialElem;
+ int PartialElemSize;
+ int PartialOffset;
+ int EndOfPipe;
+ } NDR_PIPE_STATE;
+
+typedef struct _PIPE_MESSAGE
+ {
+ unsigned short Signature;
+ unsigned short PipeId;
+ GENERIC_PIPE_TYPE __RPC_FAR * pPipeType;
+ PFORMAT_STRING pTypeFormat;
+ unsigned short PipeStatus;
+ unsigned short PipeFlags;
+ struct _MIDL_STUB_MESSAGE __RPC_FAR * pStubMsg;
+ } NDR_PIPE_MESSAGE, __RPC_FAR * PNDR_PIPE_MESSAGE;
+
+typedef struct _NDR_PIPE_DESC
+ {
+ NDR_PIPE_MESSAGE __RPC_FAR * pPipeMsg;
+ short CurrentPipe;
+ short InPipes;
+ short OutPipes;
+ short TotalPipes;
+ short PipeVersion;
+ short Flags;
+ unsigned char __RPC_FAR * DispatchBuffer;
+ unsigned char __RPC_FAR * LastPartialBuffer;
+ unsigned long LastPartialSize;
+ unsigned char __RPC_FAR * BufferSave;
+ unsigned long LengthSave;
+ NDR_PIPE_STATE RuntimeState;
+ } NDR_PIPE_DESC, __RPC_FAR * PNDR_PIPE_DESC;
+
+
+/*
+ * MIDL Stub Message
+ */
+#if !defined(__RPC_DOS__) && !defined(__RPC_WIN16__) && !defined(__RPC_MAC__)
+#include <pshpack4.h>
+#endif
+
+typedef struct _MIDL_STUB_MESSAGE
+ {
+ /* RPC message structure. */
+ PRPC_MESSAGE RpcMsg;
+
+ /* Pointer into RPC message buffer. */
+ unsigned char __RPC_FAR * Buffer;
+
+ /*
+ * These are used internally by the Ndr routines to mark the beginning
+ * and end of an incoming RPC buffer.
+ */
+ unsigned char __RPC_FAR * BufferStart;
+ unsigned char __RPC_FAR * BufferEnd;
+
+ /*
+ * Used internally by the Ndr routines as a place holder in the buffer.
+ * On the marshalling side it's used to mark the location where conformance
+ * size should be marshalled.
+ * On the unmarshalling side it's used to mark the location in the buffer
+ * used during pointer unmarshalling to base pointer offsets off of.
+ */
+ unsigned char __RPC_FAR * BufferMark;
+
+ /* Set by the buffer sizing routines. */
+ unsigned long BufferLength;
+
+ /* Set by the memory sizing routines. */
+ unsigned long MemorySize;
+
+ /* Pointer to user memory. */
+ unsigned char __RPC_FAR * Memory;
+
+ /* Is the Ndr routine begin called from a client side stub. */
+ int IsClient;
+
+ /* Can the buffer be re-used for memory on unmarshalling. */
+ int ReuseBuffer;
+
+ /* Holds the current pointer to an allocate all nodes memory block. */
+ unsigned char __RPC_FAR * AllocAllNodesMemory;
+
+ /* Used for debugging asserts only, remove later. */
+ unsigned char __RPC_FAR * AllocAllNodesMemoryEnd;
+
+ /*
+ * Stuff needed while handling complex structures
+ */
+
+ /* Ignore imbeded pointers while computing buffer or memory sizes. */
+ int IgnoreEmbeddedPointers;
+
+ /*
+ * This marks the location in the buffer where pointees of a complex
+ * struct reside.
+ */
+ unsigned char __RPC_FAR * PointerBufferMark;
+
+ /*
+ * Used to catch errors in SendReceive.
+ */
+ unsigned char fBufferValid;
+
+ /*
+ * Obsolete unused field (formerly MaxContextHandleNumber).
+ */
+ unsigned char Unused;
+
+ /*
+ * Used internally by the Ndr routines. Holds the max counts for
+ * a conformant array.
+ */
+ unsigned long MaxCount;
+
+ /*
+ * Used internally by the Ndr routines. Holds the offsets for a varying
+ * array.
+ */
+ unsigned long Offset;
+
+ /*
+ * Used internally by the Ndr routines. Holds the actual counts for
+ * a varying array.
+ */
+ unsigned long ActualCount;
+
+ /* Allocation and Free routine to be used by the Ndr routines. */
+ void __RPC_FAR * (__RPC_FAR __RPC_API * pfnAllocate)(size_t);
+ void (__RPC_FAR __RPC_API * pfnFree)(void __RPC_FAR *);
+
+ /*
+ * Top of parameter stack. Used for "single call" stubs during marshalling
+ * to hold the beginning of the parameter list on the stack. Needed to
+ * extract parameters which hold attribute values for top level arrays and
+ * pointers.
+ */
+ unsigned char __RPC_FAR * StackTop;
+
+ /*
+ * Fields used for the transmit_as and represent_as objects.
+ * For represent_as the mapping is: presented=local, transmit=named.
+ */
+ unsigned char __RPC_FAR * pPresentedType;
+ unsigned char __RPC_FAR * pTransmitType;
+
+ /*
+ * When we first construct a binding on the client side, stick it
+ * in the rpcmessage and later call RpcGetBuffer, the handle field
+ * in the rpcmessage is changed. That's fine except that we need to
+ * have that original handle for use in unmarshalling context handles
+ * (the second argument in NDRCContextUnmarshall to be exact). So
+ * stash the contructed handle here and extract it when needed.
+ */
+ handle_t SavedHandle;
+
+ /*
+ * Pointer back to the stub descriptor. Use this to get all handle info.
+ */
+ const struct _MIDL_STUB_DESC __RPC_FAR * StubDesc;
+
+ /*
+ * Full pointer stuff.
+ */
+ struct _FULL_PTR_XLAT_TABLES __RPC_FAR * FullPtrXlatTables;
+
+ unsigned long FullPtrRefId;
+
+ /*
+ * flags
+ */
+
+ int fCheckBounds;
+
+ int fInDontFree :1;
+ int fDontCallFreeInst :1;
+ int fInOnlyParam :1;
+ int fHasReturn :1;
+
+ unsigned long dwDestContext;
+ void __RPC_FAR * pvDestContext;
+
+ NDR_SCONTEXT * SavedContextHandles;
+
+ long ParamNumber;
+
+ struct IRpcChannelBuffer __RPC_FAR * pRpcChannelBuffer;
+
+ PARRAY_INFO pArrayInfo;
+
+ /*
+ * This is where the Beta2 stub message ends.
+ */
+
+ unsigned long __RPC_FAR * SizePtrCountArray;
+ unsigned long __RPC_FAR * SizePtrOffsetArray;
+ unsigned long __RPC_FAR * SizePtrLengthArray;
+
+ /*
+ * Interpreter argument queue. Used on server side only.
+ */
+ void __RPC_FAR * pArgQueue;
+
+ unsigned long dwStubPhase;
+
+ /*
+ * Pipe descriptor, defined for the 4.0 release.
+ */
+
+ NDR_PIPE_DESC __RPC_FAR * pPipeDesc;
+
+ unsigned long Reserved[4];
+
+ /*
+ * Fields up to this point present since the 3.50 release.
+ */
+
+ } MIDL_STUB_MESSAGE, __RPC_FAR *PMIDL_STUB_MESSAGE;
+
+#if !defined(__RPC_DOS__) && !defined(__RPC_WIN16__) && !defined(__RPC_MAC__)
+#include <poppack.h>
+#endif
+
+/*
+ * Generic handle bind/unbind routine pair.
+ */
+typedef void __RPC_FAR *
+ (__RPC_FAR __RPC_API * GENERIC_BINDING_ROUTINE)
+ (void __RPC_FAR *);
+typedef void
+ (__RPC_FAR __RPC_API * GENERIC_UNBIND_ROUTINE)
+ (void __RPC_FAR *, unsigned char __RPC_FAR *);
+
+typedef struct _GENERIC_BINDING_ROUTINE_PAIR
+ {
+ GENERIC_BINDING_ROUTINE pfnBind;
+ GENERIC_UNBIND_ROUTINE pfnUnbind;
+ } GENERIC_BINDING_ROUTINE_PAIR, __RPC_FAR *PGENERIC_BINDING_ROUTINE_PAIR;
+
+typedef struct __GENERIC_BINDING_INFO
+ {
+ void __RPC_FAR * pObj;
+ unsigned int Size;
+ GENERIC_BINDING_ROUTINE pfnBind;
+ GENERIC_UNBIND_ROUTINE pfnUnbind;
+ } GENERIC_BINDING_INFO, __RPC_FAR *PGENERIC_BINDING_INFO;
+
+// typedef EXPR_EVAL - see above
+// typedefs for xmit_as
+
+#if (defined(_MSC_VER)) && !defined(MIDL_PASS)
+// a Microsoft C++ compiler
+#define NDR_SHAREABLE __inline
+#else
+#define NDR_SHAREABLE static
+#endif
+
+
+typedef void (__RPC_FAR __RPC_USER * XMIT_HELPER_ROUTINE)
+ ( PMIDL_STUB_MESSAGE );
+
+typedef struct _XMIT_ROUTINE_QUINTUPLE
+ {
+ XMIT_HELPER_ROUTINE pfnTranslateToXmit;
+ XMIT_HELPER_ROUTINE pfnTranslateFromXmit;
+ XMIT_HELPER_ROUTINE pfnFreeXmit;
+ XMIT_HELPER_ROUTINE pfnFreeInst;
+ } XMIT_ROUTINE_QUINTUPLE, __RPC_FAR *PXMIT_ROUTINE_QUINTUPLE;
+
+typedef unsigned long
+(__RPC_FAR __RPC_USER * USER_MARSHAL_SIZING_ROUTINE)
+ (unsigned long __RPC_FAR *,
+ unsigned long,
+ void __RPC_FAR * );
+
+typedef unsigned char __RPC_FAR *
+(__RPC_FAR __RPC_USER * USER_MARSHAL_MARSHALLING_ROUTINE)
+ (unsigned long __RPC_FAR *,
+ unsigned char __RPC_FAR * ,
+ void __RPC_FAR * );
+
+typedef unsigned char __RPC_FAR *
+(__RPC_FAR __RPC_USER * USER_MARSHAL_UNMARSHALLING_ROUTINE)
+ (unsigned long __RPC_FAR *,
+ unsigned char __RPC_FAR * ,
+ void __RPC_FAR * );
+
+typedef void (__RPC_FAR __RPC_USER * USER_MARSHAL_FREEING_ROUTINE)
+ (unsigned long __RPC_FAR *,
+ void __RPC_FAR * );
+
+typedef struct _USER_MARSHAL_ROUTINE_QUADRUPLE
+ {
+ USER_MARSHAL_SIZING_ROUTINE pfnBufferSize;
+ USER_MARSHAL_MARSHALLING_ROUTINE pfnMarshall;
+ USER_MARSHAL_UNMARSHALLING_ROUTINE pfnUnmarshall;
+ USER_MARSHAL_FREEING_ROUTINE pfnFree;
+ } USER_MARSHAL_ROUTINE_QUADRUPLE;
+
+typedef struct _USER_MARSHAL_CB
+{
+ unsigned long Flags;
+ PMIDL_STUB_MESSAGE pStubMsg;
+ PFORMAT_STRING pReserve;
+} USER_MARSHAL_CB;
+
+
+#define USER_CALL_CTXT_MASK(f) ((f) & 0xff)
+#define GET_USER_DATA_REP(f) ((f) >> 16)
+
+typedef struct _MALLOC_FREE_STRUCT
+ {
+ void __RPC_FAR * (__RPC_FAR __RPC_USER * pfnAllocate)(size_t);
+ void (__RPC_FAR __RPC_USER * pfnFree)(void __RPC_FAR *);
+ } MALLOC_FREE_STRUCT;
+
+typedef struct _COMM_FAULT_OFFSETS
+ {
+ short CommOffset;
+ short FaultOffset;
+ } COMM_FAULT_OFFSETS;
+
+/*
+ * MIDL Stub Descriptor
+ */
+
+typedef struct _MIDL_STUB_DESC
+ {
+
+ void __RPC_FAR * RpcInterfaceInformation;
+
+ void __RPC_FAR * (__RPC_FAR __RPC_API * pfnAllocate)(size_t);
+ void (__RPC_FAR __RPC_API * pfnFree)(void __RPC_FAR *);
+
+ union
+ {
+ handle_t __RPC_FAR * pAutoHandle;
+ handle_t __RPC_FAR * pPrimitiveHandle;
+ PGENERIC_BINDING_INFO pGenericBindingInfo;
+ } IMPLICIT_HANDLE_INFO;
+
+ const NDR_RUNDOWN __RPC_FAR * apfnNdrRundownRoutines;
+ const GENERIC_BINDING_ROUTINE_PAIR __RPC_FAR * aGenericBindingRoutinePairs;
+
+ const EXPR_EVAL __RPC_FAR * apfnExprEval;
+
+ const XMIT_ROUTINE_QUINTUPLE __RPC_FAR * aXmitQuintuple;
+
+ const unsigned char __RPC_FAR * pFormatTypes;
+
+ int fCheckBounds;
+
+ /* Ndr library version. */
+ unsigned long Version;
+
+ /*
+ * Reserved for future use. (no reserves )
+ */
+
+ MALLOC_FREE_STRUCT __RPC_FAR * pMallocFreeStruct;
+
+ long MIDLVersion;
+
+ const COMM_FAULT_OFFSETS __RPC_FAR * CommFaultOffsets;
+
+ // New fields for version 3.0+
+
+ const USER_MARSHAL_ROUTINE_QUADRUPLE __RPC_FAR * aUserMarshalQuadruple;
+
+ long Reserved1;
+ long Reserved2;
+ long Reserved3;
+ long Reserved4;
+ long Reserved5;
+
+ } MIDL_STUB_DESC;
+
+typedef const MIDL_STUB_DESC __RPC_FAR * PMIDL_STUB_DESC;
+
+typedef void __RPC_FAR * PMIDL_XMIT_TYPE;
+
+/*
+ * MIDL Stub Format String. This is a const in the stub.
+ */
+#if !defined( RC_INVOKED )
+#pragma warning( disable:4200 )
+#endif
+typedef struct _MIDL_FORMAT_STRING
+ {
+ short Pad;
+ unsigned char Format[];
+ } MIDL_FORMAT_STRING;
+#if !defined( RC_INVOKED )
+#pragma warning( default:4200 )
+#endif
+
+/*
+ * Stub thunk used for some interpreted server stubs.
+ */
+typedef void (__RPC_FAR __RPC_API * STUB_THUNK)( PMIDL_STUB_MESSAGE );
+
+typedef long (__RPC_FAR __RPC_API * SERVER_ROUTINE)();
+
+/*
+ * Server Interpreter's information strucuture.
+ */
+typedef struct _MIDL_SERVER_INFO_
+ {
+ PMIDL_STUB_DESC pStubDesc;
+ const SERVER_ROUTINE * DispatchTable;
+ PFORMAT_STRING ProcString;
+ const unsigned short * FmtStringOffset;
+ const STUB_THUNK * ThunkTable;
+ PFORMAT_STRING LocalFormatTypes;
+ PFORMAT_STRING LocalProcString;
+ const unsigned short * LocalFmtStringOffset;
+ } MIDL_SERVER_INFO, *PMIDL_SERVER_INFO;
+
+/*
+ * Stubless object proxy information structure.
+ */
+typedef struct _MIDL_STUBLESS_PROXY_INFO
+ {
+ PMIDL_STUB_DESC pStubDesc;
+ PFORMAT_STRING ProcFormatString;
+ const unsigned short __RPC_FAR * FormatStringOffset;
+ PFORMAT_STRING LocalFormatTypes;
+ PFORMAT_STRING LocalProcString;
+ const unsigned short __RPC_FAR * LocalFmtStringOffset;
+ } MIDL_STUBLESS_PROXY_INFO;
+
+typedef MIDL_STUBLESS_PROXY_INFO __RPC_FAR * PMIDL_STUBLESS_PROXY_INFO;
+
+/*
+ * This is the return value from NdrClientCall.
+ */
+typedef union _CLIENT_CALL_RETURN
+ {
+ void __RPC_FAR * Pointer;
+ long Simple;
+ } CLIENT_CALL_RETURN;
+
+/*
+ * Full pointer data structures.
+ */
+
+typedef enum
+ {
+ XLAT_SERVER = 1,
+ XLAT_CLIENT
+ } XLAT_SIDE;
+
+/*
+ * Stores the translation for the conversion from a full pointer into it's
+ * corresponding ref id.
+ */
+typedef struct _FULL_PTR_TO_REFID_ELEMENT
+ {
+ struct _FULL_PTR_TO_REFID_ELEMENT __RPC_FAR * Next;
+
+ void __RPC_FAR * Pointer;
+ unsigned long RefId;
+ unsigned char State;
+ } FULL_PTR_TO_REFID_ELEMENT, __RPC_FAR *PFULL_PTR_TO_REFID_ELEMENT;
+
+/*
+ * Full pointer translation tables.
+ */
+typedef struct _FULL_PTR_XLAT_TABLES
+ {
+ /*
+ * Ref id to pointer translation information.
+ */
+ struct
+ {
+ void __RPC_FAR *__RPC_FAR * XlatTable;
+ unsigned char __RPC_FAR * StateTable;
+ unsigned long NumberOfEntries;
+ } RefIdToPointer;
+
+ /*
+ * Pointer to ref id translation information.
+ */
+ struct
+ {
+ PFULL_PTR_TO_REFID_ELEMENT __RPC_FAR * XlatTable;
+ unsigned long NumberOfBuckets;
+ unsigned long HashMask;
+ } PointerToRefId;
+
+ /*
+ * Next ref id to use.
+ */
+ unsigned long NextRefId;
+
+ /*
+ * Keep track of the translation size we're handling : server or client.
+ * This tells us when we have to do reverse translations when we insert
+ * new translations. On the server we must insert a pointer-to-refid
+ * translation whenever we insert a refid-to-pointer translation, and
+ * vica versa for the client.
+ */
+ XLAT_SIDE XlatSide;
+ } FULL_PTR_XLAT_TABLES, __RPC_FAR *PFULL_PTR_XLAT_TABLES;
+
+/***************************************************************************
+ ** New MIDL 2.0 Ndr routine templates
+ ***************************************************************************/
+
+/*
+ * Marshall routines
+ */
+
+void RPC_ENTRY
+NdrSimpleTypeMarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ unsigned char FormatChar
+ );
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrPointerMarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+/* Structures */
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrSimpleStructMarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrConformantStructMarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrConformantVaryingStructMarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrHardStructMarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrComplexStructMarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+/* Arrays */
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrFixedArrayMarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrConformantArrayMarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrConformantVaryingArrayMarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrVaryingArrayMarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrComplexArrayMarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+/* Strings */
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrNonConformantStringMarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrConformantStringMarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+/* Unions */
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrEncapsulatedUnionMarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrNonEncapsulatedUnionMarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+/* Byte count pointer */
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrByteCountPointerMarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+/* Transmit as and represent as*/
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrXmitOrRepAsMarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+/* User_marshal */
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrUserMarshalMarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+/* Cairo interface pointer */
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrInterfacePointerMarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+/* Context handles */
+
+void RPC_ENTRY
+NdrClientContextMarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ NDR_CCONTEXT ContextHandle,
+ int fCheck
+ );
+
+void RPC_ENTRY
+NdrServerContextMarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ NDR_SCONTEXT ContextHandle,
+ NDR_RUNDOWN RundownRoutine
+ );
+
+/*
+ * Unmarshall routines
+ */
+
+void RPC_ENTRY
+NdrSimpleTypeUnmarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ unsigned char FormatChar
+ );
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrPointerUnmarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
+ PFORMAT_STRING pFormat,
+ unsigned char fMustAlloc
+ );
+
+/* Structures */
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrSimpleStructUnmarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
+ PFORMAT_STRING pFormat,
+ unsigned char fMustAlloc
+ );
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrConformantStructUnmarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
+ PFORMAT_STRING pFormat,
+ unsigned char fMustAlloc
+ );
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrConformantVaryingStructUnmarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
+ PFORMAT_STRING pFormat,
+ unsigned char fMustAlloc
+ );
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrHardStructUnmarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
+ PFORMAT_STRING pFormat,
+ unsigned char fMustAlloc
+ );
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrComplexStructUnmarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
+ PFORMAT_STRING pFormat,
+ unsigned char fMustAlloc
+ );
+
+/* Arrays */
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrFixedArrayUnmarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
+ PFORMAT_STRING pFormat,
+ unsigned char fMustAlloc
+ );
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrConformantArrayUnmarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
+ PFORMAT_STRING pFormat,
+ unsigned char fMustAlloc
+ );
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrConformantVaryingArrayUnmarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
+ PFORMAT_STRING pFormat,
+ unsigned char fMustAlloc
+ );
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrVaryingArrayUnmarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
+ PFORMAT_STRING pFormat,
+ unsigned char fMustAlloc
+ );
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrComplexArrayUnmarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
+ PFORMAT_STRING pFormat,
+ unsigned char fMustAlloc
+ );
+
+/* Strings */
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrNonConformantStringUnmarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
+ PFORMAT_STRING pFormat,
+ unsigned char fMustAlloc
+ );
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrConformantStringUnmarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
+ PFORMAT_STRING pFormat,
+ unsigned char fMustAlloc
+ );
+
+/* Unions */
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrEncapsulatedUnionUnmarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
+ PFORMAT_STRING pFormat,
+ unsigned char fMustAlloc
+ );
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrNonEncapsulatedUnionUnmarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
+ PFORMAT_STRING pFormat,
+ unsigned char fMustAlloc
+ );
+
+/* Byte count pointer */
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrByteCountPointerUnmarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
+ PFORMAT_STRING pFormat,
+ unsigned char fMustAlloc
+ );
+
+/* Transmit as and represent as*/
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrXmitOrRepAsUnmarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
+ PFORMAT_STRING pFormat,
+ unsigned char fMustAlloc
+ );
+
+/* User_marshal */
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrUserMarshalUnmarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
+ PFORMAT_STRING pFormat,
+ unsigned char fMustAlloc
+ );
+
+/* Cairo interface pointer */
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrInterfacePointerUnmarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
+ PFORMAT_STRING pFormat,
+ unsigned char fMustAlloc
+ );
+
+/* Context handles */
+
+void RPC_ENTRY
+NdrClientContextUnmarshall(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ NDR_CCONTEXT __RPC_FAR * pContextHandle,
+ RPC_BINDING_HANDLE BindHandle
+ );
+
+NDR_SCONTEXT RPC_ENTRY
+NdrServerContextUnmarshall(
+ PMIDL_STUB_MESSAGE pStubMsg
+ );
+
+/*
+ * Buffer sizing routines
+ */
+
+void RPC_ENTRY
+NdrPointerBufferSize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+/* Structures */
+
+void RPC_ENTRY
+NdrSimpleStructBufferSize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+void RPC_ENTRY
+NdrConformantStructBufferSize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+void RPC_ENTRY
+NdrConformantVaryingStructBufferSize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+void RPC_ENTRY
+NdrHardStructBufferSize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+void RPC_ENTRY
+NdrComplexStructBufferSize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+/* Arrays */
+
+void RPC_ENTRY
+NdrFixedArrayBufferSize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+void RPC_ENTRY
+NdrConformantArrayBufferSize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+void RPC_ENTRY
+NdrConformantVaryingArrayBufferSize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+void RPC_ENTRY
+NdrVaryingArrayBufferSize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+void RPC_ENTRY
+NdrComplexArrayBufferSize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+/* Strings */
+
+void RPC_ENTRY
+NdrConformantStringBufferSize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+void RPC_ENTRY
+NdrNonConformantStringBufferSize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+/* Unions */
+
+void RPC_ENTRY
+NdrEncapsulatedUnionBufferSize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+void RPC_ENTRY
+NdrNonEncapsulatedUnionBufferSize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+/* Byte count pointer */
+
+void RPC_ENTRY
+NdrByteCountPointerBufferSize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+/* Transmit as and represent as*/
+
+void RPC_ENTRY
+NdrXmitOrRepAsBufferSize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+/* User_marshal */
+
+void RPC_ENTRY
+NdrUserMarshalBufferSize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+/* Cairo Interface pointer */
+
+void RPC_ENTRY
+NdrInterfacePointerBufferSize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+// Context Handle size
+//
+void RPC_ENTRY
+NdrContextHandleSize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+/*
+ * Memory sizing routines
+ */
+
+unsigned long RPC_ENTRY
+NdrPointerMemorySize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ PFORMAT_STRING pFormat
+ );
+
+/* Structures */
+
+unsigned long RPC_ENTRY
+NdrSimpleStructMemorySize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ PFORMAT_STRING pFormat
+ );
+
+unsigned long RPC_ENTRY
+NdrConformantStructMemorySize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ PFORMAT_STRING pFormat
+ );
+
+unsigned long RPC_ENTRY
+NdrConformantVaryingStructMemorySize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ PFORMAT_STRING pFormat
+ );
+
+unsigned long RPC_ENTRY
+NdrHardStructMemorySize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ PFORMAT_STRING pFormat
+ );
+
+unsigned long RPC_ENTRY
+NdrComplexStructMemorySize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ PFORMAT_STRING pFormat
+ );
+
+/* Arrays */
+
+unsigned long RPC_ENTRY
+NdrFixedArrayMemorySize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ PFORMAT_STRING pFormat
+ );
+
+unsigned long RPC_ENTRY
+NdrConformantArrayMemorySize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ PFORMAT_STRING pFormat
+ );
+
+unsigned long RPC_ENTRY
+NdrConformantVaryingArrayMemorySize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ PFORMAT_STRING pFormat
+ );
+
+unsigned long RPC_ENTRY
+NdrVaryingArrayMemorySize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ PFORMAT_STRING pFormat
+ );
+
+unsigned long RPC_ENTRY
+NdrComplexArrayMemorySize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ PFORMAT_STRING pFormat
+ );
+
+/* Strings */
+
+unsigned long RPC_ENTRY
+NdrConformantStringMemorySize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ PFORMAT_STRING pFormat
+ );
+
+unsigned long RPC_ENTRY
+NdrNonConformantStringMemorySize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ PFORMAT_STRING pFormat
+ );
+
+/* Unions */
+
+unsigned long RPC_ENTRY
+NdrEncapsulatedUnionMemorySize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ PFORMAT_STRING pFormat
+ );
+
+unsigned long RPC_ENTRY
+NdrNonEncapsulatedUnionMemorySize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ PFORMAT_STRING pFormat
+ );
+
+/* Transmit as and represent as*/
+
+unsigned long RPC_ENTRY
+NdrXmitOrRepAsMemorySize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ PFORMAT_STRING pFormat
+ );
+
+/* User_marshal */
+
+unsigned long RPC_ENTRY
+NdrUserMarshalMemorySize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ PFORMAT_STRING pFormat
+ );
+
+/* Cairo Interface pointer */
+
+unsigned long RPC_ENTRY
+NdrInterfacePointerMemorySize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ PFORMAT_STRING pFormat
+ );
+
+/*
+ * Freeing routines
+ */
+
+void RPC_ENTRY
+NdrPointerFree(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+/* Structures */
+
+void RPC_ENTRY
+NdrSimpleStructFree(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+void RPC_ENTRY
+NdrConformantStructFree(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+void RPC_ENTRY
+NdrConformantVaryingStructFree(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+void RPC_ENTRY
+NdrHardStructFree(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+void RPC_ENTRY
+NdrComplexStructFree(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+/* Arrays */
+
+void RPC_ENTRY
+NdrFixedArrayFree(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+void RPC_ENTRY
+NdrConformantArrayFree(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+void RPC_ENTRY
+NdrConformantVaryingArrayFree(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+void RPC_ENTRY
+NdrVaryingArrayFree(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+void RPC_ENTRY
+NdrComplexArrayFree(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+/* Unions */
+
+void RPC_ENTRY
+NdrEncapsulatedUnionFree(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+void RPC_ENTRY
+NdrNonEncapsulatedUnionFree(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+/* Byte count */
+
+void RPC_ENTRY
+NdrByteCountPointerFree(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+/* Transmit as and represent as*/
+
+void RPC_ENTRY
+NdrXmitOrRepAsFree(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+/* User_marshal */
+
+void RPC_ENTRY
+NdrUserMarshalFree(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+/* Cairo Interface pointer */
+
+void RPC_ENTRY
+NdrInterfacePointerFree(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pMemory,
+ PFORMAT_STRING pFormat
+ );
+
+/*
+ * Endian conversion routine.
+ */
+
+void RPC_ENTRY
+NdrConvert2(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ PFORMAT_STRING pFormat,
+ long NumberParams
+ );
+
+void RPC_ENTRY
+NdrConvert(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ PFORMAT_STRING pFormat
+ );
+
+#define USER_MARSHAL_FC_BYTE 1
+#define USER_MARSHAL_FC_CHAR 2
+#define USER_MARSHAL_FC_SMALL 3
+#define USER_MARSHAL_FC_USMALL 4
+#define USER_MARSHAL_FC_WCHAR 5
+#define USER_MARSHAL_FC_SHORT 6
+#define USER_MARSHAL_FC_USHORT 7
+#define USER_MARSHAL_FC_LONG 8
+#define USER_MARSHAL_FC_ULONG 9
+#define USER_MARSHAL_FC_FLOAT 10
+#define USER_MARSHAL_FC_HYPER 11
+#define USER_MARSHAL_FC_DOUBLE 12
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrUserMarshalSimpleTypeConvert(
+ unsigned long * pFlags,
+ unsigned char * pBuffer,
+ unsigned char FormatChar
+ );
+
+/*
+ * Auxilary routines
+ */
+
+void RPC_ENTRY
+NdrClientInitializeNew(
+ PRPC_MESSAGE pRpcMsg,
+ PMIDL_STUB_MESSAGE pStubMsg,
+ PMIDL_STUB_DESC pStubDescriptor,
+ unsigned int ProcNum
+ );
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrServerInitializeNew(
+ PRPC_MESSAGE pRpcMsg,
+ PMIDL_STUB_MESSAGE pStubMsg,
+ PMIDL_STUB_DESC pStubDescriptor
+ );
+
+void RPC_ENTRY
+NdrServerInitializePartial(
+ PRPC_MESSAGE pRpcMsg,
+ PMIDL_STUB_MESSAGE pStubMsg,
+ PMIDL_STUB_DESC pStubDescriptor,
+ unsigned long RequestedBufferSize
+ );
+
+void RPC_ENTRY
+NdrClientInitialize(
+ PRPC_MESSAGE pRpcMsg,
+ PMIDL_STUB_MESSAGE pStubMsg,
+ PMIDL_STUB_DESC pStubDescriptor,
+ unsigned int ProcNum
+ );
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrServerInitialize(
+ PRPC_MESSAGE pRpcMsg,
+ PMIDL_STUB_MESSAGE pStubMsg,
+ PMIDL_STUB_DESC pStubDescriptor
+ );
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrServerInitializeUnmarshall (
+ PMIDL_STUB_MESSAGE pStubMsg,
+ PMIDL_STUB_DESC pStubDescriptor,
+ PRPC_MESSAGE pRpcMsg
+ );
+
+void RPC_ENTRY
+NdrServerInitializeMarshall (
+ PRPC_MESSAGE pRpcMsg,
+ PMIDL_STUB_MESSAGE pStubMsg
+ );
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrGetBuffer(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned long BufferLength,
+ RPC_BINDING_HANDLE Handle
+ );
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrNsGetBuffer(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned long BufferLength,
+ RPC_BINDING_HANDLE Handle
+ );
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrGetPipeBuffer(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned long BufferLength,
+ RPC_BINDING_HANDLE Handle );
+
+void RPC_ENTRY
+NdrGetPartialBuffer(
+ PMIDL_STUB_MESSAGE pStubMsg );
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrSendReceive(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR* pBufferEnd
+ );
+
+unsigned char __RPC_FAR * RPC_ENTRY
+NdrNsSendReceive(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR * pBufferEnd,
+ RPC_BINDING_HANDLE __RPC_FAR * pAutoHandle
+ );
+
+void RPC_ENTRY
+NdrPipeSendReceive(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ NDR_PIPE_DESC * pPipeDesc
+ );
+
+void RPC_ENTRY
+NdrFreeBuffer(
+ PMIDL_STUB_MESSAGE pStubMsg
+ );
+
+
+/*
+ * Pipe specific calls
+ */
+
+void RPC_ENTRY
+NdrPipesInitialize(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ PFORMAT_STRING pParamDesc,
+ NDR_PIPE_DESC __RPC_FAR * pPipeDesc,
+ NDR_PIPE_MESSAGE __RPC_FAR * pPipeMsg,
+ char __RPC_FAR * pStackTop,
+ unsigned long NumberParams );
+
+void
+NdrMarkNextActivePipe(
+ NDR_PIPE_DESC __RPC_FAR * pPipeDesc,
+ unsigned int DirectionMask );
+
+void RPC_ENTRY
+NdrPipePull(
+ char __RPC_FAR * pState,
+ void __RPC_FAR * buf,
+ unsigned long esize,
+ unsigned long __RPC_FAR * ecount );
+
+void RPC_ENTRY
+NdrPipePush(
+ char __RPC_FAR * pState,
+ void __RPC_FAR * buf,
+ unsigned long ecount );
+
+void RPC_ENTRY
+NdrIsAppDoneWithPipes(
+ NDR_PIPE_DESC * pPipeDesc
+ );
+
+void RPC_ENTRY
+NdrPipesDone(
+ PMIDL_STUB_MESSAGE pStubMsg
+ );
+
+
+/*
+ * Interpeter calls.
+ */
+
+/* client */
+
+CLIENT_CALL_RETURN RPC_VAR_ENTRY
+NdrClientCall2(
+ PMIDL_STUB_DESC pStubDescriptor,
+ PFORMAT_STRING pFormat,
+ ...
+ );
+
+CLIENT_CALL_RETURN RPC_VAR_ENTRY
+NdrClientCall(
+ PMIDL_STUB_DESC pStubDescriptor,
+ PFORMAT_STRING pFormat,
+ ...
+ );
+
+/* server */
+typedef enum {
+ STUB_UNMARSHAL,
+ STUB_CALL_SERVER,
+ STUB_MARSHAL,
+ STUB_CALL_SERVER_NO_HRESULT
+}STUB_PHASE;
+
+typedef enum {
+ PROXY_CALCSIZE,
+ PROXY_GETBUFFER,
+ PROXY_MARSHAL,
+ PROXY_SENDRECEIVE,
+ PROXY_UNMARSHAL
+}PROXY_PHASE;
+
+long RPC_ENTRY
+NdrStubCall2(
+ struct IRpcStubBuffer __RPC_FAR * pThis,
+ struct IRpcChannelBuffer __RPC_FAR * pChannel,
+ PRPC_MESSAGE pRpcMsg,
+ unsigned long __RPC_FAR * pdwStubPhase
+ );
+
+void RPC_ENTRY
+NdrServerCall2(
+ PRPC_MESSAGE pRpcMsg
+ );
+
+long RPC_ENTRY
+NdrStubCall (
+ struct IRpcStubBuffer __RPC_FAR * pThis,
+ struct IRpcChannelBuffer __RPC_FAR * pChannel,
+ PRPC_MESSAGE pRpcMsg,
+ unsigned long __RPC_FAR * pdwStubPhase
+ );
+
+void RPC_ENTRY
+NdrServerCall(
+ PRPC_MESSAGE pRpcMsg
+ );
+
+int RPC_ENTRY
+NdrServerUnmarshall(
+ struct IRpcChannelBuffer __RPC_FAR * pChannel,
+ PRPC_MESSAGE pRpcMsg,
+ PMIDL_STUB_MESSAGE pStubMsg,
+ PMIDL_STUB_DESC pStubDescriptor,
+ PFORMAT_STRING pFormat,
+ void __RPC_FAR * pParamList
+ );
+
+void RPC_ENTRY
+NdrServerMarshall(
+ struct IRpcStubBuffer __RPC_FAR * pThis,
+ struct IRpcChannelBuffer __RPC_FAR * pChannel,
+ PMIDL_STUB_MESSAGE pStubMsg,
+ PFORMAT_STRING pFormat
+ );
+
+/* Comm and Fault status */
+
+RPC_STATUS RPC_ENTRY
+NdrMapCommAndFaultStatus(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned long __RPC_FAR * pCommStatus,
+ unsigned long __RPC_FAR * pFaultStatus,
+ RPC_STATUS Status
+ );
+
+/* Helper routines */
+
+int RPC_ENTRY
+NdrSH_UPDecision(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR *__RPC_FAR * pPtrInMem,
+ RPC_BUFPTR pBuffer
+ );
+
+int RPC_ENTRY
+NdrSH_TLUPDecision(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR *__RPC_FAR * pPtrInMem
+ );
+
+int RPC_ENTRY
+NdrSH_TLUPDecisionBuffer(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR *__RPC_FAR * pPtrInMem
+ );
+
+int RPC_ENTRY
+NdrSH_IfAlloc(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR *__RPC_FAR * pPtrInMem,
+ unsigned long Count
+ );
+
+int RPC_ENTRY
+NdrSH_IfAllocRef(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR *__RPC_FAR * pPtrInMem,
+ unsigned long Count
+ );
+
+int RPC_ENTRY
+NdrSH_IfAllocSet(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR *__RPC_FAR * pPtrInMem,
+ unsigned long Count
+ );
+
+RPC_BUFPTR RPC_ENTRY
+NdrSH_IfCopy(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR *__RPC_FAR * pPtrInMem,
+ unsigned long Count
+ );
+
+RPC_BUFPTR RPC_ENTRY
+NdrSH_IfAllocCopy(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ unsigned char __RPC_FAR *__RPC_FAR * pPtrInMem,
+ unsigned long Count
+ );
+
+unsigned long RPC_ENTRY
+NdrSH_Copy(
+ unsigned char __RPC_FAR * pStubMsg,
+ unsigned char __RPC_FAR * pPtrInMem,
+ unsigned long Count
+ );
+
+void RPC_ENTRY
+NdrSH_IfFree(
+ PMIDL_STUB_MESSAGE pMessage,
+ unsigned char __RPC_FAR * pPtr );
+
+
+RPC_BUFPTR RPC_ENTRY
+NdrSH_StringMarshall(
+ PMIDL_STUB_MESSAGE pMessage,
+ unsigned char __RPC_FAR * pMemory,
+ unsigned long Count,
+ int Size );
+
+RPC_BUFPTR RPC_ENTRY
+NdrSH_StringUnMarshall(
+ PMIDL_STUB_MESSAGE pMessage,
+ unsigned char __RPC_FAR *__RPC_FAR * pMemory,
+ int Size );
+
+/****************************************************************************
+ MIDL 2.0 memory package: rpc_ss_* rpc_sm_*
+ ****************************************************************************/
+
+typedef void __RPC_FAR * RPC_SS_THREAD_HANDLE;
+
+typedef void __RPC_FAR * __RPC_API
+RPC_CLIENT_ALLOC (
+ IN size_t Size
+ );
+
+typedef void __RPC_API
+RPC_CLIENT_FREE (
+ IN void __RPC_FAR * Ptr
+ );
+
+/*++
+ RpcSs* package
+--*/
+
+void __RPC_FAR * RPC_ENTRY
+RpcSsAllocate (
+ IN size_t Size
+ );
+
+void RPC_ENTRY
+RpcSsDisableAllocate (
+ void
+ );
+
+void RPC_ENTRY
+RpcSsEnableAllocate (
+ void
+ );
+
+void RPC_ENTRY
+RpcSsFree (
+ IN void __RPC_FAR * NodeToFree
+ );
+
+RPC_SS_THREAD_HANDLE RPC_ENTRY
+RpcSsGetThreadHandle (
+ void
+ );
+
+void RPC_ENTRY
+RpcSsSetClientAllocFree (
+ IN RPC_CLIENT_ALLOC __RPC_FAR * ClientAlloc,
+ IN RPC_CLIENT_FREE __RPC_FAR * ClientFree
+ );
+
+void RPC_ENTRY
+RpcSsSetThreadHandle (
+ IN RPC_SS_THREAD_HANDLE Id
+ );
+
+void RPC_ENTRY
+RpcSsSwapClientAllocFree (
+ IN RPC_CLIENT_ALLOC __RPC_FAR * ClientAlloc,
+ IN RPC_CLIENT_FREE __RPC_FAR * ClientFree,
+ OUT RPC_CLIENT_ALLOC __RPC_FAR * __RPC_FAR * OldClientAlloc,
+ OUT RPC_CLIENT_FREE __RPC_FAR * __RPC_FAR * OldClientFree
+ );
+
+/*++
+ RpcSm* package
+--*/
+
+void __RPC_FAR * RPC_ENTRY
+RpcSmAllocate (
+ IN size_t Size,
+ OUT RPC_STATUS __RPC_FAR * pStatus
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcSmClientFree (
+ IN void __RPC_FAR * pNodeToFree
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcSmDestroyClientContext (
+ IN void __RPC_FAR * __RPC_FAR * ContextHandle
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcSmDisableAllocate (
+ void
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcSmEnableAllocate (
+ void
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcSmFree (
+ IN void __RPC_FAR * NodeToFree
+ );
+
+RPC_SS_THREAD_HANDLE RPC_ENTRY
+RpcSmGetThreadHandle (
+ OUT RPC_STATUS __RPC_FAR * pStatus
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcSmSetClientAllocFree (
+ IN RPC_CLIENT_ALLOC __RPC_FAR * ClientAlloc,
+ IN RPC_CLIENT_FREE __RPC_FAR * ClientFree
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcSmSetThreadHandle (
+ IN RPC_SS_THREAD_HANDLE Id
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcSmSwapClientAllocFree (
+ IN RPC_CLIENT_ALLOC __RPC_FAR * ClientAlloc,
+ IN RPC_CLIENT_FREE __RPC_FAR * ClientFree,
+ OUT RPC_CLIENT_ALLOC __RPC_FAR * __RPC_FAR * OldClientAlloc,
+ OUT RPC_CLIENT_FREE __RPC_FAR * __RPC_FAR * OldClientFree
+ );
+
+/*++
+ Ndr stub entry points
+--*/
+
+void RPC_ENTRY
+NdrRpcSsEnableAllocate(
+ PMIDL_STUB_MESSAGE pMessage );
+
+void RPC_ENTRY
+NdrRpcSsDisableAllocate(
+ PMIDL_STUB_MESSAGE pMessage );
+
+void RPC_ENTRY
+NdrRpcSmSetClientToOsf(
+ PMIDL_STUB_MESSAGE pMessage );
+
+void __RPC_FAR * RPC_ENTRY
+NdrRpcSmClientAllocate (
+ IN size_t Size
+ );
+
+void RPC_ENTRY
+NdrRpcSmClientFree (
+ IN void __RPC_FAR * NodeToFree
+ );
+
+void __RPC_FAR * RPC_ENTRY
+NdrRpcSsDefaultAllocate (
+ IN size_t Size
+ );
+
+void RPC_ENTRY
+NdrRpcSsDefaultFree (
+ IN void __RPC_FAR * NodeToFree
+ );
+
+/****************************************************************************
+ end of memory package: rpc_ss_* rpc_sm_*
+ ****************************************************************************/
+
+/****************************************************************************
+ * Full Pointer APIs
+ ****************************************************************************/
+
+PFULL_PTR_XLAT_TABLES RPC_ENTRY
+NdrFullPointerXlatInit(
+ unsigned long NumberOfPointers,
+ XLAT_SIDE XlatSide
+ );
+
+void RPC_ENTRY
+NdrFullPointerXlatFree(
+ PFULL_PTR_XLAT_TABLES pXlatTables
+ );
+
+int RPC_ENTRY
+NdrFullPointerQueryPointer(
+ PFULL_PTR_XLAT_TABLES pXlatTables,
+ void __RPC_FAR * pPointer,
+ unsigned char QueryType,
+ unsigned long __RPC_FAR * pRefId
+ );
+
+int RPC_ENTRY
+NdrFullPointerQueryRefId(
+ PFULL_PTR_XLAT_TABLES pXlatTables,
+ unsigned long RefId,
+ unsigned char QueryType,
+ void __RPC_FAR *__RPC_FAR * ppPointer
+ );
+
+void RPC_ENTRY
+NdrFullPointerInsertRefId(
+ PFULL_PTR_XLAT_TABLES pXlatTables,
+ unsigned long RefId,
+ void __RPC_FAR * pPointer
+ );
+
+int RPC_ENTRY
+NdrFullPointerFree(
+ PFULL_PTR_XLAT_TABLES pXlatTables,
+ void __RPC_FAR * Pointer
+ );
+
+void __RPC_FAR * RPC_ENTRY
+NdrAllocate(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ size_t Len
+ );
+
+void RPC_ENTRY
+NdrClearOutParameters(
+ PMIDL_STUB_MESSAGE pStubMsg,
+ PFORMAT_STRING pFormat,
+ void __RPC_FAR * ArgAddr
+ );
+
+
+/****************************************************************************
+ * Proxy APIs
+ ****************************************************************************/
+
+void __RPC_FAR * RPC_ENTRY
+NdrOleAllocate (
+ IN size_t Size
+ );
+
+void RPC_ENTRY
+NdrOleFree (
+ IN void __RPC_FAR * NodeToFree
+ );
+
+#ifdef CONST_VTABLE
+#define CONST_VTBL const
+#else
+#define CONST_VTBL
+#endif
+
+
+
+
+#ifdef __cplusplus
+}
+#endif
+
+// Reset the packing level for DOS, Windows and Mac.
+
+#if defined(__RPC_DOS__) || defined(__RPC_WIN16__) || defined(__RPC_MAC__)
+#pragma pack()
+#endif
+
+#endif /* __RPCNDR_H__ */
+
+
+
+
+
diff --git a/public/sdk/rpc16/dos/inc/rpcnsi.h b/public/sdk/rpc16/dos/inc/rpcnsi.h
new file mode 100644
index 000000000..362b5bdb4
--- /dev/null
+++ b/public/sdk/rpc16/dos/inc/rpcnsi.h
@@ -0,0 +1,509 @@
+/*++
+
+Copyright (c) 1992-1996 Microsoft Corporation
+
+Module Name:
+
+ rpcnsi.h
+
+Abstract:
+
+ This file contains the types and function definitions to use the
+ Name Service Independent APIs.
+
+--*/
+
+#ifndef __RPCNSI_H__
+#define __RPCNSI_H__
+
+typedef void __RPC_FAR * RPC_NS_HANDLE;
+
+#define RPC_C_NS_SYNTAX_DEFAULT 0
+#define RPC_C_NS_SYNTAX_DCE 3
+
+#define RPC_C_PROFILE_DEFAULT_ELT 0
+#define RPC_C_PROFILE_ALL_ELT 1
+#define RPC_C_PROFILE_MATCH_BY_IF 2
+#define RPC_C_PROFILE_MATCH_BY_MBR 3
+#define RPC_C_PROFILE_MATCH_BY_BOTH 4
+
+#define RPC_C_NS_DEFAULT_EXP_AGE -1
+
+/* Server APIs */
+
+RPC_STATUS RPC_ENTRY
+RpcNsBindingExportA(
+ IN unsigned long EntryNameSyntax OPTIONAL,
+ IN unsigned char __RPC_FAR * EntryName,
+ IN RPC_IF_HANDLE IfSpec OPTIONAL,
+ IN RPC_BINDING_VECTOR __RPC_FAR * BindingVec OPTIONAL,
+ IN UUID_VECTOR __RPC_FAR * ObjectUuidVec OPTIONAL
+ );
+
+
+RPC_STATUS RPC_ENTRY
+RpcNsBindingUnexportA(
+ IN unsigned long EntryNameSyntax OPTIONAL,
+ IN unsigned char __RPC_FAR * EntryName,
+ IN RPC_IF_HANDLE IfSpec OPTIONAL,
+ IN UUID_VECTOR __RPC_FAR * ObjectUuidVec OPTIONAL
+ );
+
+#ifdef RPC_UNICODE_SUPPORTED
+
+RPC_STATUS RPC_ENTRY
+RpcNsBindingExportW(
+ IN unsigned long EntryNameSyntax OPTIONAL,
+ IN unsigned short __RPC_FAR * EntryName,
+ IN RPC_IF_HANDLE IfSpec OPTIONAL,
+ IN RPC_BINDING_VECTOR __RPC_FAR * BindingVec OPTIONAL,
+ IN UUID_VECTOR __RPC_FAR * ObjectUuidVec OPTIONAL
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsBindingUnexportW(
+ IN unsigned long EntryNameSyntax OPTIONAL,
+ IN unsigned short __RPC_FAR * EntryName,
+ IN RPC_IF_HANDLE IfSpec OPTIONAL,
+ IN UUID_VECTOR __RPC_FAR * ObjectUuidVec OPTIONAL
+ );
+
+#endif
+
+/* Client APIs */
+
+RPC_STATUS RPC_ENTRY
+RpcNsBindingLookupBeginA(
+ IN unsigned long EntryNameSyntax OPTIONAL,
+ IN unsigned char __RPC_FAR * EntryName OPTIONAL,
+ IN RPC_IF_HANDLE IfSpec OPTIONAL,
+ IN UUID __RPC_FAR * ObjUuid OPTIONAL,
+ IN unsigned long BindingMaxCount OPTIONAL,
+ OUT RPC_NS_HANDLE __RPC_FAR * LookupContext
+ );
+
+#ifdef RPC_UNICODE_SUPPORTED
+
+RPC_STATUS RPC_ENTRY
+RpcNsBindingLookupBeginW(
+ IN unsigned long EntryNameSyntax OPTIONAL,
+ IN unsigned short __RPC_FAR * EntryName OPTIONAL,
+ IN RPC_IF_HANDLE IfSpec OPTIONAL,
+ IN UUID __RPC_FAR * ObjUuid OPTIONAL,
+ IN unsigned long BindingMaxCount OPTIONAL,
+ OUT RPC_NS_HANDLE __RPC_FAR * LookupContext
+ );
+#endif
+
+RPC_STATUS RPC_ENTRY
+RpcNsBindingLookupNext(
+ IN RPC_NS_HANDLE LookupContext,
+ OUT RPC_BINDING_VECTOR __RPC_FAR * __RPC_FAR * BindingVec
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsBindingLookupDone(
+ IN OUT RPC_NS_HANDLE __RPC_FAR * LookupContext
+ );
+
+/* Group APIs */
+
+RPC_STATUS RPC_ENTRY
+RpcNsGroupDeleteA(
+ IN unsigned long GroupNameSyntax OPTIONAL,
+ IN unsigned char __RPC_FAR * GroupName
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsGroupMbrAddA(
+ IN unsigned long GroupNameSyntax OPTIONAL,
+ IN unsigned char __RPC_FAR * GroupName,
+ IN unsigned long MemberNameSyntax OPTIONAL,
+ IN unsigned char __RPC_FAR * MemberName
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsGroupMbrRemoveA(
+ IN unsigned long GroupNameSyntax OPTIONAL,
+ IN unsigned char __RPC_FAR * GroupName,
+ IN unsigned long MemberNameSyntax OPTIONAL,
+ IN unsigned char __RPC_FAR * MemberName
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsGroupMbrInqBeginA(
+ IN unsigned long GroupNameSyntax OPTIONAL,
+ IN unsigned char __RPC_FAR * GroupName,
+ IN unsigned long MemberNameSyntax OPTIONAL,
+ OUT RPC_NS_HANDLE __RPC_FAR * InquiryContext
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsGroupMbrInqNextA(
+ IN RPC_NS_HANDLE InquiryContext,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * MemberName
+ );
+
+#ifdef RPC_UNICODE_SUPPORTED
+
+RPC_STATUS RPC_ENTRY
+RpcNsGroupDeleteW(
+ IN unsigned long GroupNameSyntax OPTIONAL,
+ IN unsigned short __RPC_FAR * GroupName
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsGroupMbrAddW(
+ IN unsigned long GroupNameSyntax OPTIONAL,
+ IN unsigned short __RPC_FAR * GroupName,
+ IN unsigned long MemberNameSyntax OPTIONAL,
+ IN unsigned short __RPC_FAR * MemberName
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsGroupMbrRemoveW(
+ IN unsigned long GroupNameSyntax OPTIONAL,
+ IN unsigned short __RPC_FAR * GroupName,
+ IN unsigned long MemberNameSyntax OPTIONAL,
+ IN unsigned short __RPC_FAR * MemberName
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsGroupMbrInqBeginW(
+ IN unsigned long GroupNameSyntax OPTIONAL,
+ IN unsigned short __RPC_FAR * GroupName,
+ IN unsigned long MemberNameSyntax OPTIONAL,
+ OUT RPC_NS_HANDLE __RPC_FAR * InquiryContext
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsGroupMbrInqNextW(
+ IN RPC_NS_HANDLE InquiryContext,
+ OUT unsigned short __RPC_FAR * __RPC_FAR * MemberName
+ );
+
+#endif
+
+RPC_STATUS RPC_ENTRY
+RpcNsGroupMbrInqDone(
+ IN OUT RPC_NS_HANDLE __RPC_FAR * InquiryContext
+ );
+
+/* Profile APIs */
+
+RPC_STATUS RPC_ENTRY
+RpcNsProfileDeleteA(
+ IN unsigned long ProfileNameSyntax OPTIONAL,
+ IN unsigned char __RPC_FAR * ProfileName
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsProfileEltAddA(
+ IN unsigned long ProfileNameSyntax OPTIONAL,
+ IN unsigned char __RPC_FAR * ProfileName,
+ IN RPC_IF_ID __RPC_FAR * IfId OPTIONAL,
+ IN unsigned long MemberNameSyntax OPTIONAL,
+ IN unsigned char __RPC_FAR * MemberName,
+ IN unsigned long Priority,
+ IN unsigned char __RPC_FAR * Annotation OPTIONAL
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsProfileEltRemoveA(
+ IN unsigned long ProfileNameSyntax OPTIONAL,
+ IN unsigned char __RPC_FAR * ProfileName,
+ IN RPC_IF_ID __RPC_FAR * IfId OPTIONAL,
+ IN unsigned long MemberNameSyntax OPTIONAL,
+ IN unsigned char __RPC_FAR * MemberName
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsProfileEltInqBeginA(
+ IN unsigned long ProfileNameSyntax OPTIONAL,
+ IN unsigned char __RPC_FAR * ProfileName,
+ IN unsigned long InquiryType,
+ IN RPC_IF_ID __RPC_FAR * IfId OPTIONAL,
+ IN unsigned long VersOption,
+ IN unsigned long MemberNameSyntax OPTIONAL,
+ IN unsigned char __RPC_FAR * MemberName OPTIONAL,
+ OUT RPC_NS_HANDLE __RPC_FAR * InquiryContext
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsProfileEltInqNextA(
+ IN RPC_NS_HANDLE InquiryContext,
+ OUT RPC_IF_ID __RPC_FAR * IfId,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * MemberName,
+ OUT unsigned long __RPC_FAR * Priority,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * Annotation
+ );
+
+#ifdef RPC_UNICODE_SUPPORTED
+
+RPC_STATUS RPC_ENTRY
+RpcNsProfileDeleteW(
+ IN unsigned long ProfileNameSyntax OPTIONAL,
+ IN unsigned short __RPC_FAR * ProfileName
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsProfileEltAddW(
+ IN unsigned long ProfileNameSyntax OPTIONAL,
+ IN unsigned short __RPC_FAR * ProfileName,
+ IN RPC_IF_ID __RPC_FAR * IfId OPTIONAL,
+ IN unsigned long MemberNameSyntax OPTIONAL,
+ IN unsigned short __RPC_FAR * MemberName,
+ IN unsigned long Priority,
+ IN unsigned short __RPC_FAR * Annotation OPTIONAL
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsProfileEltRemoveW(
+ IN unsigned long ProfileNameSyntax OPTIONAL,
+ IN unsigned short __RPC_FAR * ProfileName,
+ IN RPC_IF_ID __RPC_FAR * IfId OPTIONAL,
+ IN unsigned long MemberNameSyntax OPTIONAL,
+ IN unsigned short __RPC_FAR * MemberName
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsProfileEltInqBeginW(
+ IN unsigned long ProfileNameSyntax OPTIONAL,
+ IN unsigned short __RPC_FAR * ProfileName,
+ IN unsigned long InquiryType,
+ IN RPC_IF_ID __RPC_FAR * IfId OPTIONAL,
+ IN unsigned long VersOption,
+ IN unsigned long MemberNameSyntax OPTIONAL,
+ IN unsigned short __RPC_FAR * MemberName OPTIONAL,
+ OUT RPC_NS_HANDLE __RPC_FAR * InquiryContext
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsProfileEltInqNextW(
+ IN RPC_NS_HANDLE InquiryContext,
+ OUT RPC_IF_ID __RPC_FAR * IfId,
+ OUT unsigned short __RPC_FAR * __RPC_FAR * MemberName,
+ OUT unsigned long __RPC_FAR * Priority,
+ OUT unsigned short __RPC_FAR * __RPC_FAR * Annotation
+ );
+
+#endif
+
+RPC_STATUS RPC_ENTRY
+RpcNsProfileEltInqDone(
+ IN OUT RPC_NS_HANDLE __RPC_FAR * InquiryContext
+ );
+
+/* Entry object APIs */
+
+RPC_STATUS RPC_ENTRY
+RpcNsEntryObjectInqBeginA(
+ IN unsigned long EntryNameSyntax OPTIONAL,
+ IN unsigned char __RPC_FAR * EntryName,
+ OUT RPC_NS_HANDLE __RPC_FAR * InquiryContext
+ );
+
+#ifdef RPC_UNICODE_SUPPORTED
+
+RPC_STATUS RPC_ENTRY
+RpcNsEntryObjectInqBeginW(
+ IN unsigned long EntryNameSyntax OPTIONAL,
+ IN unsigned short __RPC_FAR * EntryName,
+ OUT RPC_NS_HANDLE __RPC_FAR * InquiryContext
+ );
+
+#endif
+
+RPC_STATUS RPC_ENTRY
+RpcNsEntryObjectInqNext(
+ IN RPC_NS_HANDLE InquiryContext,
+ OUT UUID __RPC_FAR * ObjUuid
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsEntryObjectInqDone(
+ IN OUT RPC_NS_HANDLE __RPC_FAR * InquiryContext
+ );
+
+/* Management and MISC APIs */
+
+RPC_STATUS RPC_ENTRY
+RpcNsEntryExpandNameA(
+ IN unsigned long EntryNameSyntax OPTIONAL,
+ IN unsigned char __RPC_FAR * EntryName,
+ OUT unsigned char __RPC_FAR * __RPC_FAR * ExpandedName
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsMgmtBindingUnexportA(
+ IN unsigned long EntryNameSyntax OPTIONAL,
+ IN unsigned char __RPC_FAR * EntryName,
+ IN RPC_IF_ID __RPC_FAR * IfId OPTIONAL,
+ IN unsigned long VersOption,
+ IN UUID_VECTOR __RPC_FAR * ObjectUuidVec OPTIONAL
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsMgmtEntryCreateA(
+ IN unsigned long EntryNameSyntax OPTIONAL,
+ IN unsigned char __RPC_FAR * EntryName
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsMgmtEntryDeleteA(
+ IN unsigned long EntryNameSyntax OPTIONAL,
+ IN unsigned char __RPC_FAR * EntryName
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsMgmtEntryInqIfIdsA(
+ IN unsigned long EntryNameSyntax OPTIONAL,
+ IN unsigned char __RPC_FAR * EntryName,
+ OUT RPC_IF_ID_VECTOR __RPC_FAR * __RPC_FAR * IfIdVec
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsMgmtHandleSetExpAge(
+ IN RPC_NS_HANDLE NsHandle,
+ IN unsigned long ExpirationAge
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsMgmtInqExpAge(
+ OUT unsigned long __RPC_FAR * ExpirationAge
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsMgmtSetExpAge(
+ IN unsigned long ExpirationAge
+ );
+
+#ifdef RPC_UNICODE_SUPPORTED
+
+RPC_STATUS RPC_ENTRY
+RpcNsEntryExpandNameW(
+ IN unsigned long EntryNameSyntax OPTIONAL,
+ IN unsigned short __RPC_FAR * EntryName,
+ OUT unsigned short __RPC_FAR * __RPC_FAR * ExpandedName
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsMgmtBindingUnexportW(
+ IN unsigned long EntryNameSyntax OPTIONAL,
+ IN unsigned short __RPC_FAR * EntryName,
+ IN RPC_IF_ID __RPC_FAR * IfId OPTIONAL,
+ IN unsigned long VersOption,
+ IN UUID_VECTOR __RPC_FAR * ObjectUuidVec OPTIONAL
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsMgmtEntryCreateW(
+ IN unsigned long EntryNameSyntax OPTIONAL,
+ IN unsigned short __RPC_FAR * EntryName
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsMgmtEntryDeleteW(
+ IN unsigned long EntryNameSyntax OPTIONAL,
+ IN unsigned short __RPC_FAR * EntryName
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsMgmtEntryInqIfIdsW(
+ IN unsigned long EntryNameSyntax OPTIONAL,
+ IN unsigned short __RPC_FAR * EntryName,
+ OUT RPC_IF_ID_VECTOR __RPC_FAR * __RPC_FAR * IfIdVec
+ );
+
+#endif
+
+/* Client API's implemented in wrappers. */
+
+RPC_STATUS RPC_ENTRY
+RpcNsBindingImportBeginA(
+ IN unsigned long EntryNameSyntax OPTIONAL,
+ IN unsigned char __RPC_FAR * EntryName OPTIONAL,
+ IN RPC_IF_HANDLE IfSpec OPTIONAL,
+ IN UUID __RPC_FAR * ObjUuid OPTIONAL,
+ OUT RPC_NS_HANDLE __RPC_FAR * ImportContext
+ );
+
+#ifdef RPC_UNICODE_SUPPORTED
+
+RPC_STATUS RPC_ENTRY
+RpcNsBindingImportBeginW(
+ IN unsigned long EntryNameSyntax OPTIONAL,
+ IN unsigned short __RPC_FAR * EntryName OPTIONAL,
+ IN RPC_IF_HANDLE IfSpec OPTIONAL,
+ IN UUID __RPC_FAR * ObjUuid OPTIONAL,
+ OUT RPC_NS_HANDLE __RPC_FAR * ImportContext
+ );
+
+#endif
+
+RPC_STATUS RPC_ENTRY
+RpcNsBindingImportNext(
+ IN RPC_NS_HANDLE ImportContext,
+ OUT RPC_BINDING_HANDLE __RPC_FAR * Binding
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsBindingImportDone(
+ IN OUT RPC_NS_HANDLE __RPC_FAR * ImportContext
+ );
+
+RPC_STATUS RPC_ENTRY
+RpcNsBindingSelect(
+ IN OUT RPC_BINDING_VECTOR __RPC_FAR * BindingVec,
+ OUT RPC_BINDING_HANDLE __RPC_FAR * Binding
+ );
+
+#ifdef UNICODE
+
+#define RpcNsBindingLookupBegin RpcNsBindingLookupBeginW
+#define RpcNsBindingImportBegin RpcNsBindingImportBeginW
+#define RpcNsBindingExport RpcNsBindingExportW
+#define RpcNsBindingUnexport RpcNsBindingUnexportW
+#define RpcNsGroupDelete RpcNsGroupDeleteW
+#define RpcNsGroupMbrAdd RpcNsGroupMbrAddW
+#define RpcNsGroupMbrRemove RpcNsGroupMbrRemoveW
+#define RpcNsGroupMbrInqBegin RpcNsGroupMbrInqBeginW
+#define RpcNsGroupMbrInqNext RpcNsGroupMbrInqNextW
+#define RpcNsEntryExpandName RpcNsEntryExpandNameW
+#define RpcNsEntryObjectInqBegin RpcNsEntryObjectInqBeginW
+#define RpcNsMgmtBindingUnexport RpcNsMgmtBindingUnexportW
+#define RpcNsMgmtEntryCreate RpcNsMgmtEntryCreateW
+#define RpcNsMgmtEntryDelete RpcNsMgmtEntryDeleteW
+#define RpcNsMgmtEntryInqIfIds RpcNsMgmtEntryInqIfIdsW
+#define RpcNsProfileDelete RpcNsProfileDeleteW
+#define RpcNsProfileEltAdd RpcNsProfileEltAddW
+#define RpcNsProfileEltRemove RpcNsProfileEltRemoveW
+#define RpcNsProfileEltInqBegin RpcNsProfileEltInqBeginW
+#define RpcNsProfileEltInqNext RpcNsProfileEltInqNextW
+
+#else
+
+#define RpcNsBindingLookupBegin RpcNsBindingLookupBeginA
+#define RpcNsBindingImportBegin RpcNsBindingImportBeginA
+#define RpcNsBindingExport RpcNsBindingExportA
+#define RpcNsBindingUnexport RpcNsBindingUnexportA
+#define RpcNsGroupDelete RpcNsGroupDeleteA
+#define RpcNsGroupMbrAdd RpcNsGroupMbrAddA
+#define RpcNsGroupMbrRemove RpcNsGroupMbrRemoveA
+#define RpcNsGroupMbrInqBegin RpcNsGroupMbrInqBeginA
+#define RpcNsGroupMbrInqNext RpcNsGroupMbrInqNextA
+#define RpcNsEntryExpandName RpcNsEntryExpandNameA
+#define RpcNsEntryObjectInqBegin RpcNsEntryObjectInqBeginA
+#define RpcNsMgmtBindingUnexport RpcNsMgmtBindingUnexportA
+#define RpcNsMgmtEntryCreate RpcNsMgmtEntryCreateA
+#define RpcNsMgmtEntryDelete RpcNsMgmtEntryDeleteA
+#define RpcNsMgmtEntryInqIfIds RpcNsMgmtEntryInqIfIdsA
+#define RpcNsProfileDelete RpcNsProfileDeleteA
+#define RpcNsProfileEltAdd RpcNsProfileEltAddA
+#define RpcNsProfileEltRemove RpcNsProfileEltRemoveA
+#define RpcNsProfileEltInqBegin RpcNsProfileEltInqBeginA
+#define RpcNsProfileEltInqNext RpcNsProfileEltInqNextA
+
+#endif /* UNICODE */
+
+#endif /* __RPCNSI_H__ */
diff --git a/public/sdk/rpc16/dos/inc/rpcnsip.h b/public/sdk/rpc16/dos/inc/rpcnsip.h
new file mode 100644
index 000000000..0db0140b0
--- /dev/null
+++ b/public/sdk/rpc16/dos/inc/rpcnsip.h
@@ -0,0 +1,72 @@
+/*++
+
+Copyright (c) 1992-1996 Microsoft Corporation
+
+Module Name:
+
+ rpcnsip.h
+
+Abstract:
+
+ This file contains the types and function definitions to use the
+ to implement the autohandle features of the runtime.
+
+--*/
+
+#ifndef __RPCNSIP_H__
+#define __RPCNSIP_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef struct
+{
+ RPC_NS_HANDLE LookupContext;
+ RPC_BINDING_HANDLE ProposedHandle;
+ RPC_BINDING_VECTOR * Bindings;
+
+} RPC_IMPORT_CONTEXT_P, * PRPC_IMPORT_CONTEXT_P;
+
+
+/* Stub Auto Binding routines. */
+
+RPC_STATUS RPC_ENTRY
+I_RpcNsGetBuffer(
+ IN PRPC_MESSAGE Message
+ );
+
+RPC_STATUS RPC_ENTRY
+I_RpcNsSendReceive(
+ IN PRPC_MESSAGE Message,
+ OUT RPC_BINDING_HANDLE __RPC_FAR * Handle
+ );
+
+void RPC_ENTRY
+I_RpcNsRaiseException(
+ IN PRPC_MESSAGE Message,
+ IN RPC_STATUS Status
+ );
+
+RPC_STATUS RPC_ENTRY
+I_RpcReBindBuffer(
+ IN PRPC_MESSAGE Message
+ );
+
+RPC_STATUS RPC_ENTRY
+I_NsServerBindSearch(
+ );
+
+RPC_STATUS RPC_ENTRY
+I_NsClientBindSearch(
+ );
+
+void RPC_ENTRY
+I_NsClientBindDone(
+ );
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __RPCNSIP_H__ */
diff --git a/public/sdk/rpc16/dos/inc/rpcx86.h b/public/sdk/rpc16/dos/inc/rpcx86.h
new file mode 100644
index 000000000..8f5088c93
--- /dev/null
+++ b/public/sdk/rpc16/dos/inc/rpcx86.h
@@ -0,0 +1,74 @@
+/*********************************************************/
+/** Microsoft LAN Manager **/
+/** Copyright(c) Microsoft Corp., 1991 **/
+/** **/
+/** Exceptions package for C for DOS/WIN/OS2 **/
+/** **/
+/*********************************************************/
+
+#ifndef __RPCx86_H__
+#define __RPCx86_H__
+
+typedef struct _ExceptionBuff {
+ int registers[RPCXCWORD];
+ struct _ExceptionBuff __RPC_FAR *pExceptNext;
+
+} ExceptionBuff, __RPC_FAR *pExceptionBuff;
+
+int RPC_ENTRY RpcSetException(pExceptionBuff);
+void RPC_ENTRY RpcLeaveException(void);
+
+#define RpcTryExcept \
+ { \
+ int _exception_code; \
+ ExceptionBuff exception; \
+ \
+ _exception_code = RpcSetException(&exception); \
+ \
+ if (!_exception_code) \
+ {
+
+// trystmts
+
+#define RpcExcept(expr) \
+ RpcLeaveException(); \
+ } \
+ else \
+ { \
+ if (!(expr)) \
+ RpcRaiseException(_exception_code);
+
+// exceptstmts
+
+#define RpcEndExcept \
+ } \
+ }
+
+#define RpcTryFinally \
+ { \
+ int _abnormal_termination; \
+ ExceptionBuff exception; \
+ \
+ _abnormal_termination = RpcSetException(&exception); \
+ \
+ if (!_abnormal_termination) \
+ {
+
+// trystmts
+
+#define RpcFinally \
+ RpcLeaveException(); \
+ }
+
+// finallystmts
+
+#define RpcEndFinally \
+ if (_abnormal_termination) \
+ RpcRaiseException(_abnormal_termination); \
+ }
+
+#define RpcExceptionCode() _exception_code
+#define RpcAbnormalTermination() _abnormal_termination
+
+#endif // __RPCx86_H__
+ \ No newline at end of file