Group: Handle and Object - Library: kernel32
BOOL WINAPI SetHandleInformation(
__in HANDLE hObject,
__in DWORD dwMask,
__in DWORD dwFlags
);
DECLARE INTEGER SetHandleInformation IN kernel32;
INTEGERh Object,;
LONG dwMask,;
LONG dwFlags
hObject [in] A handle to an object whose information is to be set.
dwMask [in] A mask that specifies the bit flags to be changed. Use the same constants shown in the description of dwFlags.
dwFlags [in] Set of bit flags that specifies properties of the object handle. This parameter can be 0 or one or more of the following values.
If the function succeeds, the return value is nonzero.
See also: GetHandleInformation, CloseHandle.