DCICloseProvider function
[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
int WINAPI DCICloseProvider(
_In_ HDC hdc
);
Parameters
- hdc [in]
-
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
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Build date: 12/7/2012