sbWMDMUtils.cpp File Reference

Songbird WMDM Utilities Source. More...

#include "sbWMDMUtils.h"
#include "sbWindowsDeviceUtils.h"
#include <WMDRMCertificate.h>
#include <nsAutoPtr.h>
#include <SCClient.h>
Include dependency graph for sbWMDMUtils.cpp:

Go to the source code of this file.

Functions

nsresult sbWMDMGetDeviceFromDeviceInstanceID (nsAString &aDeviceInstanceID, IWMDMDevice **aDevice)
 
nsresult sbWMDMGetDeviceManager (IWMDeviceManager **aDeviceManager)
 

Detailed Description

Songbird WMDM Utilities Source.

Definition in file sbWMDMUtils.cpp.

Function Documentation

nsresult sbWMDMGetDeviceFromDeviceInstanceID ( nsAString &  aDeviceInstanceID,
IWMDMDevice **  aDevice 
)

Return in aDevice the WMDM device with the device instance ID specified by aDeviceInstanceID.

Parameters
aDeviceInstanceIDInstance ID of WMDM device.
aDeviceReturned WMDM device.
Returns
NS_ERROR_NOT_AVAILABLE No WMDM device corresponds to device instance ID.

Definition at line 72 of file sbWMDMUtils.cpp.

Here is the call graph for this function:

nsresult sbWMDMGetDeviceManager ( IWMDeviceManager **  aDeviceManager)

Return in aDeviceManager the Windows media device manager.

Parameters
aDeviceManagerWindows media device manager.

Definition at line 155 of file sbWMDMUtils.cpp.

Here is the caller graph for this function: