Pastaba.
Prieigai prie šio puslapio reikalingas įgaliojimas. Galite bandyti prisijungti arba pakeisti katalogus.
Prieigai prie šio puslapio reikalingas įgaliojimas. Galite bandyti pakeisti katalogus.
warning C28165: The function pointer of class does not match the function class
A function pointer has a __drv_functionClass annotation that specifies that only functions of a particular functional class should be assigned to it. In an assignment or implied assignment in a function call, the source and target must be of the same function class, but the function classes do not match.
Example
The following code example elicits this warning.
IoSetCancelRoutine(MyStartIo);
The following code example avoids this warning.
IoSetCancelRoutine(MyCancelRoutine);