Sample Code
Windows Driver Samples/ Async Notification Sample/ C++/ client/ client.hpp/
// // Windows Server (Printing) Driver Development Kit Samples. // // Sample Print Provider template. // // Copyright (c) 1990 - 2005 Microsoft Corporation. // All Rights Reserved. // // // This source code is intended only as a supplement to Microsoft // Development Tools and/or on-line documentation. See these other // materials for detailed information regarding Microsoft code samples. // // THIS CODE AND INFORMATION ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY // KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE // IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A // PARTICULAR PURPOSE. // #ifndef _CLIENT_HPP #define _CLIENT_HPP struct CmdLineArgs { PCWSTR pszName; }; EXTERN_C HRESULT _cdecl _tmain( _In_ INT argc, _In_reads_(argc) LPTSTR* argv ); HRESULT ValidateArgs( _In_ CmdLineArgs* pArgs ); HRESULT ExecuteSample( _In_ CmdLineArgs* pArgs ); HRESULT ExecuteSample2( _In_ CmdLineArgs* pArgs ); HRESULT ParseCommandLine( _In_ UINT argc, _In_reads_(argc) LPTSTR* argv, _In_ CmdLineArgs* pArgs ); VOID Usage( VOID ); #endif
Our Services
-
What our customers say about us?
Read our customer testimonials to find out why our clients keep returning for their projects.
View Testimonials