General information
Category:
Windows API functions
Title:
Creating specialized data types for API calls
If I wanted to call the Windows API function CreateDirectory, I would need to pass a variable of type SECURITY_ATTRIBUTES as one of the parameters. Now in C I would typically do a TYPEDEF to define a structure consisting of three elements: a long typically called nLength, a long pointer to a security descriptor typically called lpSecurityDescriptor, and a long typically called BInheritHandle.
Now I often find myself going around the moon to visit my next-door neighbor, so I wanted to ask if anyone had experience calling the CreateDirectory API from Visual Foxpro 5/6/7 or if anyone had experience creating a custom structure suitable to call a function requiring a specially-typed parameter.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only