Partager via


Gdi::GdiSetObjectOwner_I

This method changes the process that owns a GDI object.

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 Values

Nonzero indicates success. Zero indicates failure.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Gdi.hpp.

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.