Windows2003-3790/enduser/netmeeting/av/callcont/h245sys.x
2020-09-30 16:53:55 +02:00

96 lines
2.9 KiB
Plaintext
Raw Permalink 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.

/******************************************************************************
*
* INTEL Corporation Proprietary Information
* Copyright (c) 1994, 1995, 1996 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 agreement.
*
*****************************************************************************/
/******************************************************************************
*
* $Workfile: h245sys.x $
* $Revision: 1.2 $
* $Modtime: 17 Jan 1997 14:39:22 $
* $Log: S:\sturgeon\src\h245\include\vcs\h245sys.x_v $
Rev 1.0 09 May 1996 21:05:06 EHOWARDX
Initial revision.
*
* Rev 1.11.1.0 09 May 1996 19:38:26 EHOWARDX
* Redesigned locking logic and added new functionality.
Rev 1.11 26 Mar 1996 09:48:40 cjutzi
- ok.. Added Enter&Leave&Init&Delete Critical Sections for Ring 0
Rev 1.10 25 Mar 1996 18:06:48 cjutzi
- wow.. this is emparassing.. undid what I undid..
Rev 1.9 25 Mar 1996 17:54:02 cjutzi
- backstep broke build
Rev 1.8 25 Mar 1996 17:21:18 cjutzi
- added oil level EnterCritical Section..
Rev 1.7 19 Mar 1996 21:00:58 cjutzi
- change realloc to take proper parameter size_t
Rev 1.6 19 Mar 1996 17:41:58 helgebax
added defintion for timer callbacks
Rev 1.5 18 Mar 1996 12:41:52 cjutzi
- added multiple timer queue
Rev 1.4 02 Mar 1996 22:17:08 DABROWN1
removed prototypes for h245_bcopy/h245_bzero
Rev 1.3 26 Feb 1996 12:41:56 cjutzi
- added bcopy
Rev 1.2 09 Feb 1996 16:46:04 cjutzi
- added Dollar Log..
* $Ident$
*
*****************************************************************************/
#ifndef _H245SYS_X_
#define _H245SYS_X_
#include "av_asn1.h"
/* MACROS */
#define H245_min(x,y) ( ( (x)>(y) )?(y):(x) )
typedef (*H245TIMERCALLBACK)(struct InstanceStruct *pInstance, DWORD_PTR, void*);
DWORD_PTR H245StartTimer (struct InstanceStruct *pInstance, void *context, H245TIMERCALLBACK cbTimer, DWORD dwTimeout);
DWORD H245StopTimer (struct InstanceStruct *pInstance, DWORD_PTR id);
//void H245InitTimer (struct InstanceStruct *pInstance);
//void H245DeInitTimer(struct InstanceStruct *pInstance);
#ifdef _IA_SPOX_
#include <oil.x> /* need to define LockHandle */
typedef LockHandle CRITICAL_SECTION;
PUBLIC RESULT InitializeCriticalSection(CRITICAL_SECTION * phLock);
PUBLIC RESULT EnterCriticalSection(CRITICAL_SECTION * phLock);
PUBLIC RESULT LeaveCriticalSection(CRITICAL_SECTION * phLock);
PUBLIC RESULT DeleteCriticalSection(CRITICAL_SECTION * phLock);
#endif /* _IA_SPOX_ */
#endif /* _H245SYS_X_ */