    .386p

    .XLIST
    INCLUDE VMM.INC

Declare_Virtual_Device WQGHLT, 1, 0, Ctrl, Undefined_Device_ID, , ,

VxD_ICODE_SEG

BeginProc Init
    mov      esi, OFFSET32 Handle
    VMMCall  Call_When_Idle
    clc
    ret
EndProc Init

VxD_ICODE_ENDS


VxD_LOCKED_CODE_SEG

BeginProc Ctrl
    clc
    Control_Dispatch Sys_Critical_Init, Init
    ret
EndProc Ctrl

BeginProc Handle
    hlt
    or     [ebp.Client_Flags], CF_Mask
    ret
EndProc Handle


VxD_LOCKED_CODE_ENDS


    END
