共用方式為


__inbytestring

Microsoft Specific

Reads data from the specified port using the rep insb instruction.

void __inbytestring(
   unsigned short Port,
   unsigned char* Buffer,
   unsigned long Count
);

Parameters

  • [in] Port
    The port to read from.

  • [out] Buffer
    The data read from the port is written here.

  • [in] Count
    The number of bytes of data to read.

Requirements

Intrinsic

Architecture

__inbytestring

x86, x64

Header file <intrin.h>

Remarks

This routine is only available as an intrinsic.

See Also

Reference

Compiler Intrinsics