
386
CHAPTER 13 WINDOWS SERVICES
Controls Accepted
specifi es the control codes that the service will accept and
process through its service control ha ndler (see the next section). Table 13–3
enumerates four of the possible values, and the appropriate values should be
combined by bit-wise “or” (
). The service version of , developed later,
will accept only the first three va lues. Additional values are described in the
MSDN entry for
.
Service-Specific Code
Once the handler has been registered and the service status has been set to
, the service can initialize i tself and set its status
again. In the case of converting
, once the sockets a re initia