Using Win32 functions in Visual FoxPro Image Gallery
Setup API functions
..msdn
SetupCloseInfFile
SetupDiDestroyClassImageList
SetupDiGetClassImageIndex
SetupDiGetClassImageListEx
SetupGetInfFileList
SetupGetInfInformation
SetupOpenInfFile
Code examples:
Returning some basic information for the specified INF file
SetupGetInfInformation
..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
Declaration:
BOOL SetupGetInfInformation(
  LPCVOID InfSpec,         // handle or filename of the INF file
  DWORD SearchControl,     // how to search for the INF file
  PSP_INF_INFORMATION ReturnBuffer,
                           // 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
Parameters:
InfSpec
A handle or a filename for an INF file, depending on the value of SearchControl.

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

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

ReturnBufferSize
Size of the ReturnBuffer in bytes.

RequiredSize
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  
FreeTranslation.com 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: 15
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 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.36), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.166.197.230)
1.9 min.Function: 'WinHttpCloseHandle'
6.98 min.Function: 'SQLTables'
Google
Advertise here!