The MASM Forum Archive 2004 to 2012

Miscellaneous Forums => The Orphanage => Topic started by: skywalker on March 14, 2006, 11:46:56 AM

Title: API
Post by: skywalker on March 14, 2006, 11:46:56 AM
I am trying to figure out what this tells me. Is it telling what OS use the particular API that it references?

Like it'll work on Win95 -> WinXP
Is the header file useful just for those using C ?

What does Win32 mean when it has a NO there.

WinExec   
Windows NT   Yes
Win95   Yes
Win32s   Yes
Import Library   kernel32.lib
Header File   winbase.h
Unicode   No
Platform Notes   None

Title: Re: API
Post by: donkey on March 14, 2006, 12:52:39 PM
It does not have Win32, it has Win32s. That was a version of Windows developped for the transition from 16 to 32 bit machines (ie IBMAT) that would allow you to emulate the 32 bit API on a 16 bit machine. All in all a useless no starter that you can ignore and that isn't included in any API references that were written after 1995. You should download the platform SDK, it contains the most up to date reference.

PSDK free download (http://www.microsoft.com/downloads/details.aspx?familyid=EBA0128F-A770-45F1-86F3-7AB010B398A3&displaylang=en)
Title: Re: API
Post by: asmfan on March 14, 2006, 01:26:19 PM
due to my Win32.hlp & MSDN (april 2000)
WinExec is supported since Windows 3.1 (Win32s - by Win32.hlp) or Windows 95(by MSDN) and due to compatibility is supported till now (NT kernel). it only supports ANSI strings NOT unicode ones. It (function) reside in kernel32.dll and parameters meaning is declared in winbase.h
Title: Re: API
Post by: skywalker on March 14, 2006, 08:43:25 PM
Quote from: asmfan on March 14, 2006, 01:26:19 PM
due to my Win32.hlp & MSDN (april 2000)
WinExec is supported since Windows 3.1 (Win32s - by Win32.hlp) or Windows 95(by MSDN) and due to compatibility is supported till now (NT kernel). it only supports ANSI strings NOT unicode ones. It (function) reside in kernel32.dll and parameters meaning is declared in winbase.h

Thanks for the info.

I have a computer with a C: and D: drive. D: has a restore partition on it in FAT 32 with
NTFS on the C: drive. My question is, is it one physical drive partitioned into 2 parts ?
And I guess how can you tell.



Title: Re: API
Post by: asmfan on March 14, 2006, 09:09:28 PM
the answer is simple - take a look inside your case;) if there are 2 HDDs you know what it means:)
Title: Re: API
Post by: Tedd on March 15, 2006, 12:33:33 PM
[login as admin]

Right-click(my computer) -> manage... -> disk management

This will show you all the partitions and which disks they are on.
Title: Re: API
Post by: skywalker on March 15, 2006, 01:26:25 PM
Quote from: Tedd on March 15, 2006, 12:33:33 PM
[login as admin]

Right-click(my computer) -> manage... -> disk management

This will show you all the partitions and which disks they are on.


Thanks.


"Live and do today, there may not be a tomorrow."