Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
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);