BoxedAppSDK_CreateVirtualDirectory

Description

The function creates a virtual directory with its structure stored in shared memory. The arguments of BoxedAppSDK_CreateVirtualDirectory are similar to those of the WinAPI function CreateDirectory.

This function is useful when building a virtual file system that mirrors the structure of real directories but exists only in memory.

Syntax

BOOL __stdcall BoxedAppSDK_CreateVirtualDirectory(
  LPCTSTR lpPathName,
  LPSECURITY_ATTRIBUTES lpSecurityAttributes
);
function BoxedAppSDK_CreateVirtualDirectory(
  lpPathName: PAnsiChar;
  lpSecurityAttributes: PSecurityAttributes
): BOOL; stdcall;
 
function BoxedAppSDK_CreateVirtualDirectoryA(
  lpPathName: PAnsiChar;
  lpSecurityAttributes: PSecurityAttributes
): BOOL; stdcall;
 
function BoxedAppSDK_CreateVirtualDirectoryW(
  lpPathName: PWideChar;
  lpSecurityAttributes: PSecurityAttributes
): BOOL; stdcall;

Parameters

lpPathName
Specifies the name (relative or full path) of the virtual directory to be created.

lpSecurityAttributes
Pointer to a SECURITY_ATTRIBUTES structure that optionally specifies a security descriptor and determines whether the handle can be inherited by child processes.
Currently ignored by BoxedApp.

See Also