Partager via


Obsolete Kernel APIs (Windows Embedded CE 6.0)

1/6/2010

This topic shows the kernel APIs that are obsolete as of Windows Embedded CE 6.0.

The following table shows the APIs that are obsolete as of Windows Embedded CE 6.0, and any available porting information.

Function Porting information

CreateFileForMapping

Obsolete. Consider switching to CreateFile. The handle-closing semantics for CreateFile are different from those of CreateFileForMapping. The kernel automatically closes the handle you receive from CreateFileForMapping, but you must close the handle you receive from CreateFile.

DeregisterDevice

Obsolete. Use DeactivateDevice instead.

GetCallerProcess

Obsolete. Use GetDirectCallerProcessId or GetCallerVMProcessId instead.

IsAPIReady

Obsolete. The number of API sets has been extended, and the API set identifiers have changed. IsAPIReady works only for API sets that existed before Windows Embedded CE 6.0, and not for new API sets available with Windows Embedded CE 6.0. For the new API sets, use WaitForAPIReady or a ready-event signaling mechanism.

RegisterDevice

Obsolete. Use ActivateDeviceEx instead.

See Also

Other Resources

Kernel API Modifications: Windows CE 5.0 vs. Windows Embedded CE 6.0
Kernel Migration