StgGetIFillLockBytesOnFile

Opens a wrapper object on a temporary file.

WINOLEAPI StgGetIFillLockBytes(

    OLECHAR *pwcsName

// Pointer to file specified by filename

    IFillLockBytes **ppflb

// Pointer to new byte array wrapper object

   );

 

 

Parameters

pwcsName

[in] Pointer to the name of  the file to be instantiated.

pflb

[out] Indirect pointer to new byte array wrapper object.

Remarks

The moniker that manages the downloading of the file specified in pwcsName calls this function in the course of creating the asynchronous storage necessary to manage the asynchronous downloading of data. The moniker first creates a temporary file, then calls this function to create the wrapper object on that file. Finally, the moniker calls StgOpenAsyncDocfileOnIFillLockBytes2MT92Q5 to open the root storage of the compound file that is to be downloaded into the temporary file.

See Also

IFillLockBytes, ILockBytes, StgOpenAsyncDocfileOnIFillLockBytes