Directory();
Directory(
const wchar_t * pathName
);
Directory(
const char * pathName
);
Directory( )
|
Constructor. |
Directory(const wchar_t *)
|
A constructor that opens the specified directory. |
Directory(const char *)
|
A constructor that opens the specified directory. |
Directory( )In the overloaded version without arguments, no directory is opened. To load directory entries, you must separately call the TryInitialize function.
In the overloaded version that specifies a path name, the directory in that path is opened.
Directory(const wchar_t *)Opens the directory in the specified path.
Directory(const char *)Opens the directory in the specified path.
Note: This function uses a large amount of buffer space on the stack because it converts the path name from a multibyte character string into a wide character string. Pay careful attention to the stack size.
CONFIDENTIAL