1. 注册服务到SCM
获取SCM句柄,h_scm = OpenSCManager(..)
注册服务到SCM, h_sev = CreateService(h_scm..)
The following is a complete service sample. When using this code as a
template, simply add code to the sections that are prefaced by TO_DO.
%28v=vs.85%29.aspx
阅读(1273) | 评论(0) | 转发(0) |