Export (0) Print
Expand All

IECreateDirectory function

Creates a new directory by calling the standard CreateDirectory function from a higher-integrity user context.

Syntax


BOOL IECreateDirectory(
  _In_  LPCWSTR lpPathName,
  _In_  LPSECURITY_ATTRIBUTES lpSecurityAttributes
);

Parameters

lpPathName [in]

The path of the directory to be created.

lpSecurityAttributes [in]

A pointer to a SECURITY_ATTRIBUTES structure. If this parameter is NULL, the directory gets a default security descriptor. The ACLs in the default security descriptor for a directory are inherited from its parent directory.

Return value

Returns TRUE if it succeeds, and FALSE otherwise.

Remarks

If the underlying file system supports security on files and directories, the function applies a specified security descriptor to the new directory.

Requirements

Minimum supported client

Windows XP with SP2

Minimum supported server

Windows Server 2003

Product

Internet Explorer 8

Header

Iepmapi.h

Library

Iepmapi.lib

DLL

Ieframe.dll

See also

CreateDirectory

 

 

Show:
© 2014 Microsoft