Leaked source code of windows server 2003
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.
 
 
 
 
 
 

68 lines
1.5 KiB

/*++
Copyright (c) Microsoft Corporation. All rights reserved.
Module Name:
pnpsec.c
Abstract:
This module contains definitions used with the Plug and Play manager
security object.
Author:
James G. Cavalaris (jamesca) 05-Apr-2002
Environment:
User-mode only.
Revision History:
05-Apr-2002 Jim Cavalaris (jamesca)
Creation and initial implementation.
--*/
//
// Audit subsystem and object names
//
#define PLUGPLAY_SUBSYSTEM_NAME L"PlugPlayManager"
#define PLUGPLAY_SECURITY_OBJECT_NAME L"PlugPlaySecurityObject"
#define PLUGPLAY_SECURITY_OBJECT_TYPE L"Security"
//
// PlugPlayManager object specific access rights
//
#define PLUGPLAY_READ (0x0001)
#define PLUGPLAY_WRITE (0x0002)
#define PLUGPLAY_EXECUTE (0x0004)
#define PLUGPLAY_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | \
PLUGPLAY_READ | \
PLUGPLAY_WRITE | \
PLUGPLAY_EXECUTE)
//
// Structure that describes the mapping of Generic access rights to object
// specific access rights for the Plug and Play Manager security object.
//
#define PLUGPLAY_GENERIC_MAPPING { \
STANDARD_RIGHTS_READ | \
PLUGPLAY_READ, \
STANDARD_RIGHTS_WRITE | \
PLUGPLAY_WRITE, \
STANDARD_RIGHTS_EXECUTE | \
PLUGPLAY_EXECUTE, \
PLUGPLAY_ALL_ACCESS }