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.
 
 
 
 
 
 

80 lines
1.8 KiB

/*****************************************************************************
*
* Copyright (c) 1995 Microsoft Corporation
*
* File: irlmp.h
*
* Description: IRLMP Protocol and control block definitions
*
* Author: mbert
*
* Date: 4/15/95
*
*/
#define IRLMP_MAX_USER_DATA_LEN 53
// IrLMP Entry Points
VOID
IrlmpInitialize();
VOID
IrlmpOpenLink(
OUT PNTSTATUS Status,
IN PIRDA_LINK_CB pIrdaLinkCb,
IN UCHAR *pDeviceName,
IN int DeviceNameLen,
IN UCHAR CharSet);
VOID
IrlmpCloseLink(
IN PIRDA_LINK_CB pIrdaLinkCb);
UINT
IrlmpUp(
PIRDA_LINK_CB pIrdaLinkCb, PIRDA_MSG pIMsg);
UINT
IrlmpDown(
PVOID IrlmpContext, PIRDA_MSG pIrdaMsg);
VOID
IrlmpDeleteInstance(
PVOID Context);
VOID
IrlmpGetPnpContext(
PVOID IrlmpContext,
PVOID *pPnpContext);
#if DBG
void IRLMP_PrintState();
#endif
// IAS
#define IAS_ASCII_CHAR_SET 0
// IAS Attribute value types
#define IAS_ATTRIB_VAL_MISSING 0
#define IAS_ATTRIB_VAL_INTEGER 1
#define IAS_ATTRIB_VAL_BINARY 2
#define IAS_ATTRIB_VAL_STRING 3
// IAS Operation codes
#define IAS_OPCODE_GET_VALUE_BY_CLASS 4 // The only one I do
extern const CHAR IasClassName_Device[];
extern const CHAR IasAttribName_DeviceName[];
extern const CHAR IasAttribName_IrLMPSupport[];
extern const CHAR IasAttribName_TTPLsapSel[];
extern const CHAR IasAttribName_IrLMPLsapSel[];
extern const CHAR IasAttribName_IrLMPLsapSel2[];
extern const UCHAR IasClassNameLen_Device;
extern const UCHAR IasAttribNameLen_DeviceName;
extern const UCHAR IasAttribNameLen_IRLMPSupport;
extern const UCHAR IasAttribNameLen_TTPLsapSel;
extern const UCHAR IasAttribNameLen_IrLMPLsapSel;