Subversion Repositories filter_foundry

Rev

Rev 268 | Rev 444 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 268 Rev 433
Line 63... Line 63...
63
 
63
 
64
OSErr FSpCreate(const FSSpec *spec, OSType creator, OSType fileType, ScriptCode scriptTag){
64
OSErr FSpCreate(const FSSpec *spec, OSType creator, OSType fileType, ScriptCode scriptTag){
65
        HANDLE h;
65
        HANDLE h;
66
        char name[MAX_PATH+1];
66
        char name[MAX_PATH+1];
67
 
67
 
-
 
68
        UNREFERENCED_PARAMETER(creator);
-
 
69
        UNREFERENCED_PARAMETER(scriptTag);
-
 
70
        UNREFERENCED_PARAMETER(fileType);
-
 
71
 
68
        h = CreateFile(myp2cstrcpy(name,spec->name),0,0,0,CREATE_NEW,0,0);
72
        h = CreateFile(myp2cstrcpy(name,spec->name),0,0,0,CREATE_NEW,0,0);
69
//      sprintf(s,"FSpCreate(\"%s\"):%#x",spec->name,h); dbg(s);
73
//      sprintf(s,"FSpCreate(\"%s\"):%#x",spec->name,h); dbg(s);
70
        if( h == INVALID_HANDLE_VALUE )
74
        if( h == INVALID_HANDLE_VALUE )
71
                return ioErr;
75
                return ioErr;
72
        else{
76
        else{