共用方式為


__inwordstring

Microsoft Specific

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

void __inwordstring(
   unsigned short Port,
   unsigned short* 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 words of data to read.

Requirements

Intrinsic

Architecture

__inwordstring

x86, x64

Header file <intrin.h>

Remarks

This routine is only available as an intrinsic.

See Also

Reference

Compiler Intrinsics