Share via


ForceClose method of the MSFT_SmbOpenFile class

Forcibly closes a file that is open on behalf of an SMB client. Unsaved data might be lost.

Syntax

uint32 ForceClose();

Parameters

This method has no parameters.

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\Smb
MOF
SmbWmiV2.mof
DLL
SmbWmiV2.dll

See also

MSFT_SmbOpenFile