mirror of
https://github.com/hakril/PythonForWindows
synced 2026-06-08 14:31:45 +00:00
Add functions implemented by services in ctypes_generation
This commit is contained in:
@@ -267,4 +267,38 @@ BOOL StartServiceCtrlDispatcherA(
|
||||
|
||||
BOOL StartServiceCtrlDispatcherW(
|
||||
SERVICE_TABLE_ENTRYW *lpServiceStartTable
|
||||
);
|
||||
|
||||
SERVICE_STATUS_HANDLE RegisterServiceCtrlHandlerExA(
|
||||
[in] LPCSTR lpServiceName,
|
||||
[in] LPHANDLER_FUNCTION_EX lpHandlerProc,
|
||||
[in, optional] LPVOID lpContext
|
||||
);
|
||||
|
||||
SERVICE_STATUS_HANDLE RegisterServiceCtrlHandlerExW(
|
||||
[in] LPCWSTR lpServiceName,
|
||||
[in] LPHANDLER_FUNCTION_EX lpHandlerProc,
|
||||
[in, optional] LPVOID lpContext
|
||||
);
|
||||
|
||||
SERVICE_STATUS_HANDLE RegisterServiceCtrlHandlerA(
|
||||
[in] LPCSTR lpServiceName,
|
||||
[in] LPHANDLER_FUNCTION lpHandlerProc
|
||||
);
|
||||
|
||||
SERVICE_STATUS_HANDLE RegisterServiceCtrlHandlerW(
|
||||
[in] LPCWSTR lpServiceName,
|
||||
[in] LPHANDLER_FUNCTION lpHandlerProc
|
||||
);
|
||||
|
||||
BOOL SetServiceStatus(
|
||||
[in] SERVICE_STATUS_HANDLE hServiceStatus,
|
||||
[in] LPSERVICE_STATUS lpServiceStatus
|
||||
);
|
||||
|
||||
BOOL SetServiceBits(
|
||||
[in] SERVICE_STATUS_HANDLE hServiceStatus,
|
||||
[in] DWORD dwServiceBits,
|
||||
[in] BOOL bSetBitsOn,
|
||||
[in] BOOL bUpdateImmediately
|
||||
);
|
||||
@@ -263,6 +263,8 @@ LPSERVICE_MAIN_FUNCTIONA = PVOID
|
||||
LPSERVICE_MAIN_FUNCTIONW = PVOID
|
||||
LPOVERLAPPED_COMPLETION_ROUTINE = PVOID
|
||||
PDNS_QUERY_COMPLETION_ROUTINE = PVOID
|
||||
LPHANDLER_FUNCTION = PVOID
|
||||
LPHANDLER_FUNCTION_EX = PVOID
|
||||
|
||||
|
||||
// Will be changed at import time
|
||||
|
||||
Reference in New Issue
Block a user