AddDevice is a pointer to a function within the driver that creates device objects; this function is rather a big deal, and I'll discuss it at length in the section" The AddDevice Routine" later in this chapter.
To declare a pointer to a function, specify the "pointer to a function" type, for example
若要声明函数指针,指定"函数指针" 类型,例如:
To declare a pointer to a function, specify the "pointer to a function" type, for example
添加支持函数指针来简化事件模式的安排。若要声明一个函数指针,请指定"函数指针"类型,例如:
Hence, a pointer to a function is a functor an object that can be used in place of a function name in function call syntax. On the other hand, because a reference is not an object, a reference to a function is not a functor.
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.