SERVICE_TABLE_ENTRY
来源:互联网 发布:日本行知学园熟官网 编辑:程序博客网 时间:2024/05/17 06:16
SERVICE_TABLE_ENTRY
The SERVICE_TABLE_ENTRY structure is used by the StartServiceCtrlDispatcher function to specify the ServiceMain function for a service that can run in the calling process.
typedef struct _SERVICE_TABLE_ENTRY {
LPTSTR lpServiceName;
LPSERVICE_MAIN_FUNCTION lpServiceProc;} SERVICE_TABLE_ENTRY,
*LPSERVICE_TABLE_ENTRY;
Members
- lpServiceName
- Pointer to a null-terminated string that specifies the name of a service to be run in this service process.
If the service is installed with the SERVICE_WIN32_OWN_PROCESS service type, this member is ignored, but cannot be NULL. This member can be an empty string ("").
If the service is installed with the SERVICE_WIN32_SHARE_PROCESS service type, this member specifies the name of the service that uses the ServiceMain function pointed to by the lpServiceProc member.
- lpServiceProc
- Pointer to a ServiceMain function.
Requirements
Declared in Winsvc.h; include Windows.h.
Implemented as SERVICE_TABLE_ENTRYW (Unicode) and SERVICE_TABLE_ENTRYA (ANSI).
- SERVICE_TABLE_ENTRY
- SERVICE_TABLE_ENTRY
- About SERVICE_TABLE_ENTRY
- (翻译)测试小技巧集锦之二文档编写
- SERVICE_DESCRIPTION
- 风云网络工作室-专业的wow代练工作室http://ahhujing.go.nease.net
- SERVICE_FAILURE_ACTIONS
- SERVICE_STATUS_PROCESS
- SERVICE_TABLE_ENTRY
- Writing a Service Program's main Function
- Writing a ServiceMain Function
- Writing a Control Handler Function
- 给中国学生的第四封信(李开复)--转载
- Creating a Multithreaded Service
- 乱码原理
- Handling Logoff Events
- 第八章configuring the database archiving mode