Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

86 lines
1.1 KiB

/*++
Copyright (c) 1992 Microsoft Corporation
Module Name:
Spnetupg.h
Abstract:
Configuration routines for the disabling the nework services
Author:
Terry Kwan (terryk) 23-Nov-1993, provided code
Sunil Pai (sunilp) 23-Nov-1993, merged and modified code
Revision History:
--*/
#ifndef _SPNETUPG_H_
#define _SPNETUPG_H_
//
// Public functions
//
NTSTATUS SpDisableNetwork(
IN PVOID SifHandle,
IN HANDLE hKeySoftwareHive,
IN HANDLE hKeyControlSet
);
//
// Private data structures and routines
//
typedef struct _NODE *PNODE;
typedef struct _NODE {
PWSTR pszService;
PNODE Next;
} NODE, *PNODE;
NTSTATUS
SppNetAddItem(
PNODE *head,
PWSTR psz
);
NTSTATUS
SppNetAddList(
PNODE *head,
PWSTR psz
);
VOID
SppNetClearList(
PNODE *head
);
NTSTATUS
SppNetAddToDisabledList(
PWSTR pszService,
HANDLE hKeySoftware
);
NTSTATUS
SppNetGetAllNetServices(
PVOID SifHandle,
PNODE *head,
HANDLE hKeySoftware,
HANDLE hKeyCCSet
);
NTSTATUS
SppNetDisableServices(
PNODE ServiceList,
HANDLE hKeySoftware,
HANDLE hKeyCCSet
);
#endif // for _SPNETUPG_H_