Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
Other versions of this page are also available for the following:
Windows Mobile Not Supported Windows Embedded CE Supported
8/28/2008

This function retrieves the record in a device management package database.

Syntax


HRESULT CeGetDevMgmtPackageList(
  PDMSINVRECORD 
pRecord
,
  LPDWORD 
pdwEntryNumber
,
  DWORD 
dwFilter

);

Parameters

pRecord

[in] Buffer to receive the records. If this parameter is NULL, * pdwEntryNumberreturns the number of records that match the searching filter.

pdwEntryNumber

[in, out] Specifies the size of pRecordin sizeof(DMSINVRECORD). If the function succeeds, * pdwEntryNumberreturns the number of records put in pRecord.

dwFilter

[in] Specifies the type of records to be retrieved. This can be a combination of one of the values shown in the following table, except for PACKAGE_SRCH_BY_ID.

Value Description

PACKAGE_OPTIONAL

Indicates that the package is optional.

PACKAGE_MANDATORY

Indicates that the package is mandatory.

PACKAGE_DL_PENDING

Indicates that the download of the package is pending.

PACKAGE_DL_FAIL

Indicates that the download of the package failed.

PACKAGE_DL_SUCCESS

Indicates that the download of the package was successful

PACKAGE_SRCH_BY_ID

Used to retrieve a record with a specific package identifier.

PACKAGE_GET_ID_ONLY

Used to get only the package ID, instead of the entire record. In this case, the data type of pRecordbecomes *DMSINVPKGID.

Return Value

Returns S_OK if the task is scheduled successfully. This function also supports the standard return value E_INVALIDARG.

Requirements

Header devmgmt.h
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

DMSINVRECORD

Concepts

API Access