Creates a new scheduler whose behavior is described by the _Policy parameter, places an initial reference on the scheduler, and returns a pointer to it.
The scheduler policy that describes behavior of the newly created scheduler.
A pointer to a newly created scheduler. This Scheduler object has an initial reference count placed on it.
After a scheduler is created with the Create method, you must call the Release method at some point in the future in order to remove the initial reference count and allow the scheduler to shut down.
A scheduler created with this method is not attached to the calling context. It can be attached to a context using the Attach method.