This topic has not yet been rated - Rate this topic

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 [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Product

Internet Explorer 8

Header

Iepmapi.h

Library

Iepmapi.lib

DLL

Ieframe.dll

See also

CreateDirectory

 

 

Build date: 11/27/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.