Patent ID: 6643712
Filing Date: 2003-11-04
Classification: G06F

Abstract:
In a computer having an operating system, a method of validating the creation of file objects in a standardized manner so as to eliminate the need for third party driver developers to write validation code, the method comprising the acts of:receiving, at a driver object associated with the operating system, a request to create a requested file object of a particular type; accessing a file type validation table that includes: file object type identifiers representing valid file object types, the file type validation table referencing create handlers associated with the file object type identifiers; and a wildcard entry, the file type validation table further referencing a default create handler associated with the wildcard entry; comparing the particular type of file object specified in the request with the file object type identifiers in the file type validation table; if the particular type matches one of the file object type identifiers, then using the create handler associated with the matched file object type identifier to create the requested file object; and if the particular type does not match one of the file object type identifiers, then using the default create handler associated with the wildcard entry to create a file object having a default file object type.