宏调用问题
太虚野老 2018-09-13 02:58:26 asld10: ACQUIRE_SPINLOCK ecx,<short asld20>
fstRET KefAcquireSpinLockAtDpcLevel
align 4
asld20: SPIN_ON_SPINLOCK ecx,<short asld10>
上面代码的错误信息是:error A2166: structure field expected
ACQUIRE_SPINLOCK 宏定义:
ACQUIRE_SPINLOCK macro LockAddress, SpinLabel, NoChecking
SPIN_ON_SPINLOCK宏定义:
SPIN_ON_SPINLOCK macro LockAddress, AcquireLabel, NoChecking, PollDebugger, NoTimeout
什么原因导致的错误,代码中的尖括号又是啥意思。
宏定义的具体代码我没有写,挺复杂的。如果需要,我再贴上来。