BoxedApp Packer Help >> Plugin API >> Functions

BoxedAppSDK_CreateProcessFromMemory

Description

Creates a process from a memory block.

Syntax

[ C++ ]
BOOL BOXEDAPPSDKAPI BoxedAppSDK_CreateProcessFromMemory(
	LPCVOID pBuffer, 
	DWORD dwSize, 

	LPCTSTR lpApplicationName,
	LPCSTR lpCommandLine,
	LPSECURITY_ATTRIBUTES lpProcessAttributes,
	LPSECURITY_ATTRIBUTES lpThreadAttributes,
	BOOL bInheritHandles,
	DWORD dwCreationFlags,
	LPVOID lpEnvironment,
	LPCTSTR lpCurrentDirectory,
	LPSTARTUPINFO lpStartupInfo,
	LPPROCESS_INFORMATION lpProcessInformation
);

[ Delphi ]
function BoxedAppSDK_CreateProcessFromMemory(
	pBuffer: Pointer;
	dwSize: DWORD;

	lpApplicationName: PAnsiChar; 
	lpCommandLine: PAnsiChar;
	lpProcessAttributes, lpThreadAttributes: PSecurityAttributes;
	bInheritHandles: BOOL; 
	dwCreationFlags: DWORD; 
	lpEnvironment: Pointer;
	lpCurrentDirectory: PAnsiChar; 
	const lpStartupInfo: TStartupInfo;
	var lpProcessInformation: TProcessInformation): BOOL; stdcall;



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