Commit 3c75d938 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

advapi32: Constify some variables.

parent b84348c4
......@@ -249,7 +249,7 @@ static inline void service_set_value( struct reg_value *val,
}
static inline void service_set_dword( struct reg_value *val,
LPCWSTR name, DWORD *data )
LPCWSTR name, const DWORD *data )
{
service_set_value( val, REG_DWORD, name, data, sizeof (DWORD));
}
......@@ -488,7 +488,7 @@ static BOOL service_send_start_message(HANDLE pipe, LPCWSTR *argv, DWORD argc)
/******************************************************************************
* service_handle_get_status
*/
static BOOL service_handle_get_status(HANDLE pipe, service_data *service)
static BOOL service_handle_get_status(HANDLE pipe, const service_data *service)
{
DWORD count = 0;
TRACE("\n");
......@@ -545,7 +545,7 @@ static BOOL service_send_control(HANDLE pipe, DWORD dwControl, DWORD *result)
/******************************************************************************
* service_accepts_control
*/
static BOOL service_accepts_control(service_data *service, DWORD dwControl)
static BOOL service_accepts_control(const service_data *service, DWORD dwControl)
{
DWORD a = service->status.dwControlsAccepted;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment