DCICloseProvider function (dciman.h)

[This function is subject to change with each operating system revision. Instead, use the Microsoft DirectDraw and Microsoft Direct3DAPIs; these APIs insulate applications from such operating system changes, and hide many other difficulties involved in interacting directly with display drivers.]

Closes a device context of a display.

Syntax

void DCICloseProvider(
  [in] HDC hdc
);

Parameters

[in] hdc

The device context handle to be closed. The handle was created with DCIOpenProvider.

Return value

If the function succeeds, the return value is nonzero. Otherwise, it returns zero.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header dciman.h
Library Dciman32.lib
DLL Dciman32.dll

See also

Graphics Low Level Client Support