IPMPlatformManager::AddOS (Windows CE 5.0)
This method adds an OS object to the IPMPlatformManager interface.
HRESULT AddOS(BSTR bstrOSName,int wMajorVersion,int wMinorVersion,BSTR bstrOSTypeId,BSTR bstrOSId,IPMOS** ppiOS);
Parameters
- bstrOSName
[in] Name of the OS object to be added. - wMajorVersion
[in] Major version number of the OS. - wMinorVersion
[in] Minor version number of the OS. - bstrOSTypeId
[in] Optional; GUID of the OS type. - bstrOSId
[in] Optional; GUID of the OS object. If this parameter is not specified, Platform Manager creates a GUID for the OS object. - ppiOS
[out] Pointer to a pointer to the IPMOS interface.
Return Values
Returns S_OK if the call was successfully completed. If a failure occurs, the appropriate HRESULT value is returned.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Platman.h, Cemgr.idl.
See Also
Send Feedback on this topic to the authors