title image


Smiley Re: Deklaration von "sendaspi32command" in "wnaspi32.dll" unter vbasic?????
typedef struct { BYTE SRB_Cmd; // ASPI command code BYTE SRB_Status; // ASPI command status byte BYTE SRB_HaId; // ASPI host adapter number BYTE SRB_Flags; // ASPI request flags DWORD SRB_Hdr_Rsvd; // Reserved, MUST = 0} SRB_Header;Ergibt:Type SRB_Header    SRB_Cmd As Byte    SRB_Status As Byte    SRB_Hald As Byte    SRB_Flags As Byte    SRB_Hdr_Rsvd As LongEnd TypePrototype: DWORD SendASPI32Command(LPSRB) Ergibt:Declare Function SendASPI32Command Lib "wnaspi32.dll" (lpSrbHeader As SRB_Header) As Long//***************************************************************************// %%% ASPI Command Definitions %%%//***************************************************************************#define SC_HA_INQUIRY 0x00 // Host adapter inquiry#define SC_GET_DEV_TYPE 0x01 // Get device type#define SC_EXEC_SCSI_CMD 0x02 // Execute SCSI command#define SC_ABORT_SRB 0x03 // Abort an SRB#define SC_RESET_DEV 0x04 // SCSI bus device reset#define SC_GET_DISK_INFO 0x06 // Get Disk informationErgibt:Const SC_HA_INQUIRY = &H0%Const SC_GET_DEV_DEV_TYPE = &H1%Const SC_EXEC_SCSI_CMD = &H2%Const SC_ABORT_SRB = &H3%Const SC_RESET_DEV = &H4%Const SC_GET_DISK_INFO = &H6%Viel Erfolg!Thomas Prötzschcu
Thomas Prötzsch

geschrieben von

Login

E-Mail:
  

Passwort:
  

Beitrag anfügen

Symbol:
 
 
 
 
 
 
 
 
 
 
 
 
 

Überschrift: