DOC: LibraryProcedure DLL Prototype IncorrectLast reviewed: April 7, 1997Article ID: Q136681 |
3.51
WINDOWS NT
kbprg kbdocerr kbdocfix
The information in this article applies to:
SUMMARYSetup provides LoadLibrary, FreeLibrary, and LibraryProcedure commands to provide a mechanism to add custom procedures to setup scripts. The LibraryProcedure command provides a way to call an exported function in the specified DLL. This procedure is described in the Windows NT DDK documentation. Drill down to it by following this outline:
Programmers Guide (2.3.5.1) Setup (part 1) Chapter 2 - Driver Installation GUI INF Script Language Using DLLs and External Programs DLLs in Install and Shell SectionsThe documentation states the DLL function called by LibraryProcedure must have the following prototype: BOOL FunctionName(cArgs, lpszArgs[], *lpszTextOut) DWORD cArgs; LPSTR lpszArgs[]; LPSTR *lpszTextOut);The correct prototype for this function is: BOOL PASCAL FunctionName(cArgs, lpszArgs[], *lpszTextOut) DWORD cArgs; LPSTR lpszArgs[]; LPSTR *lpszTextOut);This documentation error has been corrected in the Windows NT DDK version 4.0 documentation.
|
KBCategory: kbprg kbdocerr kbdocfix
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |