You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
1.6 KiB
83 lines
1.6 KiB
/*++
|
|
|
|
|
|
Intel Corporation Proprietary Information
|
|
Copyright (c) 1995 Intel Corporation
|
|
|
|
This listing is supplied under the terms of a license agreement with
|
|
Intel Corporation and may not be used, copied, nor disclosed except in
|
|
accordance with the terms of that agreeement.
|
|
|
|
|
|
Module Name:
|
|
|
|
startup.h
|
|
|
|
Abstract:
|
|
|
|
This module defines procedures to be called at the time of loading and
|
|
unloading the WinSock 2 DLL (typically from DllMain). These procedures
|
|
create and destroy the Startup/Cleanup synchronization mechanism.
|
|
|
|
Author:
|
|
|
|
Paul Drews ([email protected]) 31-Aug-1995
|
|
|
|
Notes:
|
|
|
|
$Revision: 1.4 $
|
|
|
|
$Modtime: 12 Jan 1996 15:09:00 $
|
|
|
|
Revision History:
|
|
|
|
1995-11-04 [email protected]
|
|
Added support for WPUPostMessage() upcall.
|
|
|
|
1995-08-31 [email protected]
|
|
created
|
|
|
|
--*/
|
|
|
|
#ifndef _STARTUP_
|
|
#define _STARTUP_
|
|
|
|
#include <windows.h>
|
|
|
|
|
|
|
|
extern
|
|
#if defined(__cplusplus)
|
|
"C"
|
|
#endif // defined(__cplusplus)
|
|
VOID
|
|
CreateStartupSynchronization();
|
|
|
|
typedef
|
|
BOOL
|
|
(WINAPI *PWINSOCK_POST_ROUTINE)(
|
|
HWND hWnd,
|
|
UINT Msg,
|
|
WPARAM wParam,
|
|
LPARAM lParam
|
|
);
|
|
|
|
extern PWINSOCK_POST_ROUTINE SockPostRoutine;
|
|
|
|
PWINSOCK_POST_ROUTINE
|
|
GetSockPostRoutine(
|
|
VOID
|
|
);
|
|
|
|
#define GET_SOCK_POST_ROUTINE() \
|
|
(SockPostRoutine ? SockPostRoutine : GetSockPostRoutine())
|
|
|
|
|
|
extern
|
|
#if defined(__cplusplus)
|
|
"C"
|
|
#endif // defined(__cplusplus)
|
|
VOID
|
|
DestroyStartupSynchronization();
|
|
|
|
#endif // _STARTUP_
|