Freigeben über


IPMOS:IDispatch (Windows CE 5.0)

Send Feedback

This interface provides the ability to access and change a specified operating system (OS) object. The OS object is returned as a collection by the IPMPlatformManager::EnumOSs method. The OS object is returned as a single object by the IPMPlatformManager::GetOS and IPMPlatform::GetOS methods.

The following code sample shows one technique for accessing an OS object from an Automation client.

Dim tOS as Object
Set tOS = tPlatman.GetOS( <GUID or name of OS> )

The following table shows this interface's methods.

Method Description
IPMOS::Id Obtains the GUID associated with the OS object.
IPMOS::Name Obtains or sets the name of the OS object.
IPMOS::MajorVersion Obtains or sets the major version of the OS object.
IPMOS::MinorVersion Obtains or sets the minor version of the OS object.
IPMOS::TypeId Obtains or sets the type GUID of the OS.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Os.h, Cemgr.idl.

See Also

Platform Manager API | IPMPlatform::GetOS | IPMPlatformManager::EnumOSs | IPMPlatformManager::GetOS

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.