User Interface Functions

The following table shows the functions available to OS developers for the user interface, with a description of the purpose of each.

Programming element Description
CreateIconIndirect_I This function creates an icon or cursor from an ICONINFO structure.
DestroyIcon_I This function destroys an icon and frees any memory that the icon occupied.
DPA_GetPtr This function retrieves a pointer from a dynamic pointer array.
DrawIconEx_I This function draws an icon in the specified device context, performing the raster operations as specified.
GetForegroundWindow_I This function returns the handle to the window with which the user is currently working.
KillTimer_I This function destroys the specified timer.
LoadIconW_I This function loads the specified icon resource from the executable (.exe) file associated with an application instance.
RegisterTaskBar This function registers the taskbar with the window manager to receive notifications of window creation, destruction, and activation.
SendMessageW_I This function sends the specified message to a window or windows.
SetForegroundWindow_I This function puts the thread that created the specified window into the foreground and activates the window.
SetTimer_I This function creates a timer with the specified time-out value.

See Also

User Interface Reference for OEMs

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.