StgIsStorageFile

[DllImport("ole32.dll", SetLastError = true)]
public static extern int StgIsStorageFile(
   [MarshalAs(UnmanagedType.LPWStr)] string pwcsName
);

Microsoft documentation: Link

Last updated