Leaked source code of windows server 2003
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.
|
|
/* File: D:\WACKER\tdll\cnct.hh (Created: 10-Jan-1994)
* * Copyright 1994 by Hilgraeve Inc. -- Monroe, MI * All rights reserved * * $Revision: 2 $ * $Date: 7/08/02 6:39p $ */
typedef struct stCnctPrivate *HHCNCT;
struct stCnctPrivate { HSESSION hSession; CRITICAL_SECTION csCnct; // for snychronizing access
HDRIVER hDriver; // baby you can drive my connect
HMODULE hModule; // driver's lib module handle
TCHAR achDllName[MAX_PATH]; // name of file containing driver
time_t tStartTime; // Start time
int (WINAPI *pfDestroy)(const HDRIVER hDriver); int (WINAPI *pfQueryStatus)(const HDRIVER hDriver); int (WINAPI *pfConnect)(const HDRIVER hDriver, const unsigned int uFlags); int (WINAPI *pfDisconnect)(const HDRIVER hDriver, const unsigned int uFlags); int (WINAPI *pfComEvent)(const HDRIVER hDriver, const enum COM_EVENTS event); int (WINAPI *pfInit)(const HDRIVER hDriver); int (WINAPI *pfLoad)(const HDRIVER hDriver); int (WINAPI *pfSave)(const HDRIVER hDriver); int (WINAPI *pfSetDestination)(const HDRIVER hDriver, TCHAR *const ach, const size_t cb); int (WINAPI *pfGetComSettingsString)(const HDRIVER hDriver, LPTSTR pachStr, const size_t cb); };
void cnctLock(const HHCNCT hhCnct); void cnctUnlock(const HHCNCT hhCnct); void cnctStubAll(const HHCNCT hhCnct);
|