SelectObject(3w)

SelectObject3w

Usage

HGDIOBJ SelectObject
(
HDC hdc,
HGDIOBJ hObj
)

Overview

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(3w) 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

Declared in "gdi_private.h".

Implemented in "dlls/gdi32/gdiobj.c".

Debug channel "gdi".

Releases

5 releases since Debian 2.1 (Slink); the text changed 4 times.

  1. 2.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.