Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Close method
Collapse the table of content
Expand the table of content

IClosable::Close method

Performs application-defined tasks associated with freeing, releasing, or resetting allocated resources.

Syntax


HRESULT Close();

Parameters

This method has no parameters.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Calling the Close method more than once has no effect and returns S_OK.

For info on implementing the Close method, see the Remarks at IClosable.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Windows.Foundation.h

IDL

Windows.Foundation.idl

See also

IClosable

 

 

Community Additions

ADD
Show:
© 2015 Microsoft