src/jdk.packager/windows/native/launcher/WinLauncher.cpp
branchJDK-8200758-branch
changeset 56957 2f01969ed7cb
parent 56854 aedce3eaaf17
child 56982 e094d5483bd6
equal deleted inserted replaced
56949:b06759b804fc 56957:2f01969ed7cb
    46         result = result.substr(slash + 1, result.size() - slash - 1);
    46         result = result.substr(slash + 1, result.size() - slash - 1);
    47 
    47 
    48     return result;
    48     return result;
    49 }
    49 }
    50 
    50 
       
    51 #ifdef LAUNCHERC
       
    52 int main(int argc0, char *argv0[]) {
       
    53 #else // LAUNCHERC
    51 int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
    54 int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
    52                        LPTSTR lpCmdLine, int nCmdShow) {
    55                        LPTSTR lpCmdLine, int nCmdShow) {
       
    56 #endif // LAUNCHERC
    53     int result = 1;
    57     int result = 1;
    54     TCHAR **argv;
    58     TCHAR **argv;
    55     int argc;
    59     int argc;
    56 
    60 
    57     // [RT-31061] otherwise UI can be left in back of other windows.
    61     // [RT-31061] otherwise UI can be left in back of other windows.