windows-nt/Source/XPSP1/NT/com/ole32/stg/h/storagep.h
2020-09-26 16:20:57 +08:00

34 lines
813 B
C

//+-------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1991 - 1992.
//
// File: storagep.h
//
// Contents: Internal storage information
//
// History: 09-Oct-92 DrewB Created
//
//--------------------------------------------------------------------------
#ifndef __STORAGEP_H__
#define __STORAGEP_H__
STDAPI StgIsStorageFileHandle( HANDLE hFile, LPOVERLAPPED povlp );
// The byte combination that identifies that a file is a storage of
// some kind
const BYTE SIGSTG[] = {0xd0, 0xcf, 0x11, 0xe0, 0xa1, 0xb1, 0x1a, 0xe1};
const BYTE CBSIGSTG = sizeof(SIGSTG);
// The first portion of a storage file
struct SStorageFile
{
BYTE abSig[CBSIGSTG]; // Signature
CLSID _clid; // Class Id
};
#endif