Deleted Windows Programming Elements

The following table provides a list of functions and messages that were in the 16-bit Windows API but were not implemented in 32-bit Windows.

16-bit Windows API 32-bit Windows support

AccessResource

No equivalent.

AllocDSToCSAlias

No equivalent.

AllocResource

No equivalent.

AllocSelector

No equivalent.

ChangeMenu

Replaced by the AppendMenu, InsertMenu, ModifyMenu, and RemoveMenu functions.

ChangeSelector

No equivalent.

CloseSound

Replaced by multimedia sound support.

CountVoiceNotes

Replaced by multimedia sound support.

DECLARE_HANDLE

No equivalent.

DeviceMode

Replaced by the DocumentProperties function.

DlgDirSelect

Replaced by the DlgDirSelectEx function.

DlgDirSelectComboBox

Replaced by the DlgDirSelectComboBoxEx function.

DOS3Call

Replaced by named, portable functions.

ExtDeviceMode

Replaced by the DocumentProperties function.

FIELDOFFSET

No equivalent.

FlushComm

Replaced by the PurgeComm function.

FreeSelector

No equivalent.

GCW_HCURSOR

Replaced by GCL_HCURSOR.

GCW_HBRBACKGROUND

Replaced by GCL_HBRBACKGROUND.

GCW_HICON

Replaced by GCL_HICON.

GetAspectRatioFilter

Replaced by the GetAspectRatioFilterEx function.

GetBitmapDimension

Replaced by the GetBitmapDimensionEx function.

GetBrushOrg

Replaced by the GetBrushOrgEx function.

GetCodeHandle

No equivalent.

GetCodeInfo

No equivalent.

GetCommError

Replaced by the GetCommState function.

GetCurrentPDB

No equivalent.

GetCurrentPosition

Replaced by the GetCurrentPositionEx function.

GetDCOrg

Replaced by the GetDCOrgEx function.

GetDOSEnvironment

No equivalent.

GetEnvironment

No equivalent.

GetFreeSystemResources

Replaced by the GlobalMemoryStatus function.

GetInstanceData

No equivalent; use an IPC mechanism.

GetMetaFileBits

Replaced by the GetEnhMetaFileBits function.

GetSystemDebugState

No equivalent.

GetTempDrive

Replaced by the GetTempPath function.

GetTextExtent

Replaced by the GetTextExtentPoint32 function.

GetTextExtentEx

Replaced by the GetTextExtentExPoint function.

GetThresholdEvent

Replaced by multimedia sound support.

GetThresholdStatus

Replaced by multimedia sound support.

GetViewportExt

Replaced by the GetViewportExtEx function.

GetViewportOrg

Replaced by the GetViewportOrgEx function.

GetWindowExt

Replaced by the GetWindowExtEx function.

GetWindowOrg

Replaced by the GetWindowOrgEx function.

GetWinFlags

No equivalent.

GlobalDosAlloc

No equivalent.

GlobalDosFree

No equivalent.

GlobalNotify

No equivalent.

GlobalPageLock

No equivalent.

GlobalPageUnlock

No equivalent.

GWW_HINSTANCE

Replaced by GWL_HINSTANCE.

GWW_HWNDPARENT

Replaced by GWL_HWNDPARENT.

GWW_ID

Replaced by GWL_ID.

GWW_USERDATA

Replaced by GWL_USERDATA.

IsGDIObject

No equivalent.

LocalInit

No equivalent.

LocalNotify

No equivalent.

LockData

No equivalent.

LockInput

No equivalent.

MAKELP

No equivalent.

MAKEPOINT

No equivalent.

MoveTo

Replaced by the MoveToEx function.

OFFSETOF

No equivalent.

OffsetViewportOrg

Replaced by the OffsetViewportOrgEx function.

OffsetWindowOrg

Replaced by the OffsetWindowOrgEx function.

OpenComm

Replaced by the CreateFile function.

OpenSound

Replaced by multimedia sound support.

ProfClear

No equivalent.

ProfFinish

No equivalent.

ProfFlush

No equivalent.

ProfInsChk

No equivalent.

ProfSampRate

No equivalent.

ProfSetup

No equivalent.

ProfStart

No equivalent.

ProfStop

No equivalent.

READ

Replaced by OF_READ.

ReadComm

Replaced by the ReadFile function.

READ_WRITE

Replaced by OF_READ_WRITE.

ScaleViewportExt

Replaced by the ScaleViewportExtEx function.

ScaleWindowExt

Replaced by the ScaleWindowExtEx function.

SEGINFO

No equivalent.

SELECTOROF

No equivalent.

SetBitmapDimension

Replaced by the SetBitmapDimensionEx function.

SetCommEventMask

Replaced by the SetCommMask function.

SetEnvironment

No equivalent.

SetMetaFileBits

Replaced by the SetEnhMetaFileBits function.

SetResourceHandler

No equivalent.

SetSoundNoise

Replaced by multimedia sound support.

SetViewportExt

Replaced by the SetViewportExtEx function.

SetViewportOrg

Replaced by the SetViewportOrgEx function.

SetVoiceAccent

Replaced by multimedia sound support.

SetVoiceEnvelope

Replaced by multimedia sound support.

SetVoiceNote

Replaced by multimedia sound support.

SetVoiceQueueSize

Replaced by multimedia sound support.

SetVoiceSound

Replaced by multimedia sound support.

SetVoiceThreshold

Replaced by multimedia sound support.

SetWindowExt

Replaced by the SetWindowExtEx function.

SetWindowOrg

Replaced by the SetWindowOrgEx function.

StartSound

Replaced by multimedia sound support.

StopSound

Replaced by multimedia sound support.

SwitchStackBack

No equivalent.

SwitchStackTo

No equivalent.

SyncAllVoices

Replaced by multimedia sound support.

UngetCommChar

No equivalent.

UnlockData

No equivalent.

ValidateCodeSegments

No equivalent.

ValidateFreeSpaces

No equivalent.

WaitSoundState

Replaced by multimedia sound support.

WM_CTLCOLOR

Replaced by the following messages:

WM_CTLCOLORBTN WM_CTLCOLORDLG WM_CTLCOLOREDIT WM_CTLCOLORLISTBOX WM_CTLCOLORMSGBOX WM_CTLCOLORSCROLLBAR WM_CTLCOLORSTATIC

WRITE

Replaced by OF_WRITE.

WriteComm

Replaced by the WriteFile function.

 

 

 

Build date: 3/25/2010