VirtualBox

Changes between Initial Version and Version 1 of Ticket #9078


Ignore:
Timestamp:
Jun 15, 2011 1:24:01 PM (13 years ago)
Author:
Frank Mehnert
Comment:

That's definitely not a blocker. It is even not clear if this is a bug in VirtualBox at all as this could be also due to a different networking configuration.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9078

    • Property Priority blockerminor
  • Ticket #9078 – Description

    initial v1  
    11The following code gives
    2 
    3 - 1707 under Virtual Box (OS=Windows Server 2008 R2 x64)
    4 
    5 - 53 on a real Windows Server 7 x64 (Host)
     2 - 1707 under Virtual Box (OS=Windows Server 2008 R2 x64)
     3 - 53 on a real Windows Server 7 x64 (Host)
    64
    75when the server name provided does not exist.
    86
    9 ---
    10 
     7{{{
    118#include "stdafx.h"
    12 
    139#include <windows.h>
    14 
    1510#include <lm.h>
    1611
    17 
    1812int _tmain(int argc, _TCHAR* argv[])
    19 
    2013{
    21 
    22         NET_API_STATUS nStatus;
    23 
    24         SERVER_INFO_101 Buf;
    25 
    26         nStatus = NetServerGetInfo ( L"UNKNOWNSERVER", 101, (LPBYTE *)&Buf );
    27 
    28         printf ( "%d\n", nStatus );
    29 
    30         return 0;
     14    NET_API_STATUS nStatus;
     15    SERVER_INFO_101 Buf;
     16    nStatus = NetServerGetInfo ( L"UNKNOWNSERVER", 101, (LPBYTE *)&Buf );
     17    printf ( "%d\n", nStatus );
     18    return 0;
    3119}

© 2023 Oracle
ContactPrivacy policyTerms of Use