Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
The variable argument should instead be a (literal) constant
This warning is reported when a function call is missing a required (literal) constant. Consult the documentation for the function.
Example
For example, the ExAcquireResourceExclusiveLite routine requires a value of TRUE or FALSE for the Wait parameter. The following example code generates this warning:
ExAcquireResourceExclusiveLite(Resource, Wait);
The following code example avoids this warning:
ExAcquireResourceExclusiveLite(Resource, TRUE);