OID_WAN_CO_GET_COMP_INFO
The OID_WAN_CO_GET_COMP_INFO OID requests the miniport driver to return information about the capabilities of the NIC or of its driver, in particular whether either supports compression. If so, the values returned are used to negotiate compression with the Point-to-Point Protocol (PPP) Compression Control Protocol. The protocol subsequently negotiates a PPP compression scheme with an OID_WAN_CO_SET_COMP_INFO request. This compression information is specific to a virtual connection (VC).
Compression information is returned in an NDIS_WAN_CO_GET_COMP_INFO structure, defined as follows:
typedef struct _NDIS_WAN_CO_GET_COMP_INFO {
OUT NDIS_WAN_COMPRESS_INFO SendCapabilities;
OUT NDIS_WAN_COMPRESS_INFO RecvCapabilities;
} NDIS_WAN_CO_GET_COMP_INFO, *PNDIS_WAN_CO_GET_COMP_INFO;
The members of this structure contain the following information:
SendCapabilities
Specifies a structure containing information about compression capabilities for sending data.
RecvCapabilities
Specifies a structure containing information about compression capabilities for receiving data.
Remarks
For specifics of the NDIS_WAN_COMPRESS_INFO structure, see OID_WAN_GET_COMP_INFO.
Requirements
Version |
Supported for NDIS 6.0 and NDIS 5.1 drivers in Windows Vista. Supported for NDIS 5.1 drivers in Windows XP. |
Header |
Ntddndis.h (include Ndis.h) |