CreateDirectory function kernel32
Creates a new directory. If the underlying file system supports security on files and directories, the function applies a specified security descriptor to the new directory.
BOOL CreateDirectoryW(
LPCWSTR lpPathName,
LPSECURITY_ATTRIBUTES lpSecurityAttributes
);
Implementation
int CreateDirectory(
Pointer<Utf16> lpPathName,
Pointer<SECURITY_ATTRIBUTES> lpSecurityAttributes,
) => _CreateDirectory(lpPathName, lpSecurityAttributes);