blob: 2d7821deea6dab788415558e868fe0be240d314f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
/*++
Copyright (c) 1993 Microsoft Corporation
Module Name:
vwmisc.c
Abstract:
ntVdm netWare (Vw) IPX/SPX Functions
Vw: The peoples' network
Contains miscellaneous (non-IPX/SPX) functions
Contents:
VwTerminateProgram
Author:
Richard L Firth (rfirth) 30-Sep-1993
Environment:
User-mode Win32
Revision History:
30-Sep-1993 rfirth
Created
--*/
#include "vw.h"
#pragma hdrstop
//
// functions
//
VOID
VwTerminateProgram(
VOID
)
/*++
Routine Description:
When a DOS program terminates, we must close any open sockets that were
specified as SHORT_LIVED
Arguments:
None.
Return Value:
None.
--*/
{
IPXDBGPRINT((__FILE__, __LINE__,
FUNCTION_ANY,
IPXDBG_LEVEL_INFO,
"VwTerminateProgram: PDB=%04x\n",
getCX()
));
KillShortLivedSockets(getCX());
}
|