Export (0) Print
Expand All

Deprecated Functions (Compact 7)

3/12/2014

This topic includes a list of functions that still exist in this version of Windows Embedded Compact, but that might be removed from a future version of Windows Embedded Compact.

Gg154286.note(en-us,WinEmbedded.70).gifNote:
This list does not include all programming elements that were deprecated in Windows Embedded Compact 7.

Deprecated Programming Element Functionality To Use Instead Feature Area

AddTrackedItem

None.

Core OS

AttachHdstub

None.

Core OS

BatteryNotifyOfTimeChange

The SetSystemTime and SetLocalTime functions notify the battery driver by using IOCTL_BATTERY_NOTIFYOFTIMECHANGE.

Battery Driver Reference

BT_AVDTP_State_Change

None.

Bluetooth Application Development Reference

CeCredFree

Use the CredFree function instead.

Credential Manager Reference

CeCredRead

Use the CredRead function instead.

Credential Manager Reference

CeCredWrite

Use the CredWrite function instead.

Credential Manager Reference

CeDeleteDatabase

Use CeDeleteDatabaseEx (RAPI) instead.

Remote API Reference

CeFindFirstDatabase

Use CeFindFirstDatabaseEx (RAPI) instead.

Remote API Reference

CeFindNextDatabase

Use CeFindNextDatabaseEx (RAPI) instead.

Remote API Reference

CeGetCallerTrust

Use Security Loader instead.

Core OS Reference

CeGetCurrentTrust

Use Security Loader instead.

Kernel

CeOidGetInfo

Use CeOidGetInfoEx (RAPI) instead.

Remote API Reference

CeOpenDatabase

Use CeOpenDatabaseEx (RAPI) instead.

Remote API Reference

CeReadRecordProps

Use CeReadRecordPropsEx (RAPI) instead.

Remote API Reference

CeSetDatabaseInfo

Use CeSetDatabaseInfoEx (RAPI) instead.

Remote API Reference

CeZeroPointer

None.

Kernel

ConnectDebugger

None.

Active Script Debugger Interfaces

ConnMgrUnregisterScheduledConnection

None. Differences in Connection Manager from Windows Embedded CE 6.0 R3 to Windows Embedded Compact 7.

Connection Manager

DeleteTrackedItem

None.

Core OS

DumpKCallProfile

None.

Kernel

FilterTrackedItem

None.

Core OS

FlushViewOfFileMaybe

None.

Kernel

GetAdaptersInfo

Use GetAdaptersAddresses instead.

IP Helper Reference

GetCallerProcess

Use GetDirectCallerProcessId or GetCallerVMProcessId instead.

Kernel

GetCallerProcessIndex

None.

Kernel

GetCurrentPermissions

None.

Kernel

GetCurrentProcessIndex

None.

Kernel

gethostbyaddr

Use getnameinfo instead.

Winsock Reference

gethostbyname

Use getaddrinfo instead.

Winsock Reference

GetProcAddrBits

None.

Kernel

GetProcessIDFromIndex

None.

Kernel

GetProcessIndexFromID

None.

Kernel

GetProcFromPtr

None.

Kernel

GetServiceHandle

Use CreateFile instead.

Servicesd.exe Reference

HrGetOneProp

None.

Messaging API (CE MAPI) Reference

HrSetOneProp

None.

Messaging API (CE MAPI) Reference

IOCTL_HAL_GET_DEVICEID

Use IOCTL_HAL_GET_DEVICE_INFO instead.

Networking

IsAPIReady

Use WaitForAPIReady instead.

Kernel Reference

IsIPSecRunning

Use Windows Filtering Platform instead.

Networking

IsIPSecRunning

Use Windows Filtering Platform instead.

Networking

keybd_event

Use keybd_eventEx instead.

Keyboard

LocalAllocInProcess

None.

Kernel

LocalFreeInProcess

None.

Kernel

LocalSizeInProcess

None.

Kernel

MapCallerPtr

Use Kernel Buffer Marshaling Functions instead.

Kernel

MapPtrToProcess

Use Kernel Buffer Marshaling Functions instead.

Kernel

MapPtrToProcWithSize

To access the buffer asynchronously, use CeAllocAsynchronousBuffer and CeOpenCallerBuffer instead.

Kernel

MapPtrUnsecure

To access the buffer asynchronously, use CeAllocAsynchronousBuffer and CeOpenCallerBuffer instead.

Kernel

MapPtrWithBits

To access the buffer asynchronously, use CeAllocAsynchronousBuffer and CeOpenCallerBuffer instead.

Kernel

OALIoCtlHalGetDeviceId

Use IOCTL_HAL_GET_DEVICE_INFO instead.

Board Support Package (BSP)

OALIoCtlHalGetUUID

Use IOCTL_HAL_GET_DEVICE_INFO instead.

Board Support Package (BSP)

PFN_KEYBD_DRIVER_INITIALIZE

Use PFN_KEYBD_DRIVER_INITIALIZE_EX2 instead.

Keyboard and Mouse Driver Reference

PFN_KEYBD_EVENT_CALLBACK

Use PFN_KEYBD_EVENT_CALLBACK_EX2 instead.

Keyboard and Mouse Driver Reference

PFN_KEYBD_EVENT_CALLBACK_EX

Use PFN_KEYBD_EVENT_CALLBACK_EX2 instead.

Keyboard and Mouse Driver Reference

PrintTrackedItem

None.

Core OS

ProfileSyscall

None.

Core OS

PSLGetCallerTrust

Use Security Loader instead.

Core OS

RegisterTrackedItem

None.

Core OS

RemoteHeapAlloc

None.

Kernel

RemoteHeapFree

None.

Kernel

RemoteHeapReAlloc

None.

Kernel

RemoteHeapSize

None.

Kernel

ResetIPSecMode

Use Windows Filtering Platform instead.

Networking

ResetIPSecMode

Use Windows Filtering Platform instead.

Networking

ServiceIoControl

Use DeviceIoControl instead

Kernel

SetHandleOwner

Use DuplicateHandle instead.

Kernel

SetIPSecConfig

Use Windows Filtering Platform instead.

Networking

SetIPSecMode

Use Windows Filtering Platform instead.

Networking

SetKMode

None.

Kernel

SetProcPermissions

None.

Kernel

SHCameraCapture

None.

Shell

SHCreateNewItem

None.

Shell

SHDeleteValueW

None.

Shell

SHDocManagerCreate

None.

Shell

SHDocManagerDestroy

None.

Shell

SHDocManagerQuery

None.

Shell

SHDocManagerRegister

None.

Shell

SHGetMetric

None.

Shell

SHGetNavBarItemRect

None.

Shell

SHGetStyleBkColor

None.

Shell

SHGetStyleColor

None.

Shell

SHGetUiInfo

None.

Shell

SHGetValueA

None.

Shell

SHGetValueW

None.

Shell

SHQueryValueExA

None.

Shell

SHQueryValueExW

None.

Shell

SHRegGetHKCUDWValue

None.

Shell

SHRegGetHLMDWValue

None.

Shell

SHRegGetUSValueW

None.

Shell

SHRegOpenUSKeyW

None.

Shell

SHSetValueA

None.

Shell

SHSetValueW

None.

Shell

StartIPSec

Use Windows Filtering Platform instead.

Networking

StopIPSec

Use Windows Filtering Platform instead.

Networking

Show:
© 2014 Microsoft