在我的 vb6 代码之一中,我使用了我声明为的IP_OPTION_INFORMATION和ICMP_ECHO_REPLY
Private Type IP_OPTION_INFORMATION
Ttl As Byte
Tos As Byte
Flags As Byte
OptionsSize As Byte
OptionsData As Long
End Type
和
Public Type icmp_echo_reply
address As Long
Status As Long
RoundTripTime As Long
DataSize As Long
Reserved As Integer
ptrData As Long
Options As IP_OPTION_INFORMATION
Data As String * 25
End Type
现在我想使用IP_OPTION_INFORMATION32和ICMP_ECHO_REPLY32但它与以前的没有什么不同。那么如何以同样的方式声明它呢?请帮忙。