VOID CALLBACK InstallHinfSection( HWND hwnd, HINSTANCE ModuleHandle, PCTSTR CmdLineBuffer, INT nCmdShow );My problem is I cannot figure out how to pass my string to CmdLineBuffer.
I've tried passing it as a string and I cannot figure the whole pointers in Visual Basic thing out.
Can anyone help me with this?
Edit: Here is how I'm currently declaring this function (I think CmdLineBuffer is wrong):
' Note ModuleHandle should be Nothing and nCmdShow should be 0. Declare Auto Sub InstallHinfSection Lib "setupapi" Alias "InstallHinfSection" (ByVal hwnd As String, ByVal ModuleHandle As String, ByVal CmdLineBuffer As String, ByVal nCmdShow As Integer)



Help

Back to top









