NDIS_STATUS
TOK162QueryInformation(
  IN  NDIS_HANDLE MiniportAdapterContext,
  IN  NDIS_OID Oid,
  IN  PVOID InformationBuffer,
  IN  ULONG InformationBufferLength,
  OUT PULONG BytesWritten,
  OUT PULONG BytesNeeded
  );

Routine Description:

    The TOK162QueryInformation process a Query request for specific
    NDIS_OIDs

Arguments:

    MiniportAdapterContext  - a pointer to the adapter.

    Oid                     - the NDIS_OID to process.

    InformationBuffer       - a pointer into the
                              NdisRequest->InformationBuffer into which
                              we store the result of the query

    InformationBufferLength - a pointer to the number of bytes left in the
                              InformationBuffer.

    BytesWritten            - a pointer to the number of bytes written into
                              the InformationBuffer.

    BytesNeeded             - If there is not enough room in the information
                              buffer this will contain the number of bytes
                              needed to complete the request.

Return Value:

    The function value is the status of the operation.(NDIS_STATUS_PENDING)