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.
 
 
 
 
 
 

66 lines
2.4 KiB

/*==========================================================================
*
* Copyright (C) 2000 Microsoft Corporation. All Rights Reserved.
*
* File: Receive.h
* Content: DirectNet receive user data
*@@BEGIN_MSINTERNAL
* History:
* Date By Reason
* ==== == ======
* 01/27/00 mjn Created
* 04/20/00 mjn ReceiveBuffers use CAsyncOp
* 08/02/00 mjn Added dwFlags to DNReceiveUserData()
* mjn Added DNSendUserProcessCompletion()
* 03/30/01 mjn Changes to prevent multiple loading/unloading of SP's
* mjn Added service provider to DNReceiveUserData()
*@@END_MSINTERNAL
*
***************************************************************************/
#ifndef __RECEIVE_H__
#define __RECEIVE_H__
//**********************************************************************
// Constant definitions
//**********************************************************************
//**********************************************************************
// Macro definitions
//**********************************************************************
//**********************************************************************
// Structure definitions
//**********************************************************************
//**********************************************************************
// Variable definitions
//**********************************************************************
//**********************************************************************
// Function prototypes
//**********************************************************************
HRESULT DNReceiveUserData(DIRECTNETOBJECT *const pdnObject,
CConnection *const pConnection,
BYTE *const pBufferData,
const DWORD dwBufferSize,
const HANDLE hProtocol,
CRefCountBuffer *const pRefCountBuffer,
const DPNHANDLE hCompletionOp,
const DWORD dwFlags);
HRESULT DNSendUserProcessCompletion(DIRECTNETOBJECT *const pdnObject,
CConnection *const pConnection,
const DPNHANDLE hCompletionOp);
void DNFreeProtocolBuffer(void *const pv,void *const pvBuffer);
void DNCompleteReceiveBuffer(DIRECTNETOBJECT *const pdnObject,
CAsyncOp *const pAsyncOp);
//**********************************************************************
// Class prototypes
//**********************************************************************
#endif // __RECEIVE_H__