ClosePrivateNamespace function
Applies to: desktop apps only
Closes an open namespace handle.
Syntax
BOOLEAN WINAPI ClosePrivateNamespace( __in HANDLE Handle, __in ULONG Flags );
Parameters
- Handle [in]
-
The namespace handle. This handle is created by CreatePrivateNamespace or OpenPrivateNamespace.
- Flags [in]
-
If this parameter is PRIVATE_NAMESPACE_FLAG_DESTROY (0x00000001), the namespace is destroyed.
Return value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
Remarks
To compile an application that uses this function, define _WIN32_WINNT as 0x0600 or later.
Requirements
|
Minimum supported client | Windows Vista |
|---|---|
|
Minimum supported server | Windows Server 2008 |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 3/7/2012