2.2.56 svcctl Interface Constants
The following are constants that are used by the svcctl interface.
Constant/value |
Description |
---|---|
MAX_SERVICE_NAME_LENGTH 256 |
This constant is the maximum length of a service name. It is defined as an unsigned short. The length does not include the terminating null character. |
SC_MAX_ACCOUNT_NAME_LENGTH 2048 |
This constant is the maximum size of the account name strings. It is defined as an unsigned short. The length includes the terminating null character. |
SC_MAX_ARGUMENT_LENGTH 1024 |
This constant is the maximum size of the argument strings. It is defined as an unsigned short. The length includes the terminating null character. |
SC_MAX_ARGUMENTS 1024 |
This constant is the maximum length of the argc parameter of the RStartServiceA (section 3.1.4.30) and RStartServiceW (section 3.1.4.19) RPCs. It is defined as an unsigned short. |
SC_MAX_COMMENT_LENGTH 128 |
This constant is the maximum size of the comment strings. It is defined as an unsigned short. The length includes the terminating null character. |
SC_MAX_COMPUTER_NAME_LENGTH 1024 |
This constant is the maximum size of the computer name strings. It is defined as an unsigned short. The length includes the terminating null character. |
SC_MAX_DEPEND_SIZE 4096 |
This constant is the maximum size in bytes of the dependency strings, which describe the set of startup order dependencies for a service. It is defined as an unsigned short. The length includes two terminating null characters. |
SC_MAX_NAME_LENGTH 257 |
This constant is the maximum size in bytes of the name strings. It is defined as an unsigned short. The length includes the terminating null character. |
SC_MAX_PATH_LENGTH 32768 |
This constant is the maximum size of the path strings. It is defined as an unsigned short. The length includes the terminating null character. |
SC_MAX_PWD_SIZE 514 |
This constant is the maximum size of the password strings. It is defined as an unsigned short. The length includes the terminating null character. |