Information générale
Catégorie:
Fonctions Windows API
Titre:
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.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement