/*++ Copyright (c) 1995 Microsoft Corporation Module Name: optdirs.c Abstract: Routines for copying optional directories. Author: Ted Miller (tedm) 7-Jun-1995 Revision History: --*/ #include "setupp.h" #pragma hdrstop PWSTR OptionalDirSpec; PWSTR *OptionalDirs; UINT OptionalDirCount; BOOL InitializeOptionalDirList( VOID ) /*++ Routine Description: Initialize the list of optional directories by transforming a *-delineated list of directories into an array of strings. Arguments: None. Return Value: Boolean value indicating whether initialization was successful. If not an entry will have been logged indicating why. --*/ { PWSTR p,q; WCHAR c; UINT Count,i,Len; // // The number of directories is equal to the number of *'s plus one. // Len = lstrlen(OptionalDirSpec); OptionalDirCount = 1; for(Count=0; Count