Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetProcAddressByOrdinal (0.31 sec)

  1. src/cmd/vendor/golang.org/x/sys/windows/dll_windows.go

    // FindProcByOrdinal searches DLL d for procedure by ordinal and returns *Proc
    // if found. It returns an error if search fails.
    func (d *DLL) FindProcByOrdinal(ordinal uintptr) (proc *Proc, err error) {
    	a, e := GetProcAddressByOrdinal(d.Handle, ordinal)
    	name := "#" + itoa(int(ordinal))
    	if e != nil {
    		return nil, &DLLError{
    			Err:     e,
    			ObjName: name,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Dec 05 12:36:42 UTC 2020
    - 12K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    // It is a pseudo handle that does not need to be closed.
    func CurrentThread() Handle { return Handle(^uintptr(2 - 1)) }
    
    // GetProcAddressByOrdinal retrieves the address of the exported
    // function from module by ordinal.
    func GetProcAddressByOrdinal(module Handle, ordinal uintptr) (proc uintptr, err error) {
    	r0, _, e1 := syscall.Syscall(procGetProcAddress.Addr(), 2, uintptr(module), ordinal, 0)
    	proc = uintptr(r0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
Back to top