NAME

SelectObject  (GDI32.@)

SYNOPSIS

 HGDIOBJ SelectObject
 (
  HDC     hdc,
  HGDIOBJ hObj
 )

DESCRIPTION

Select a Gdi object into a device context.

PARAMS

hdc [In] Device context to associate the object with.
hObj [In] Gdi object to associate with hdc.

RETURNS

Success: A non-NULL handle representing the previously selected object of the same type as hObj.

Failure: A NULL object. If hdc is invalid, GetLastError returns ERROR_INVALID_HANDLE. if hObj is not a valid object handle, no last error is set. In either case, hdc is unaffected by the call.

IMPLEMENTATION

Defined in "windowsx.h".

Implemented in "dlls/gdi/gdiobj.c". source.winehq.org/source/dlls/gdi/gdiobj.c

Debug channel "gdi".


Copyright © 2005 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Aug 2005.