หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
warning C28128: An access to a field has been made directly. It should be made by a routine.
The driver directly accessed a structure member that should be accessed only by using specialized functions.
For example, you should use the IoSetCancelRoutine instead of directly modifying the CancelRoutine member of the IRP structure.
Example
The following code example elicits this warning.
irp->CancelRoutine = myCancelRoutine;
The following code example avoids this warning.
oldCancel = IoSetCancelRoutine(irp, myCancelRoutine);