Share via


Gdi::GdiSetObjectOwner_I (Windows Embedded CE 6.0)

1/6/2010

This method changes the process that owns a GDI object.

Syntax

static BOOL GdiSetObjectOwner_I(
  HGDIOBJ hgdiobj,
  HPROCESS hprc
);

Parameters

  • hgdiobj
    [in] Handle to the object for which you want to change the owner.
  • hprc
    [in] Handle to the process that you want to be the new owner.

Return Value

Nonzero indicates success. Zero indicates failure.

Requirements

Header gdi.hpp
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Gdi