IFileIsInUse class com
Exposes methods that can be called to get information on or close a file that is in use by another application. When an application attempts to access a file and finds that file already in use, it can use the methods of this interface to gather information to present to the user in a dialog box.
Constructors
-
IFileIsInUse.new(Pointer<
COMObject> ptr) - IFileIsInUse.from(IUnknown interface)
-
factory
Properties
Methods
-
addRef(
) → int -
Increments the reference count for an interface pointer to a COM object.
inherited
-
closeFile(
) → int -
detach(
) → void -
Detaches the object from the
Finalizer
.inherited -
getAppName(
Pointer< Pointer< ppszName) → intUtf16> > -
getCapabilities(
Pointer< Uint32> pdwCapFlags) → int -
getSwitchToHWND(
Pointer< IntPtr> phwnd) → int -
getUsage(
Pointer< Int32> pfut) → int -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
queryInterface(
Pointer< GUID> riid, Pointer<Pointer< ppvObject) → intNativeType> > -
Queries a COM object for a pointer to one of its interface; identifying
the interface by a reference to its interface identifier (IID).
inherited
-
release(
) → int -
Decrements the reference count for an interface on a COM object.
inherited
-
toInterface(
String iid) → Pointer< COMObject> -
Cast an existing COM object to a specified interface.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited