deprecatedfeaturesinwindowsmobile6

Cancel
Save
Edit

Introduction


The following terms, APIs and features are deprecated in Windows Mobile 6, and should not be used in new projects

Product Names

The following product names have been replaced.

Product Name Comment
Windows Mobile for Pocket PCThe new name for this class of device is Windows Mobile 6 Classic. For more information see the topic What's New in Naming Conventions for Windows Mobile 6.
Windows Mobile for Pocket PC Phone EditionThe new name for this class of device is Windows Mobile 6 Professional.
Windows Mobile for SmartphoneThe new name for this class of device is Windows Mobile 6 Standard.


Functions

The following functions should not be used in new projects.

API Comment
BatteryNotifyOfTimeChange This function is deprecated and does nothing.
GetServiceHandle This function is deprecated. To obtain a service handle, call CreateFile with the same prefix of the service whose handle must be retrieved.
ServiceIoControl This function is deprecated. Use DeviceIoControl with the same parameters.
gethostbyname The gethostbyname function has been deprecated by the introduction of getaddrinfo
gethostbyaddr The gethostbyaddr function has been deprecated by getnameinfo
HrGetOneProp This function may be deprecated in future versions of MAPI.
CreateFileForMapping This function is deprecated for Windows Mobile powered devices. To create or open a file that can be used for memory mapping, call CreateFile
GetAdaptersInfo This function retrieves adapter information for the local computer. This function is deprecated in favor of GetAdaptersAddresses.
GetStoreInformation GetStoreInformation is deprecated. Use GetDiskFreeSpaceEx instead.
CePimCommand The function CePimCommand has been deprecated and is no longer used for creating Outlook Mobile menu add-ins. Use the function IContextMenu instead.
PFNKEYBDEVENTCALLBACK, PFNKEYBDEVENTCALLBACK_EX These functions are deprecated. The keyboard driver does not implement these functions.
DeregisterDevice This function has been deprecated. Use DeactivateDevice instead.
RegisterDevice This function has been deprecated. Use ActivateDeviceEx instead.
SmsReadMessage The IMailRuleClient interface supersedes the functionality of the deprecated SmsReadMessage function.
IInkStrokes::ToString The ToString method of the IInkStrokes collection is deprecated. It should not be used for handwriting recognition applications.


Database Access


API Comment
ADOCE CE Data Access (ADOCE) has been deprecated. Use Microsoft SQL Server 2005 Compact Edition instead. For more information, see the topic Writing Applications that access Databases.
CeCredFree This function frees the buffer that is allocated by CeCredRead. This function is deprecated. Use the CeCredFreefunction instead.
CeCredRead This function returns a pointer to a credential structure that is specified by the target string. This function is deprecated. Use the CredReadfunction instead.
CeCredWrite This function creates or updates a credential that is specified by the target string. This function is deprecated. Use the CredWritefunction instead.
IRAPISession::CeSetDatabaseInfo This method has been deprecated. Use IRAPISession::CeSetDatabaseInfoEx instead.
IRAPISession::CeReadRecordProps This method has been deprecated. Use IRAPISession::CeReadRecordPropsEx instead.
IRAPISession::CeOpenDatabase This method has been deprecated. Use IRAPISession::CeOpenDatabaseEx instead.
IRAPISession::CeOidGetInfo This method has been deprecated. Use IRAPISession::CeOidGetInfoEx instead.
IRAPISession::CeFindNextDatabase This method has been deprecated. Use IRAPISession::CeFindNextDatabaseEx instead.
IRAPISession::CeFindFirstDatabase This method has been deprecated. Use IRAPISession::CeFindFirstDatabaseEx instead.
IRAPISession::CeDeleteDatabase This method has been deprecated. Use IRAPISession::CeDeleteDatabaseEx instead.
CeSetDatabaseInfo (RAPI) This method has been deprecated. Use CeSetDatabaseInfoEx (RAPI) instead.
CeReadRecordProps (RAPI) This method has been deprecated. Use CeReadRecordPropsEx (RAPI) instead.
CeOpenDatabase (RAPI) This method has been deprecated. Use CeOpenDatabaseEx (RAPI) instead.
CeOidGetInfo (RAPI) This method has been deprecated. Use CeOidGetInfoEx (RAPI) instead.
CeFindNextDatabase (RAPI) This method has been deprecated. Use CeFindNextDatabaseEx (RAPI) instead.
CeFindFirstDatabase (RAPI) This method has been deprecated. Use CeFindFirstDatabaseEx (RAPI) instead.
CeDeleteDatabase (RAPI) This method has been deprecated. Use CeDeleteDatabaseEx (RAPI) instead.

Security and Policy Settings


Feature Comment
In the security model documentation, untrusted and unprivileged are the deprecated terms for normal. For more information, see the topic Windows Mobile Powered Device Security Model.
SECPOLICYWAPSIGNEDMSG || This policy has been deprecated. Use SECPOLICYOMACPNETWPINMSG (4141), SECPOLICYOMACPUSERPINMSG (4142), and SECPOLICYOMACPUSERNETWPINMSG (4143) instead. While this policy is still supported, you cannot query for 4107 policy value. For more information, see the topic Security Policy Settings.
SECPOLICYUSEENCRYPT || This setting has been deprecated. Use SECPOLICYSMIMEENCRYPTION and SECPOLICY_SMIMEENCRYPTIONALGORITHM For more information, see the topic Security Policy Settings.
CREDENTIAL This structure is used by the Credential Manager API to read credentials from, and write credentials to, the registry. This structure is deprecated, use the CRED structure instead.

GAPI


Feature Comment
GAPI GAPI is deprecated. Use DirectDraw and Direct3D Mobile APIs instead.
GXCloseInput Use DirectDraw and Direct3D Mobile APIs instead.
GXGetDefaultKeys Use DirectDraw and Direct3D Mobile APIs instead.
GXOpenInput Use DirectDraw and Direct3D Mobile APIs instead.
GXResume Use DirectDraw and Direct3D Mobile APIs instead.
GXSuspend Use DirectDraw and Direct3D Mobile APIs instead.
GXKeyList Use DirectDraw and Direct3D Mobile APIs instead.


Feature Comment
eMbedded Visual Basic eMbedded Visual Basic (eVB) is deprecated. To develop applications using Visual Basic, use Visual Basic .NET together with the Microsoft .NET Compact Framework. For more information, see the topic Developing with Managed Code.
Registering ISAPI filters for raw data notifications is deprecated. Applications should write ISAPI extensions to process and generate data that is sent to and from the Web Server. For more information, see the topic HTTPFILTERVERSION.
HSEREQSENDRESPONSEHEADER This request type is deprecated. You should use HSEREQSENDRESPONSEHEADER_EX instead. For more information, see the topic ServerSupportFunction (ISAPI Extensions) Request Types.
IBrowser, IBrowser2 and IBrowser3. IBrowser, IBrowser2 and IBrowser3 are deprecated and will not be supported in future versions. Instead use IWebBrowser2 and DWebBrowserEvents2.
IOCTLPOWERQUERY This IOCTL queries to determine whether changing power state is feasible. This IOCTL has been deprecated and is not called by the Power Manager.
SPIGETPLATFORMTYPE || This parameter is deprecated. Use SPIGETPROJECTNAME instead. For more information, see the topic SystemParametersInfo.
APPLET This element is deprecated in HTML 4.0 in favor of <OBJECT>. For more information, see the topic Internet Explorer Mobile HTML Elements.
IOCTLSERVICEUNLOAD This IOCTL is deprecated and should never be used. To cause a service to be unloaded, use the DeregisterService function instead.