Chapter 11: Using Operating System Classes 241
If inMask AND 1048576 Then strPerm = strPerm & "Synchronize, "
strAccessMask = strPerm
End Function
Using the Service Classes
Two classes are in this group: Win32_BaseService and Win32_Service. Each class contains 10
methods. Win32_BaseService has 22 properties, and Win32_Service has 25 properties. In 22
cases, the properties are identical; three unique properties are defined in Win32_Service:
Checkpoint, ProcessID, and WaitHint. This makes sense because Win32_BaseService is used to
describe a service that starts when the Windows operating system starts. These are very low-
level types of services that do not belong to any particular user; rather, they are owned by the
system. All of these base ...