home *** CD-ROM | disk | FTP | other *** search
/ Dan Appleman's Visual Bas…s Guide to the Win32 API / Dan.Applmans.Visual.Basic.5.0.Programmers.Guide.To.The.Win32.API.1997.Ziff-Davis.Press.CD / VB5PG32.mdf / desaware / tlb / dwapiadv.h next >
Encoding:
Text File  |  1997-02-10  |  6.6 KB  |  30 lines

  1. // dwadvapi.h
  2.  
  3. [entry("GetUserNameA"), helpstring("Retrieves the name of the current user."), helpcontext(2414)] long stdcall GetUserName([in, out] LPSTR lpBuffer, [in, out] long *nSize);
  4. [entry("IsTextUnicode"), helpstring("Attempts to determine if a buffer contains a Unicode string or an ANSI string."), helpcontext(3455)] long stdcall IsTextUnicode([in, out] void *lpBuffer, [in] long cb, [in, out] long *lpi);
  5. [entry("RegCloseKey"), helpstring("Closes a key in the system registry."), helpcontext(3288)] long stdcall RegCloseKey([in] long hKey);
  6. [entry("RegConnectRegistryA"), helpstring("Allows you to access parts of the registry on a remote system."), helpcontext(3289)] long stdcall RegConnectRegistry([in, out] LPSTR lpMachineName, [in] long hKey, [in, out] long *phkResult);
  7. [entry("RegCreateKeyA"), helpstring("Creates a new key under the specified key."), helpcontext(3290)] long stdcall RegCreateKey([in] long hKey, [in, out] LPSTR lpSubKey, [in, out] long *phkResult);
  8. [entry("RegCreateKeyExA"), helpstring("A more sophisticated way to create a new key under a specified key."), helpcontext(3291)] long stdcall RegCreateKeyEx([in] long hKey, [in, out] LPSTR lpSubKey, [in] long Reserved, [in, out] LPSTR lpClass, [in] long dwOptions, [in] long samDesired, [in, out] SECURITY_ATTRIBUTES *lpSecurityAttributes, [in, out] long *phkResult, [in, out] long *lpdwDisposition);
  9. [entry("RegDeleteKeyA"), helpstring("Deletes the specified subkey under an existing key."), helpcontext(3292)] long stdcall RegDeleteKey([in] long hKey, [in, out] LPSTR lpSubKey);
  10. [entry("RegDeleteValueA"), helpstring("Deletes a value under a specified key."), helpcontext(3293)] long stdcall RegDeleteValue([in] long hKey, [in, out] LPSTR lpValueName);
  11. [entry("RegEnumKeyA"), helpstring("Enumerates subkeys for a given key. Enumerates subkeys for a given key. Win32 functions should use RegEnumKeyEx."), helpcontext(3294)] long stdcall RegEnumKey([in] long hKey, [in] long dwIndex, [in, out] LPSTR lpName, [in] long cbName);
  12. [entry("RegEnumKeyExA"), helpstring("Enumerates subkeys for a given key."), helpcontext(3295)] long stdcall RegEnumKeyEx([in] long hKey, [in] long dwIndex, [in, out] LPSTR lpName, [in, out] long *lpcbName, [in] long lpReserved, [in, out] LPSTR lpClass, [in, out] long *lpcbClass, [in, out] FILETIME *lpftLastWriteTime);
  13. [entry("RegEnumValueA"), helpstring("Enumerates the values for the specified key."), helpcontext(3296)] long stdcall RegEnumValue([in] long hKey, [in] long dwIndex, [in, out] LPSTR lpValueName, [in, out] long *lpcbValueName, [in, out] long *lpReserved, [in, out] long *lpType, [in, out] char *lpData, [in, out] long *lpcbData);
  14. [entry("RegFlushKey"), helpstring("Flushes changes to a key and its subkeys to disk."), helpcontext(3297)] long stdcall RegFlushKey([in] long hKey);
  15. [entry("RegGetKeySecurity"), helpstring("Retrieves security information about a registry key."), helpcontext(3298)] long stdcall RegGetKeySecurity([in] long hKey, [in] long SecurityInformation, [in, out] SECURITY_DESCRIPTOR *pSecurityDescriptor, [in, out] long *lpcbSecurityDescriptor);
  16. [entry("RegLoadKeyA"), helpstring("Loads registration information from a file that previously was created using the RegSaveKey function."), helpcontext(3299)] long stdcall RegLoadKey([in] long hKey, [in, out] LPSTR lpSubKey, [in, out] LPSTR lpFile);
  17. [entry("RegNotifyChangeKeyValue"), helpstring("Provides a mechanism to be notified when a registry key or any of its subkeys has been changed."), helpcontext(3300)] long stdcall RegNotifyChangeKeyValue([in] long hKey, [in] long bWatchSubtree, [in] long dwNotifyFilter, [in] long hEvent, [in] long fAsynchronus);
  18. [entry("RegOpenKeyA"), helpstring("Opens an existing key"), helpcontext(3301)] long stdcall RegOpenKey([in] long hKey, [in, out] LPSTR lpSubKey, [in, out] long *phkResult);
  19. [entry("RegOpenKeyExA"), helpstring("Opens an existing key. Opens an existing key. This function is recommended for use under Win32."), helpcontext(3302)] long stdcall RegOpenKeyEx([in] long hKey, [in, out] LPSTR lpSubKey, [in] long ulOptions, [in] long samDesired, [in, out] long *phkResult);
  20. [entry("RegQueryInfoKeyA"), helpstring("Obtain information about a key."), helpcontext(3303)] long stdcall RegQueryInfoKey([in] long hKey, [in, out] LPSTR lpClass, [in, out] long *lpcbClass, [in, out] long *lpReserved, [in, out] long *lpcSubKeys, [in, out] long *lpcbMaxSubKeyLen, [in, out] long *lpcbMaxClassLen, [in, out] long *lpcValues, [in, out] long *lpcbMaxValueNameLen, [in, out] long *lpcbMaxValueLen, [in, out] long *lpcbSecurityDescriptor, [in, out] FILETIME *lpftLastWriteTime);
  21. [entry("RegQueryValueA"), helpstring("Retrieves the default (unnamed) value for the specified key or subkey."), helpcontext(3304)] long stdcall RegQueryValue([in] long hKey, [in, out] LPSTR lpSubKey, [in, out] LPSTR lpValue, [in, out] long *lpcbValue);
  22. [entry("RegQueryValueExA"), helpstring("Retrieves a value for a key."), helpcontext(3305)] long stdcall RegQueryValueEx([in] long hKey, [in, out] LPSTR lpValueName, [in] long lpReserved, [in, out] long *lpType, [in, out] void *lpData, [in, out] long *lpcbData);
  23. [entry("RegReplaceKeyA"), helpstring("Replaces registry information with information stored in a disk file, and creates a backup containing the current registry information."), helpcontext(3306)] long stdcall RegReplaceKey([in] long hKey, [in, out] LPSTR lpSubKey, [in, out] LPSTR lpNewFile, [in, out] LPSTR lpOldFile);
  24. [entry("RegRestoreKeyA"), helpstring("Restores registration information from a disk file."), helpcontext(3307)] long stdcall RegRestoreKey([in] long hKey, [in, out] LPSTR lpFile, [in] long dwFlags);
  25. [entry("RegSaveKeyA"), helpstring("Saves a key and all its subkeys into a disk file."), helpcontext(3308)] long stdcall RegSaveKey([in] long hKey, [in, out] LPSTR lpFile, [in, out] SECURITY_ATTRIBUTES *lpSecurityAttributes);
  26. [entry("RegSetKeySecurity"), helpstring("Sets the security for a specified key."), helpcontext(3309)] long stdcall RegSetKeySecurity([in] long hKey, [in] long SecurityInformation, [in, out] SECURITY_DESCRIPTOR *pSecurityDescriptor);
  27. [entry("RegSetValueA"), helpstring("Sets the default value for the specified key or subkey."), helpcontext(3310)] long stdcall RegSetValue([in] long hKey, [in, out] LPSTR lpSubKey, [in] long dwType, [in, out] LPSTR lpData, [in] long cbData);
  28. [entry("RegSetValueExA"), helpstring("Sets the value for the specified key."), helpcontext(3311)] long stdcall RegSetValueEx([in] long hKey, [in, out] LPSTR lpValueName, [in] long Reserved, [in] long dwType, [in, out] void *lpData, [in] long cbData);
  29. [entry("RegUnLoadKeyA"), helpstring("Unloads the specified key and all of its subkeys."), helpcontext(3312)] long stdcall RegUnLoadKey([in] long hKey, [in, out] LPSTR lpSubKey);
  30.