---
name: "StgIsStorageFile"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/StgIsStorageFile"
---

# StgIsStorageFile(3w)

## NAME

**StgIsStorageFile** (OLE32.@)

## SYNOPSIS

HRESULT StgIsStorageFile\
  (\
   LPCOLESTR *fn*\
  )

## DESCRIPTION

Verify if the file contains a storage object.

## PARAMS

*fn* **\[ I\]**  Filename.

## RETURNS

**S\_OK** if file has magic bytes as a storage object **S\_FALSE** if file is not storage

## IMPLEMENTATION

Declared in **"objbase.h"**.

Implemented in **"dlls/ole32/storage32.c"**.

Debug channel **"storage"**.
