Using Win32 functions in Visual FoxPro Image Gallery
Setup API functions
Code examples:
Returning some basic information for the specified INF file
..msdn    Add comment     W32 Constants      Translate this page
Returns the SP_INF_INFORMATION structure for the specified INF file to a caller-supplied buffer.
Code examples:
Returning some basic information for the specified INF file
BOOL SetupGetInfInformation(
  LPCVOID InfSpec,         // handle or filename of the INF file
  DWORD SearchControl,     // how to search for the INF file
                           // optional, receives the INF info
  DWORD ReturnBufferSize,  // size of the supplied buffer
  PDWORD RequiredSize      // optional, buffer size needed
FoxPro declaration:
DECLARE SHORT SetupGetInfInformation IN Setupapi;
    STRING    InfSpec,;
    INTEGER   SearchControl,;
    STRING  @ ReturnBuffer,;
    INTEGER   ReturnBufferSize,;
    INTEGER @ RequiredSize
A handle or a filename for an INF file, depending on the value of SearchControl.

This parameter is a constant (see an example to this function)

If not NULL, ReturnBuffer points to a caller-supplied buffer in which this function returns the SP_INF_INFORMATION structure.

Size of the ReturnBuffer in bytes.

If not NULL, points to a caller-supplied variable in which this function returns the required size, in bytes, for the buffer pointed to by ReturnBuffer.
Return value:
If the function succeeds, the return value is a non-zero value. If the function fails, the return value is zero.
Word Index links for the SetupGetInfInformation :
Translate this page:
  Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
Created: 2001-08-27 12:00:00
Modified: 2001-11-26 16:03:25
Visited in last 7 days: 54
User Contributed Notes:
There are no notes on this subject.

Copyright 2001-2018 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
3 sec.Example: 'Shortcut Menu Class'
9 sec.Function: 'RealGetWindowClass'
Function group: 'Window'
13 sec.Function: 'CopyFile'
Function group: 'File Management'
18 sec.Example: 'Using InternetSetFilePointer when resuming interrupted download from the Internet'
22 sec.Example: 'Testing serial ports'
28 sec.Example: 'Custom GDI+ class'
33 sec.Function: 'FindNextPrinterChangeNotification'
38 sec.Example: 'Storing the environment strings in cursor'
43 sec.
Function group: 'MSHTML Reference'
47 sec.Function: 'WNetAddConnection'
Function group: 'Windows Networking'
Advertise here!