BoxedApp SDK Help >> Functions

BoxedAppSDK_CreateVirtualFileBasedOnIStream

Description

Creates a virtual file based on IStream. The parameters are the same as in standard winapi CreateFile function.

There are ANSI and UNICODE versions (BoxedAppSDK_CreateVirtualFileA and BoxedAppSDK_CreateVirtualFileW).

Syntax

[ C++ ]
HANDLE __stdcall BoxedAppSDK_CreateVirtualFileBasedOnIStream(
	LPCTSTR szPath, 
	DWORD dwDesiredAccess,
	DWORD dwShareMode,
	LPSECURITY_ATTRIBUTES lpSecurityAttributes,
	DWORD dwCreationDisposition,
	DWORD dwFlagsAndAttributes,
	HANDLE hTemplateFile, 

	LPSTREAM pStream
);

[ Delphi ]
function BoxedAppSDK_CreateVirtualFileBasedOnIStream(
         lpFileName: PAnsiChar;
         dwDesiredAccess, dwShareMode: Integer;
         lpSecurityAttributes: PSecurityAttributes;
         dwCreationDisposition, dwFlagsAndAttributes: DWORD;
         hTemplateFile: THandle; 
         pStream: IStream): THandle; stdcall;



Copyright © Softanics. All rights reserved.
BoxedApp is a trademark of Softanics.