OSD_InjectClassNetDriver

OSD_InjectClassNetDriver()

Will install all net adapter drivers available from the C:\Drivers folder.

Arguments

No arguments provided.

Return Type

Boolean, TRUE if function completed successfully.

Remarks

This function is called from PreBootScript.wsf 

Example


Private Function IncludeScript(sScriptFile)
 '...
End Function

'Begin
  bStatus=True
  If bStatus Then bStatus=IncludeScript("customlib.cis")
  If bStatus Then bStatus=IncludeLibrary("Capalib.cin")
  If bStatus Then bStatus=IncludeLibrary("Osdlib.cin")
  If bStatus Then bStatus=Job_Start("WS","Script Name","1.0","ScriptName.log","INSTALL")
  If bStatus Then bStatus=OSD_Initialize()

  If bStatus then bStatus=OSD_InjectClassNetDriver()

  Job_End(bStatus)
'End main

See Also

IncludeScript function, OSD_IsServer