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 PC | The 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 Edition | The new name for this class of device is Windows Mobile 6 Professional. |
| Windows Mobile for Smartphone | The 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
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 |
| 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. |