Partager via


DeviceInformation DDF File

4/8/2010

This topic shows the Device Description Framework (DDF) file for the DeviceInformation Configuration Service Provider. DDF files and the example in this topic are used only for OMA DM provisioning. For more information, see OMA Device Management.

Note

The first line of the DDF file is the namespace reference for Microsoft custom properties. For more information, see Managing Microsoft Custom Properties (OMA DM).

<MgmtTree xmlns:MSFT="https://schemas.microsoft.com/MobileDevice/DM">
    <VerDTD>1.2</VerDTD>
    <Node>
        <NodeName>DeviceInformation</NodeName>
        <Path>./Vendor/MSFT</Path>
        <DFProperties>
            <AccessType />
            <DFFormat>
                <node />
            </DFFormat>
            <Occurrence>
                <One />
            </Occurrence>
            <Scope>
                <Permanent />
            </Scope>
            <DFType>
                <DDFName></DDFName>
            </DFType>
            <MSFT:RWAccess>3</MSFT:RWAccess>
        </DFProperties>
        <Node>
            <NodeName>AvailableStorage</NodeName>
            <DFProperties>
                <AccessType>
                    <Get />
                </AccessType>
                <Description>Amount of storage memory currently available on the system.</Description>
                <DFFormat>
                    <chr />
                </DFFormat>
                <Occurrence>
                    <One />
                </Occurrence>
                <Scope>
                    <Permanent />
                </Scope>
                <DFType>
                    <MIME>text/plain</MIME>
                </DFType>
                <MSFT:RWAccess>1</MSFT:RWAccess>
            </DFProperties>
        </Node>
        <Node>
            <NodeName>AvailableStorageMB</NodeName>
            <DFProperties>
                <AccessType>
                    <Get />
                </AccessType>
                <Description>Amount of storage memory currently available on the system in MB.</Description>
                <DFFormat>
                    <float />
                </DFFormat>
                <Occurrence>
                    <One />
                </Occurrence>
                <Scope>
                    <Permanent />
                </Scope>
                <DFType>
                    <MIME>text/plain</MIME>
                </DFType>
                <MSFT:RWAccess>1</MSFT:RWAccess>
            </DFProperties>
        </Node>
        <Node>
            <NodeName>TotalStorage</NodeName>
            <DFProperties>
                <AccessType>
                    <Get />
                </AccessType>
                <DFFormat>
                    <chr />
                </DFFormat>
                <Occurrence>
                    <One />
                </Occurrence>
                <Scope>
                    <Permanent />
                </Scope>
                <DFType>
                    <MIME>text/plain</MIME>
                </DFType>
                <MSFT:RWAccess>1</MSFT:RWAccess>
            </DFProperties>
        </Node>
        <Node>
            <NodeName>TotalStorageMB</NodeName>
            <DFProperties>
                <AccessType>
                    <Get />
                </AccessType>
                <Description>Total storage memory on the system in MB.</Description>
                <DFFormat>
                    <float />
                </DFFormat>
                <Occurrence>
                    <One />
                </Occurrence>
                <Scope>
                    <Permanent />
                </Scope>
                <DFType>
                    <MIME>text/plain</MIME>
                </DFType>
                <MSFT:RWAccess>1</MSFT:RWAccess>
            </DFProperties>
        </Node>
        <Node>
            <NodeName>AvailableRemovableStorageMB</NodeName>
            <DFProperties>
                <AccessType>
                    <Get />
                </AccessType>
                <Description>Amount of removable storage memory currently available on the system in MB.</Description>
                <DFFormat>
                    <float />
                </DFFormat>
                <Occurrence>
                    <One />
                </Occurrence>
                <Scope>
                    <Permanent />
                </Scope>
                <DFType>
                    <MIME>text/plain</MIME>
                </DFType>
                <MSFT:RWAccess>1</MSFT:RWAccess>
            </DFProperties>
        </Node>
        <Node>
            <NodeName>TotalRemovableStorageMB</NodeName>
            <DFProperties>
                <AccessType>
                    <Get />
                </AccessType>
                <Description>Total removable storage memory on the system in MB.</Description>
                <DFFormat>
                    <float />
                </DFFormat>
                <Occurrence>
                    <One />
                </Occurrence>
                <Scope>
                    <Permanent />
                </Scope>
                <DFType>
                    <MIME>text/plain</MIME>
                </DFType>
                <MSFT:RWAccess>1</MSFT:RWAccess>
            </DFProperties>
        </Node>
        <Node>
            <NodeName>BacklightACTimeout</NodeName>
            <DFProperties>
                <AccessType>
                    <Get />
                    <Replace />
                </AccessType>
                <Description>Backlight timeout</Description>
                <DFFormat>
                    <int />
                </DFFormat>
                <Occurrence>
                    <One />
                </Occurrence>
                <Scope>
                    <Permanent />
                </Scope>
                <DFType>
                    <MIME>text/plain</MIME>
                </DFType>
                <MSFT:RWAccess>3</MSFT:RWAccess>
            </DFProperties>
        </Node>
        <Node>
            <NodeName>Product</NodeName>
            <DFProperties>
                <AccessType>
                    <Get />
                </AccessType>
                <Description>Name of the Product.  (e.g. Pocket PC, Smartphone)</Description>
                <DFFormat>
                    <chr />
                </DFFormat>
                <Occurrence>
                    <One />
                </Occurrence>
                <Scope>
                    <Permanent />
                </Scope>
                <DFType>
                    <MIME>text/plain</MIME>
                </DFType>
                <MSFT:RWAccess>1</MSFT:RWAccess>
            </DFProperties>
        </Node>
        <Node>
            <NodeName>BacklightBatteryTimeout</NodeName>
            <DFProperties>
                <AccessType>
                    <Get />
                    <Replace />
                </AccessType>
                <Description>Backlight timeout. in milliseconds. -1 = Never</Description>
                <DFFormat>
                    <int />
                </DFFormat>
                <Occurrence>
                    <One />
                </Occurrence>
                <Scope>
                    <Permanent />
                </Scope>
                <DFTitle>Backlight time out:</DFTitle>
                <DFType>
                    <MIME>text/plain</MIME>
                </DFType>
                <MSFT:RWAccess>3</MSFT:RWAccess>
            </DFProperties>
        </Node>
        <Node>
            <NodeName>BatteryStrength</NodeName>
            <DFProperties>
                <AccessType>
                    <Get />
                </AccessType>
                <Description>Current Battery strength of the device (in Percent)</Description>
                <DFFormat>
                    <int />
                </DFFormat>
                <Occurrence>
                    <One />
                </Occurrence>
                <Scope>
                    <Permanent />
                </Scope>
                <DFTitle>Main battery:</DFTitle>
                <DFType>
                    <MIME>text/vnd.ms.progressbar</MIME>
                </DFType>
                <MSFT:RWAccess>1</MSFT:RWAccess>
                <MSFT:MinValue>0</MSFT:MinValue>
                <MSFT:MaxValue>100</MSFT:MaxValue>
            </DFProperties>
        </Node>
        <Node>
            <NodeName>ProcessorType</NodeName>
            <DFProperties>
                <AccessType>
                    <Get />
                </AccessType>
                <Description>Type of Processor on which the device is running.</Description>
                <DFFormat>
                    <chr />
                </DFFormat>
                <Occurrence>
                    <One />
                </Occurrence>
                <Scope>
                    <Permanent />
                </Scope>
                <DFType>
                    <MIME>text/plain</MIME>
                </DFType>
                <MSFT:RWAccess>1</MSFT:RWAccess>
            </DFProperties>
        </Node>
        <Node>
            <NodeName>AvailableRam</NodeName>
            <DFProperties>
                <AccessType>
                    <Get />
                </AccessType>
                <Description>Amount of RAM currently available on the system.</Description>
                <DFFormat>
                    <chr />
                </DFFormat>
                <Occurrence>
                    <One />
                </Occurrence>
                <Scope>
                    <Permanent />
                </Scope>
                <DFType>
                    <MIME>text/plain</MIME>
                </DFType>
                <MSFT:RWAccess>1</MSFT:RWAccess>
            </DFProperties>
        </Node>
        <Node>
            <NodeName>AvailableRamMB</NodeName>
            <DFProperties>
                <AccessType>
                    <Get />
                </AccessType>
                <Description>Amount of RAM currently available on the system in MB.</Description>
                <DFFormat>
                    <float />
                </DFFormat>
                <Occurrence>
                    <One />
                </Occurrence>
                <Scope>
                    <Permanent />
                </Scope>
                <DFType>
                    <MIME>text/plain</MIME>
                </DFType>
                <MSFT:RWAccess>1</MSFT:RWAccess>
            </DFProperties>
        </Node>
        <Node>
            <NodeName>TotalRam</NodeName>
            <DFProperties>
                <AccessType>
                    <Get />
                </AccessType>
                <DFFormat>
                    <chr />
                </DFFormat>
                <Occurrence>
                    <One />
                </Occurrence>
                <Scope>
                    <Permanent />
                </Scope>
                <DFType>
                    <MIME>text/plain</MIME>
                </DFType>
                <MSFT:RWAccess>1</MSFT:RWAccess>
            </DFProperties>
        </Node>
        <Node>
            <NodeName>TotalRamMB</NodeName>
            <DFProperties>
                <AccessType>
                    <Get />
                </AccessType>
                <Description>Total RAM on the system in MB.</Description>
                <DFFormat>
                    <float />
                </DFFormat>
                <Occurrence>
                    <One />
                </Occurrence>
                <Scope>
                    <Permanent />
                </Scope>
                <DFType>
                    <MIME>text/plain</MIME>
                </DFType>
                <MSFT:RWAccess>1</MSFT:RWAccess>
            </DFProperties>
        </Node>
        <Node>
            <NodeName>ProductVersion</NodeName>
            <DFProperties>
                <AccessType>
                    <Get />
                </AccessType>
                <DFFormat>
                    <chr />
                </DFFormat>
                <Occurrence>
                    <One />
                </Occurrence>
                <Scope>
                    <Permanent />
                </Scope>
                <DFType>
                    <MIME>text/plain</MIME>
                </DFType>
                <MSFT:RWAccess>1</MSFT:RWAccess>
            </DFProperties>
        </Node>
        <Node>
            <NodeName>OperatingSystemVersion</NodeName>
            <DFProperties>
                <AccessType>
                    <Get />
                </AccessType>
                <DFFormat>
                    <chr />
                </DFFormat>
                <Occurrence>
                    <One />
                </Occurrence>
                <Scope>
                    <Permanent />
                </Scope>
                <DFType>
                    <MIME>text/plain</MIME>
                </DFType>
                <MSFT:RWAccess>1</MSFT:RWAccess>
            </DFProperties>
        </Node>
        <Node>
            <NodeName>OperatingSystem</NodeName>
            <DFProperties>
                <AccessType>
                    <Get />
                </AccessType>
                <DFFormat>
                    <chr />
                </DFFormat>
                <Occurrence>
                    <One />
                </Occurrence>
                <Scope>
                    <Permanent />
                </Scope>
                <DFType>
                    <MIME>text/plain</MIME>
                </DFType>
                <MSFT:RWAccess>1</MSFT:RWAccess>
            </DFProperties>
        </Node>
    </Node>
</MgmtTree>

See Also

Reference

DeviceInformation Configuration Service Provider
DeviceInformation Configuration Service Provider Examples for OMA DM