NT4/private/nw/vwipxspx/dll/vwmisc.c
2020-09-30 17:12:29 +02:00

75 lines
927 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*++
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());
}