Better PHP Documentation
opinionated
Open main menu
Get Started
Documentation
Community
Training
Better PHP Documentation
Close menu
Get Started
Documentation
Community
Training
Log in
Change language:
English
German
Spanish
French
Italian
Japanese
Brazilian Portuguese
Russian
Turkish
Ukrainian
Chinese (Simplified)
Other
win32service
Introduction
Installing/Configuring
Requirements
Installation
Security consideration
Predefined Constants
Win32ServiceException
β The Win32ServiceException class
Win32Service\RightInfo
β The Win32Service\RightInfo class
Win32Service\RightInfo::__construct
β Create a new RightInfo (not used)
Win32Service\RightInfo::getDomain
β Return the user's domain
Win32Service\RightInfo::getFullUsername
β Return the domain and username
Win32Service\RightInfo::getRights
β Return the rights list
Win32Service\RightInfo::getUsername
β Return the username
Win32Service\RightInfo::isDenyAccess
β Return true if the RightInfo concerns deny access to the resource
Win32Service\RightInfo::isGrantAccess
β Return true if the RightInfo concern grants access to the resource
Examples
win32service Functions
win32_add_right_access_service
β Add rights access for an username to the service
win32_add_service_env_var
β Add a custom environment variables on service
win32_continue_service
β Resumes a paused service
win32_create_service
β Creates a new service entry in the SCM database
win32_delete_service
β Deletes a service entry from the SCM database
win32_get_last_control_message
β Returns the last control message that was sent to this service
win32_get_service_env_vars
β Read all custom environment variables on service
win32_pause_service
β Pauses a service
win32_query_service_status
β Queries the status of a service
win32_read_all_rights_access_service
β Read all service rights access
win32_read_right_access_service
β Read the service rights access for an username
win32_remove_right_access_service
β Remove the service rights access for an username
win32_remove_service_env_var
β Remove a custom environment variables on service
win32_send_custom_control
β Send a custom control to the service
win32_set_service_exit_code
β Define or return the exit code for the current running service
win32_set_service_exit_mode
β Define or return the exit mode for the current running service
win32_set_service_pause_resume_state
β Define or return the pause/resume capability for the current running service
win32_set_service_status
β Update the service status
win32_start_service
β Starts a service
win32_start_service_ctrl_dispatcher
β Registers the script with the SCM, so that it can act as the service with the given name
win32_stop_service
β Stops a service
Found A Problem?
Learn How To Improve This Page
β’
Submit a Pull Request
β’
Report a Bug
οΌ
add a note
User Contributed Notes
1 note
up
down
0
jbnahan at php dot net
ΒΆ
6 years ago
The version 0.4 allow now to send and receive a custom control code.
οΌ
add a note
0
pcntl_sigtimedwait
Waits for signals, with a timeout
0
similar_text
Calculate the similarity between two strings
0
boolval
Get the boolean value of a variable
0
curl_multi_close
Close a set of cURL handles
0
imap_body
Read the message body
0
mb_strpos
Find position of first occurrence of string in a string
0
pg_send_prepare
Sends a request to create a prepared statement with the given parameters, without waiting for completion
0
swoole_native_socket_bind
0
Arr::prependKeysWith
0
zend_version
Gets the version of the current Zend engine
^