diff options
author | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
---|---|---|
committer | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
commit | e611b132f9b8abe35b362e5870b74bce94a1e58e (patch) | |
tree | a5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/ntos/tdi/irda/inc/irlmp.h | |
download | NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2 NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip |
Diffstat (limited to 'private/ntos/tdi/irda/inc/irlmp.h')
-rw-r--r-- | private/ntos/tdi/irda/inc/irlmp.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/private/ntos/tdi/irda/inc/irlmp.h b/private/ntos/tdi/irda/inc/irlmp.h new file mode 100644 index 000000000..ac46e4107 --- /dev/null +++ b/private/ntos/tdi/irda/inc/irlmp.h @@ -0,0 +1,60 @@ +/***************************************************************************** +* +* 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 + +UINT IRLMP_Initialize(int Port, BOOL SetIR, BYTE DscvInfo[], int DscvInfoLen, + IRDA_QOS_PARMS *pQOS, int MaxSlot, CHAR *pDeviceName, + int DeviceNameLen); + +UINT IrlmpDown(PVOID IrlmpContext, PIRDA_MSG pIMsg); +UINT IrlmpUp(PVOID IrlmpContext, PIRDA_MSG pIMsg); + +UINT IRLMP_RegisterLSAPProtocol(int LSAP, BOOL UseTTP); +UINT IRLMP_Shutdown(); + +#ifdef DEBUG +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 IAS_ClassName_Device[]; +extern const CHAR IAS_AttribName_DeviceName[]; +extern const CHAR IAS_AttribName_IrLMPSupport[]; +extern const CHAR IAS_AttribName_TTPLsapSel[]; +extern const CHAR IAS_AttribName_IrLMPLsapSel[]; + +extern const BYTE IAS_ClassNameLen_Device; +extern const BYTE IAS_AttribNameLen_DeviceName; +extern const BYTE IAS_AttribNameLen_IRLMPSupport; +extern const BYTE IAS_AttribNameLen_TTPLsapSel; +extern const BYTE IAS_AttribNameLen_IrLMPLsapSel; + +UINT IAS_AddAttribute(IAS_SET *pIASSet); + +UINT IAS_DeleteObject(CHAR *pClassName); |