Setting the Start Type Value

You should set display drivers that are written to the Windows Display Driver Model (WDDM) to start to run on demand on Windows Vista and later, rather than during operating-system initialization, as was the case with display drivers that ran on operating systems prior to Windows Vista. This change is due to manifest and image-based-install functionality that was not present on operating systems prior to Windows Vista. You should set the value for the StartType entry to SERVICE_DEMAND_START (3) rather than SERVICE_SYSTEM_START (1).

The following example shows a service-install section with the value for the StartType entry set to SERVICE_DEMAND_START to indicate that the display miniport driver is started on demand:


;
; Service Installation Section
;

[R200_Service_Inst]
ServiceType    = 1        ; SERVICE_KERNEL_DRIVER
StartType      = 3        ; SERVICE_DEMAND_START
ErrorControl   = 0        ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Video
ServiceBinary  = %12%\r200.sys

For more information about service-install sections that are associated with the AddService directive, see INF AddService Directive.

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft