共用方式為


__indword

Microsoft Specific

Reads one double word of data from the specified port using the in instruction.

unsigned long __indword(
   unsigned short Port
);

Parameters

  • [in] Port
    The port to read from.

Return Value

The word read from the port.

Requirements

Intrinsic

Architecture

__indword

x86, x64

Header file <intrin.h>

Remarks

This routine is only available as an intrinsic.

See Also

Reference

Compiler Intrinsics